On Tue, Dec 09, 2003 at 09:46:46PM +1300, Jonathan Purvis wrote:
I have a problem with chat and/or pppd. Run via "pon" on Debian 3.0, pppd
dials ok and then hangs up just after making the connection. If i change
the authentication from PAP to Chat, then it hangs up after logging in.
If i dial up with minicom, login manually and then run
"pppd /dev/modem noauth defaultroute", everything is fine. This suggests
that the hangup is occuring during the handover from chat to pppd.
Swapping the Dynalink 56k modem i was using for my trusty battery powered
14k4 which has the DTR line control the power revealed that pppd was
dropping the DTR line, causing the modem to hang up. So how do i stop it
doing this? Setting the "local" option on pppd (instead of "modem")
since your manual command line "pppd /dev/modem noauth defaultroute"
worked, perhaps it's one of those settings. Check /etc/ppp/options.tty*
as the default options may be different if pon is using /dev/ttyS0 instead
of /dev/modem (I assume it uses the option files based on the device
Another gotcha I found with debian's ppp (although maybe not relevant
to your case) is that by default, it has "auth" which means that it tries
to make the isp's dial-in server authenticate first!