
Hello, 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") had no effect (other than it not noticing the modem had hung up), nor did playing with the "close_delay" option of setserial. The serial ports on this machine come from a Dolphin twin serial PCI card (currently on clearance for $10 at DSE), if anyone is familar with them. Thanks, Jon

On Tue, Dec 09, 2003 at 09:46:46PM +1300, Jonathan Purvis wrote:
Hello,
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") had
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 name). 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! John McPherson
participants (2)
-
John R. McPherson
-
Jonathan Purvis