Article View: aus.computers.linux
Article #55590Re: ppp - chat script
From: Frank Crawford
Date: Mon, 09 Jun 1997 00:00
Date: Mon, 09 Jun 1997 00:00
29 lines
1653 bytes
1653 bytes
Charlie Brady (cbrady@ind.tansu.com.au) wrote: : On 6 Jun 1997, John Saunders wrote: : > Tim Dunn <tim@theWEBfiles.com.au> wrote: : > > I am trying to write a connection script that redials if the ABORT exits : > > with a "BUSY" signal. : > > I haven't been able to find an example of a script like this ... can : > > anyone point me in the right direction? : > : > I don't think that chat can handle this. You might try writing a dip : > script. : Chat by itself cannot do the redialing, but you can handle this using a : shell script instead of a single call to chat as your connect script. I wish I knew that before I wrote one. It depends on exactly what you are trying to do. If you just want to redial once on a busy signal you can ignore the BUSY signal and let it time out. I've attached an editted version of my script. However, if you need a more complicate script then, chat by itself isn't sufficient. ABORT NO\sDIALTONE '' ATZ OK ATDT91234567 CONNECT-\dATDT91234578-CONNECT '' ogin: me assword: mypassword You will see that there is no "ABORT BUSY". Frank
Technical Details
Message-ID:
<5ng5bp$jtn$1@atom.ansto.gov.au>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<tim-0606971321140001@192.168.2.2> <5n81fn$mu8@mailhub.scitec.com.au> <Pine.GSO.3.96.970606165848.14651y-100000@hawk.ind.tansu.com.au>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 102983,84e5d82b4787a862 X-Google-Attributes: gid102983,public From: frank@ansto.gov.au (Frank Crawford) Subject: Re: ppp - chat script Date: 1997/06/09 Message-ID: <5ng5bp$jtn$1@atom.ansto.gov.au> X-Deja-AN: 247199191 References: <tim-0606971321140001@192.168.2.2> <5n81fn$mu8@mailhub.scitec.com.au> <Pine.GSO.3.96.970606165848.14651y-100000@hawk.ind.tansu.com.au> Organization: Australian Nuclear Science and Technology Organisation Newsgroups: aus.computers.linux