Hello list, I have an Alcatel ADSL PPPOE modem connected to eth0 with a persistent connection. Sometimes when the line drops the system is unable to reconnect back again. Looks like the modem is lock somehow. Do you know any method to reset the modem after disconnection? I've been 2 weeks around this trouble and found no solution... I'm getting desperate :-( In the log files I get something like that when it is unable to reconnect: Apr 21 22:37:36 gregg pppd[1099]: No response to 2 echo-requests Apr 21 22:37:36 gregg pppd[1099]: Serial link appears to be disconnected. Apr 21 22:37:36 gregg pppd[1099]: cbcp_lowerdown Apr 21 22:37:36 gregg pppd[1099]: Script /etc/ppp/ip-down started (pid 21141) Apr 21 22:37:36 gregg pppd[1099]: Couldn't increase MTU to 1500. Apr 21 22:37:36 gregg pppd[1099]: Couldn't increase MRU to 1500 Apr 21 22:37:36 gregg pppd[1099]: sent [LCP TermReq id=0x1d "Peer not responding"] Apr 21 22:37:38 gregg pppd[1099]: sent [LCP TermReq id=0x1e "Peer not responding"] Apr 21 22:37:40 gregg pppd[1099]: Connection terminated. Apr 21 22:37:40 gregg pppd[1099]: Connect time 264.1 minutes. Apr 21 22:37:40 gregg pppd[1099]: Sent 3126157 bytes, received 106605904 bytes. Apr 21 22:37:40 gregg pppd[1099]: Doing disconnect Apr 21 22:37:43 gregg pppd[1099]: Script /etc/ppp/ip-down finished (pid 21141), status = 0x0 (...) Apr 21 22:37:50 gregg pppd[1099]: Sending PADI (...) Apr 21 23:11:56 gregg pppd[1099]: Connecting PPPoE socket: 00:02:b9:ae:ab:07 0000 eth0 0x80870c0 Apr 21 23:11:56 gregg pppd[1099]: Couldn't get channel number: Transport endpoint is not connected Apr 21 23:11:56 gregg pppd[1099]: Doing disconnect Apr 21 23:12:06 gregg pppd[1099]: Sending PADI Apr 22 00:20:28 gregg pppd[1099]: Connecting PPPoE socket: 00:02:b9:ae:ab:07 0000 eth0 0x80870c0 Pep Serrano, Cheers.
Still trying... I am going to test writting a small script in /etc/ppp/ip-down.local in the hope it does some resetting: #!/bin/sh rcsmpppd stop # I could see sometimes stopping smpppd # leaves the pppd running, just in case kill it killproc /usr/sbin/pppd ifconfig eth0 down sleep 5 ifconfig eth0 up rcsmpppd start Any comments? On Saturday 27 April 2002 16:35, Pep Serrano wrote:
Hello list,
I have an Alcatel ADSL PPPOE modem connected to eth0 with a persistent connection. Sometimes when the line drops the system is unable to reconnect back again. Looks like the modem is lock somehow.
Do you know any method to reset the modem after disconnection?
participants (1)
-
Pep Serrano