Howdy, I'm on dialup using pppd and loosing the connection often in the middle of fetching mail or loading some URL in the browser. I'm hoping for suggestions to help me debug the problem.
root@/deb60:~> grep -v '^\s*$\|^#' /etc/ppp/options asyncmap 0 auth crtscts lock hide-password modem debug lcp-echo-interval 30 lcp-echo-failure 4 noipx My logs show this when I close the connection with 'poff': Sep 16 08:56:01 playground pppd[13474]: Script /etc/ppp/ip-down started (pid 13504) Sep 16 08:56:01 playground pppd[13474]: sent [LCP TermReq id=0x2 "User request"] Sep 16 08:56:01 playground pppd[13474]: Script /etc/ppp/ip-down finished (pid 13504), status = 0x0 Sep 16 08:56:01 playground pppd[13474]: rcvd [LCP TermAck id=0x2] Often I see this: Sep 16 14:07:23 playground pppd[1762]: Script /etc/ppp/ip-up started (pid 1773) Sep 16 14:07:23 playground pppd[1762]: Script /etc/ppp/ip-up finished (pid 1773), status = 0x0 Sep 16 14:12:52 playground pppd[1762]: Script /etc/ppp/ip-down started (pid 1955) Sep 16 14:12:52 playground pppd[1762]: sent [LCP TermReq id=0x2 "Peer not responding"] Sep 16 14:12:53 playground pppd[1762]: Script /etc/ppp/ip-down finished (pid 1955), status = 0x0 I also see this: Sep 20 07:21:36 playground pppd[24179]: Script /etc/ppp/ip-up started (pid 24185) Sep 20 07:21:36 playground pppd[24179]: Script /etc/ppp/ip-up finished (pid 24185), status = 0x0 Sep 20 07:23:56 playground pppd[24179]: Script /etc/ppp/ip-down started (pid 24208) Sep 20 07:23:58 playground pppd[24179]: Script /etc/ppp/ip-down finished (pid 24208), status = 0x0 Here I should think there would be a longer wait if there were a timeout for lack of response. Sep 20 09:22:55 playground pppd[24397]: sent [LCP EchoReq id=0x3 magic=0xfc0294d0] Sep 20 09:22:55 playground pppd[24397]: rcvd [LCP EchoRep id=0x3 magic=0x0] Sep 20 09:23:25 playground pppd[24397]: sent [LCP EchoReq id=0x4 magic=0xfc0294d0] Sep 20 09:23:50 playground pppd[24397]: Script /etc/ppp/ip-down started (pid 24416) Sep 20 09:23:52 playground pppd[24397]: Script /etc/ppp/ip-down finished (pid 24416), status = 0x0 Again I expect ip-down came before the timeout: Sep 20 09:22:55 playground pppd[24397]: rcvd [LCP EchoRep id=0x3 magic=0x0] Sep 20 09:23:25 playground pppd[24397]: sent [LCP EchoReq id=0x4 magic=0xfc0294d0] Sep 20 09:23:50 playground pppd[24397]: Script /etc/ppp/ip-down started (pid 24416) Sep 20 09:23:52 playground pppd[24397]: Script /etc/ppp/ip-down finished (pid 24416), status = 0x0 I can see that sometimes my ISP seems to go to sleep but other times it appears to be some other problem and I just don't know how to gather the data to make an informed diagnosis. Any suggestions on how to track pppd's shutdown with greater resolution will be appreciated. Thanks; Mike -- Satisfied user of Linux since 1997. O< ascii ribbon campaign - stop html mail - www.asciiribbon.org -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120920202133.GA24662@playground