Date: Thu, 25 Feb 1999 10:24:52 +0100 From: HERBELOT Thierry <Thierry.Herbelot@alcatel.fr> To: Hamish <buckaroo@ecn.net.au> Cc: questions@FreeBSD.ORG Subject: Re: More PPP arcana Message-ID: <36D516E4.9D38DFF1@telspace.alcatel.fr> References: <19990225084725.B1E3914D49@hub.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
PPP in 2.2.6-Release is buggy (or was it in 2.2.5-R ?) You should upgrade to a later release and try again (I don't have the URL on hand, but you sould find it by scanning the mail archives for posts from Brian Somers <brian@Awfulhak.org>, the official PPP maintainer - it must be www.awfulhak.org) TfH Hamish wrote: > > Hi everyone, > > I am still having problems with ppp using FreeBSD 2.2.6, was hoping someone > might be able to point out my mistake(s)... > > In a nutshell, I can get interactive ppp working fine, but getting it to run > via scripts just isn't happening. Here's what works (interactive). > > su-2.01# ppp -alias > Working in interactive mode > Using interface: tun0 > ppp ON cave> set authname auth > ppp ON cave> set authkey pass > ppp ON cave> set timeout 0 > ppp ON cave> term > deflink: Entering terminal mode on /dev/cuaa0 > Type `~?' for help > atdt32225056 > CONNECT 57600 > > Packet mode detected. > > PPP ON cave> > PPP ON cave> delete ALL > PPP ON cave> add default HISADDR > > The above gets the connection, everything. Every time. > > Now, the following DOESN'T work... being the contents of my /etc/ppp/ppp.conf: > > default: > set device /dev/cuaa0 > set speed 57600 > set dial "ATDT32225056" > set redial 60 > set reconnect 60 4 > > background: > set authname auth > set authkey pass > set phone "32225056" > set timeout 0 > delete ALL > add 0 0 HISADDR > > I have tried lots of other variants on the dial string as well, most of them > cut and pasted from various doco, with minimal changes. Some make the lights on > the modem change, but none actually dial. I reduced the dial string to the one > above in an attempt to simplify the problem. > > I use > su-2.01# ppp -alias -background > to run it, and this is a typical excerpt from /var/log/ppp.log for a connect: > > Feb 24 18:58:41 cave ppp[5596]: Phase: Using interface: tun0 > Feb 24 18:58:41 cave ppp[5596]: Phase: deflink: Created in closed state > Feb 24 18:58:41 cave ppp[5597]: Phase: PPP Started (background mode). > Feb 24 18:58:41 cave ppp[5597]: Phase: bundle: Establish > Feb 24 18:58:41 cave ppp[5597]: Phase: deflink: closed -> opening > Feb 24 18:58:41 cave ppp[5597]: Phase: deflink: Connected! > Feb 24 18:58:41 cave ppp[5597]: Phase: deflink: opening -> dial > Feb 24 18:58:55 cave ppp[5597]: Warning: Chat script failed > Feb 24 18:58:55 cave ppp[5597]: Phase: deflink: dial -> hangup > Feb 24 18:58:55 cave ppp[5597]: Phase: deflink: Disconnected! > Feb 24 18:58:55 cave ppp[5597]: Phase: deflink: Connect time: 14 secs: 0 octets > in, 0 octets out > Feb 24 18:58:55 cave ppp[5597]: Phase: total 0 bytes/sec, peak 0 bytes/sec on > Wed Feb 24 18:58:55 1999 > Feb 24 18:58:55 cave ppp[5597]: Phase: deflink: hangup -> closed > Feb 24 18:58:55 cave ppp[5597]: Phase: bundle: Dead > Feb 24 18:58:56 cave ppp[5597]: Phase: PPP Terminated (normal). > Feb 24 18:58:56 cave ppp[5597]: Phase: Parent notified of success. > Feb 24 18:58:56 cave ppp[5596]: Phase: Parent: Child failed (errdead). > > "Warning: Chat script failed" prolly means the chat script failed, but I am > having real trouble getting ANY chat scripts to work. I've also used (out of > /etc/ppp/ppp.conf.sample): > > set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK ATE1Q0 OK > \\dATDT\\T TIMEOUT 40 CONNECT" > > and a few reductions of that, but no luck. Doesn't even dial. > > Any help would be greatly appreciated, > Confused Hamish > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36D516E4.9D38DFF1>