[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

pppd mulfunction ???



Please help.

First I should mention that I'm using 2.2.19 version of kernel. Use pon
command to dial out. 

I have problems with pppd daemon configured in /etc/ppp/options as follows

asyncmap 0
crtscts
lock
modem
netmask 255.255.255.0
noipdefault
-vj
lcp-echo-interval 30	<----  1) disabled still produce 10 second EchoReq
			it is actualy received not sent.
lcp-echo-failure 4	       2) But following excerpt from log file shows
			that bouth 10 sec and 30 sec intervals are active
			
noipx
idle 3600		<---- thou set to 1 hour always cuts conection usualy
			15 to 30 minutes after start of it despite active
			conection. 

If I'm using Lynx and on second tty line getting my mail run, run is
disconected in middle of it and has to be repeated.

Apr 24 07:34:07   pppd[15208]: rcvd [LCP EchoReq id=0xc0
Apr 24 07:34:07   pppd[15208]: sent [LCP EchoRep id=0xc0
Apr 24 07:34:10   pppd[15208]: sent [LCP EchoReq id=0x40
Apr 24 07:34:10   pppd[15208]: rcvd [LCP EchoRep id=0x40 magic=0x90baba83]
Apr 24 07:34:17   pppd[15208]: rcvd [LCP EchoReq id=0xc1 magic=0x90baba83
 78 00 18 04]
Apr 24 07:34:17   pppd[15208]: sent [LCP EchoRep id=0xc1 magic=0xe904ecb8
 15 03 2f 08]
Apr 24 07:34:27   pppd[15208]: rcvd [LCP EchoReq id=0xc2 magic=0x90baba83
 78 00 18 04]
Apr 24 07:34:27   pppd[15208]: sent [LCP EchoRep id=0xc2 magic=0xe904ecb8
 15 03 2f 08]
Apr 24 07:34:37   pppd[15208]: rcvd [LCP EchoReq id=0xc3 magic=0x90baba83
 78 00 18 04]
Apr 24 07:34:37   pppd[15208]: sent [LCP EchoRep id=0xc3 magic=0xe904ecb8
 15 03 2f 08]
Apr 24 07:34:40   pppd[15208]: sent [LCP EchoReq id=0x41 magic=0xe904ecb8]
Apr 24 07:34:40   pppd[15208]: rcvd [LCP EchoRep id=0x41 magic=0x90baba83]
Apr 24 07:34:47   pppd[15208]: rcvd [LCP EchoReq id=0xc4 magic=0x90baba83
 78 00 18 04]
Apr 24 07:34:47   pppd[15208]: sent [LCP EchoRep id=0xc4 magic=0xe904ecb8
 15 03 2f 08]
Apr 24 07:34:57   pppd[15208]: rcvd [LCP EchoReq id=0xc5 magic=0x90baba83
 78 00 18 04]
Apr 24 07:34:57   pppd[15208]: sent [LCP EchoRep id=0xc5 magic=0xe904ecb8
 15 03 2f 08]
Apr 24 07:35:07   pppd[15208]: rcvd [LCP EchoReq id=0xc6 magic=0x90baba83
 78 00 18 04]
Apr 24 07:35:07   pppd[15208]: sent [LCP EchoRep id=0xc6 magic=0xe904ecb8
 15 03 2f 08]
Apr 24 07:35:10   pppd[15208]: sent [LCP EchoReq id=0x42 magic=0xe904ecb8]
Apr 24 07:35:10   pppd[15208]: rcvd [LCP EchoRep id=0x42 magic=0x90baba83]
Apr 24 07:35:17   pppd[15208]: rcvd [LCP EchoReq id=0xc7 magic=0x90baba83
 78 00 18 04]
Apr 24 07:35:17   pppd[15208]: sent [LCP EchoRep id=0xc7 magic=0xe904ecb8
 15 03 2f 08]
Apr 24 07:35:27   pppd[15208]: rcvd [LCP EchoReq id=0xc8 magic=0x90baba83
 78 00 18 04]
Apr 24 07:35:27   pppd[15208]: sent [LCP EchoRep id=0xc8 magic=0xe904ecb8
 15 03 2f 08]
Apr 24 07:35:37   pppd[15208]: rcvd [LCP EchoReq id=0xc9 magic=0x90baba83
 78 00 18 04]
Apr 24 07:35:37   pppd[15208]: sent [LCP EchoRep id=0xc9 magic=0xe904ecb8
 15 03 2f 08]
Apr 24 07:35:40   pppd[15208]: sent [LCP EchoReq id=0x43 magic=0xe904ecb8]
Apr 24 07:35:40   pppd[15208]: rcvd [LCP EchoRep id=0x43 magic=0x90baba83]
Apr 24 07:35:46   pppd[15208]: Terminating connection due to lack of activity.


Possible cause here is that I'm using Lynx which caches pages so that 
moving through them backwards actualy doesn't download new packets.
According to manual page conection inactive is considered as no
presence of data packets ie. IP packets. 


But why program count time from begining of conection and not last packet
received? To me idle 3600 means line was idle 1 hour, which it was not if
packets are sent and received. 


Loking on time data in above log echo is active at 47 57 07 17 27 37 ie. 10sec
interval.


Then there is another thread setup from config  lcp-echo-interval 30
above 10 and 40. Instead of reducing nonsense in my log it has increased.


Is there a way to dissable this reporting apart from modifying and 
recompiling sources?


Or is it bug which should be reported ? Anyone noticed this behavor or knows
cure?


As the only user I dont bother to setup user specific configuration ie. in 
user home directory but set up as root global ones to suit me as user. So
there is no possibility that /etc/ppp/options are somewhere overrided.
Still, I have checked and found none.  

Apr 24 07:35:46   pppd[15208]: Script /etc/ppp/ip-down started (pid 15410)
Apr 24 07:35:46   pppd[15208]: sent [LCP TermReq id=0x2 "Link inactive"]

                                                         ^^^^^^^^^^^^^^

Apr 24 07:35:47   pppd[15208]: rcvd [LCP TermAck id=0x2]
Apr 24 07:35:47   pppd[15208]: Connection terminated.
Apr 24 07:35:47   pppd[15208]: Connect time 22.8 minutes.
Apr 24 07:35:47   pppd[15208]: Sent 96107 bytes, received 1202214 bytes.
Apr 24 07:35:48   pppd[15208]: Waiting for 1 child processes...
Apr 24 07:35:48   pppd[15208]:   script /etc/ppp/ip-down, pid 15410
Apr 24 07:36:21   pppd[15208]: Script /etc/ppp/ip-down finished (pid 15410),
status = 0x100
Apr 24 07:36:21   pppd[15208]: Exit.


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: