Koozali.org: home of the SME Server

pppoe / pppd terminates unexpectedly

pwalter

pppoe / pppd terminates unexpectedly
« on: April 11, 2005, 11:52:22 PM »
All,

server: SME 6.01 upgraded with smeplus script

I have an intermittent problem with my pppoe adsl connection. After a few hours, the internet connection dies. The server log contains the following entries:
Code: [Select]

Apr 11 16:05:33 gateway pppd[1708]: No response to 2 echo-requests
Apr 11 16:05:33 gateway pppd[1708]: Serial link appears to be disconnected.
Apr 11 16:05:33 gateway pppd[1708]: sent [LCP TermReq id=0x2 "Peer not responding"]
Apr 11 16:05:36 gateway pppd[1708]: sent [LCP TermReq id=0x3 "Peer not responding"]
Apr 11 16:05:39 gateway pppd[1708]: Connection terminated.
Apr 11 16:05:39 gateway pppd[1708]: Connect time 218.6 minutes.
Apr 11 16:05:39 gateway pppd[1708]: Sent 7392886 bytes, received 19322886 bytes.
Apr 11 16:05:39 gateway pppd[1708]: Waiting for 2 child processes...
Apr 11 16:05:39 gateway pppd[1708]:   script /etc/ppp/ip-up, pid 1928
Apr 11 16:05:39 gateway pppd[1708]:   script /usr/sbin/pppoe -I eth1 -T 120 -U -m 1412, pid 1746
Apr 11 16:05:39 gateway kernel: divert: no divert_blk to free, ppp0 not ethernet
Apr 11 16:05:39 gateway pppoe[1746]: read (asyncReadFromPPP): Input/output error
Apr 11 16:05:39 gateway pppoe[1746]: Sent PADT
Apr 11 16:05:39 gateway pppd[1708]: Script /usr/sbin/pppoe -I eth1 -T 120 -U -m 1412 finished (pid 1746), status = 0x1
Apr 11 16:05:39 gateway /etc/hotplug/net.agent: NET unregister event not supported


Using ifconfig, eth1 (external network card interface) appears normal, but the ppp0 interface has disappeared! The only way to fix this seems to be to restart the server, at which point everything operates normally.

Can anyone shed light on what is happening here, what diagnostics I can use, or how to fix this?

Peter

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: pppoe / pppd terminates unexpectedly
« Reply #1 on: April 14, 2005, 03:04:08 AM »
Quote from: "pwalter"

Using ifconfig, eth1 (external network card interface) appears normal, but the ppp0 interface has disappeared!


Yeah, that'd be right. The pppd program terminated because the remote side stopped talking to it. A new pppoe/pppd will start up, but in the meantime there is no ppp0 device.

Quote

The only way to fix this seems to be to restart the server, at which point everything operates normally.


I guess there is a bug in your NIC or NIC driver. Comms to the DSL modem fails, and a reboot fixes it. Only thing I'd suggest to try is to remove and reload the NIC driver - but you'd only be able to do that while it wasn't in use.

pwalter

pppoe / pppd terminates unexpectedly
« Reply #2 on: April 14, 2005, 03:13:05 AM »
Charlie,

Thanks for responding. I fixed it - sort of; I wiped the machine and spent all night reloading SME 6.01. The problem has not recurred, so I suspect that something was corrupted somewhere - perhaps the NIC driver, although I am using the same one now! One notable difference I noticed is that, before, the "ethernet active" light on the NIC and on the ADSL modem would only come on after pppd was started on bootup - now it comes on more or less immediately as SME boots, so maybe there were problems loading the NIC driver.

Peter