Re: this is probably too easy
Are you certain that your chatscript is going far enough?
That is, are you certain that after sending PPP your ISP doesn't ask
for a username and password? (or do you perhaps need PPP in
lowercase?) This error looks like your ISP isn't responding to pppd
at all; this often happens when there's some other prompt your ISP
presents that you aren't taking care of with your chatscript.
Try dialing in manually with minicom, and do what's necessary to start
ppp far enough to get the ppp garbage that looks like
!}!}!} }8}"}&} } } } }#}
or similar. (or, at the very least get to the point where your ISP
isn't sending you anything, but is waiting for pppd on your machine to
send garbage like the above). Then, to make sure that you have indeed
manually connected properly, exit minicom without hanging up the modem
(Ctrl-A Q), and do:
/usr/sbin/pppd bsdcomp 15 crtscts mru 300 mtu 300 defaultroute
noipdefault /dev/modem 38400 modem noauth
(all on one line). (Instead of 38400, use the speed minicom was using
with your modem; if your provider uses PAP, include "user
<yourusername" at the end of the line). Hopefully you'll find an
error somewhere in your chatscript.
Jeremy Freeman <email@example.com> writes:
> i have been pulling my hair our over this one and it is something so
> simple you will laugh at me
> My PPP doesnt work
> now dont all roll your eyes let me explain
> my chat script works and my pppd works but when ever i try and open a
> link to my isp it all terminates and puts this error in my messages file
> Sep 16 00:10:09 localhost chat: Protocol:
> Sep 16 00:10:09 localhost chat: -- got it
> Sep 16 00:10:09 localhost chat: send (PPP^M)
> Sep 16 00:10:09 localhost pppd: Serial connection established.
> Sep 16 00:10:11 localhost kernel: PPP: version 2.2.0 (dynamic channel
> Sep 16 00:10:11 localhost kernel: PPP Dynamic channel allocation code
> copyright 1995 Caldera, Inc.
> Sep 16 00:10:11 localhost kernel: PPP line discipline registered.
> Sep 16 00:10:19 localhost kernel: registered device ppp0
> Sep 16 00:10:19 localhost pppd: Using interface ppp0
> Sep 16 00:10:19 localhost pppd: Connect: ppp0 <--> /dev/modem
> Sep 16 00:10:49 localhost pppd: LCP: timeout sending
> Sep 16 00:10:49 localhost pppd: Connection terminated.
> Sep 16 00:10:49 localhost pppd: Receive serial link is not 8-bit
> Sep 16 00:10:49 localhost pppd: Problem: all had bit 7 set to 0
> Sep 16 00:11:30 localhost pppd: Exit.
> Sep 16 00:13:10 localhost kernel: PPP: ppp line discipline
> successfully unregistered