On Mon, 16 Jul 2001, Joost Kooij wrote: > On Mon, Jul 16, 2001 at 11:45:16AM +0930, David Purton wrote: > > I'm looking for a way to get pppd to try for n times to connect to my > > isp before giving up. > > You need to write a chatscript that does that then.
mmm - I thought this might be the case - I justed wondered if pppd had an off the shelf method > > > The problem is that quite often, pppd dials, then noting happens for a > > little while then it stops - with a helpful "alarm" entered in the logs. > > The chatscript reached a timeout? > perhaps, how can I tell and or fix? > > I *think* this error corresponds to the isp not answering, but I'm not > > sure, since it doesn't the chat script is set to give a no answer error. > > In /etc/syslog.conf, there must be a line: > > local2.* -/var/log/ppp.log no probs here - the actual log entry is this: Jul 2 16:51:39 twoflower pppd[3938]: pppd 2.4.1 started by dcpurton, uid 1000 Jul 2 16:51:40 twoflower chat[3943]: abort on (BUSY) Jul 2 16:51:40 twoflower chat[3943]: abort on (NO CARRIER) Jul 2 16:51:40 twoflower chat[3943]: abort on (VOICE) Jul 2 16:51:40 twoflower chat[3943]: abort on (NO DIALTONE) Jul 2 16:51:40 twoflower chat[3943]: abort on (NO DIAL TONE) Jul 2 16:51:40 twoflower chat[3943]: abort on (NO ANSWER) Jul 2 16:51:40 twoflower chat[3943]: send (ATZ^M) Jul 2 16:51:40 twoflower chat[3943]: expect (OK) Jul 2 16:51:40 twoflower chat[3943]: ATZ^M^M Jul 2 16:51:40 twoflower chat[3943]: OK Jul 2 16:51:40 twoflower chat[3943]: -- got it Jul 2 16:51:40 twoflower chat[3943]: send (ATM0^M) Jul 2 16:51:40 twoflower chat[3943]: expect (OK) Jul 2 16:51:40 twoflower chat[3943]: ^M Jul 2 16:51:40 twoflower chat[3943]: ATM0^M^M Jul 2 16:51:40 twoflower chat[3943]: OK Jul 2 16:51:40 twoflower chat[3943]: -- got it Jul 2 16:51:40 twoflower chat[3943]: send (ATDT82744888^M) Jul 2 16:51:40 twoflower chat[3943]: expect (CONNECT) Jul 2 16:51:40 twoflower chat[3943]: ^M Jul 2 16:52:25 twoflower chat[3943]: alarm Jul 2 16:52:25 twoflower chat[3943]: Failed Jul 2 16:52:25 twoflower pppd[3938]: Connect script failed Jul 2 16:52:26 twoflower pppd[3938]: Exit. cheers dc -------------------------------------------------------- Today people in droves hurry up past Heumoz to Villars on the road to the ski hills, so they can rush down them as fast as possible, so they can hurry up again in order to rush down again. In a way this is funny,... Francis A Schaeffer David Purton http://www.chariot.net.au/~dcpurton/ [EMAIL PROTECTED]