Article View: aus.computers.linux
Article #55597Re: ppp - chat script
From: Chris Bitmead uid(x22068)
Date: Tue, 10 Jun 1997 00:00
Date: Tue, 10 Jun 1997 00:00
19 lines
1534 bytes
1534 bytes
Charlie Brady <cbrady@ind.tansu.com.au> writes: > 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. > > Write a loop which does the dial part of the connect. Look at the status > of chat which will tell you whether it was successful, or which abort > condition caused it to stop. Exit with an error status, repeat the loop, > or fall out the bottom if you connect successfully as appropriate. Just watch out you don't ring up an enormous phone bill by leaving it running. Normally this won't happen, but if the ISP (or you) has a problem which let's the modem answer without a proper connection you might end up with a big bill. A good idea is to progressively back off. If you don't connect after 1 minute, back off to 2, 4 8 16, 32 etc. Either that or check on it once in a while to make sure nothing funny is happening.
Technical Details
Message-ID:
<s6yd8puluj6.fsf@aalh02.alcatel.com.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: Chris.Bitmead@alcatel.com.au (Chris Bitmead uid(x22068)) Subject: Re: ppp - chat script Date: 1997/06/10 Message-ID: <s6yd8puluj6.fsf@aalh02.alcatel.com.au> X-Deja-AN: 247408065 Distribution: aus Sender: bitmeadc@aalh02.alcatel.com.au 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: Alcatel Australia Limited Newsgroups: aus.computers.linux