I can confirm that pppd remains resident, and does not release locks in Unstable.

This behaviour is NOT present when pppd is not set to persist.

ii  ppp            2.4.3-20050321 Point-to-Point Protocol (PPP) daemon

On Kernel 2.4.23, if it makes any difference...

Extract from /var/log/syslog:

Apr 18 02:32:33 saturn pppd[12995]: Connection terminated.
Apr 18 02:32:33 saturn pppd[12995]: tcflush failed: Bad file descriptor
Apr 18 02:32:33 saturn pppd[12995]: Modem hangup
Apr 18 02:32:33 saturn /etc/hotplug/net.agent: invoke ifdown ppp0
Apr 18 02:32:43 saturn pppd[12995]: tcsetattr: Invalid argument (line 964)
Apr 18 02:32:43 saturn pppd[12995]: Exit.

A quick-and-very(very)-dirty fix I've been using for the last month:
Add this to your crontab:
if [ ! -e /var/run/ppp0.pid ]; then /usr/bin/pon; fi

Not the nicest solution, and probably prone to race conditions in some circumstances, but at least it works... I'm using this on a connection that *must* stay up...

Cheers,
Peter Dey



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Reply via email to