My employer's windows vpn server, from time to time, times out my connection after a period of being idle. When that happens pppd disconnects but network-manager nor nm-applet reflect this change. As far as they are concerned the connection is still alive.
The following is all that I find in my /var/log/messages file when this happens:
Dec 21 05:37:49 bordet pppd[26785]: Modem hangup
Dec 21 05:37:49 bordet pppd[26785]: Connect time 702.1 minutes.
Dec 21 05:37:49 bordet pppd[26785]: Sent 3265062 bytes, received 27698473 bytes.
Dec 21 05:37:49 bordet pppd[26785]: Connection terminated.
Dec 21 05:37:49 bordet pppd[26785]: Exit.
the following is from /var/log/debug
Dec 21 05:37:49 bordet pppd[26785]: Script /etc/ppp/ip-down started (pid 13322)
Dec 21 05:37:49 bordet pppd[26785]: sent [LCP TermReq id=0x2 "MPPE disabled"]
Dec 21 05:37:49 bordet pppd[26785]: Script /usr/sbin/pptp xx.xx.xx.xx --nolaunchpppd finished (pid 26786), status = 0x0
Dec 21 05:37:49 bordet pppd[26785]: Script /etc/ppp/ip-down finished (pid 13322), status = 0x0
this from /var/log/daemon.log
Dec 21 05:36:39 bordet pptp[26787]: anon log[decaps_gre:pptp_gre.c:407]: buffering packet 30289 (expecting 30288, lost or reordered)
Dec 21 05:37:49 bordet pptp[26792]: anon log[pptp_handle_timer:pptp_ctrl.c:1049]: closing control connection due to missing echo reply
Dec 21 05:37:49 bordet pptp[26792]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 'Call-Clear-Request'
Dec 21 05:37:49 bordet pptp[26792]: anon log[pptp_conn_close:pptp_ctrl.c:430]: Closing PPTP connection
Dec 21 05:37:49 bordet pptp[26792]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 3 'Stop-Control-Connection-Request'
Dec 21 05:37:49 bordet pppd[26785]: Connect time 702.1 minutes.
Dec 21 05:37:49 bordet pppd[26785]: Sent 3265062 bytes, received 27698473 bytes.
Dec 21 05:37:49 bordet pppd[26785]: Script /etc/ppp/ip-down started (pid 13322)
Dec 21 05:37:49 bordet pppd[26785]: MPPE disabled
Dec 21 05:37:49 bordet pppd[26785]: sent [LCP TermReq id=0x2 "MPPE disabled"]
Dec 21 05:37:49 bordet pppd[26785]: Connection terminated.
Dec 21 05:37:49 bordet pppd[26785]: Script /usr/sbin/pptp xx.xx.xx.xx --nolaunchpppd finished (pid 26786), status = 0x0
Dec 21 05:37:49 bordet pppd[26785]: Script /etc/ppp/ip-down finished (pid 13322), status = 0x0
Dec 21 05:37:49 bordet pppd[26785]: Exit.
I hope that my log excerpts are helpful. Either way it would be way cool and reliable feeling if the nm-applet reflected the fact that my vpn connection has given up the ghost.
Binary package hint: network- manager- pptp
My employer's windows vpn server, from time to time, times out my connection after a period of being idle. When that happens pppd disconnects but network-manager nor nm-applet reflect this change. As far as they are concerned the connection is still alive.
The following is all that I find in my /var/log/messages file when this happens:
Dec 21 05:37:49 bordet pppd[26785]: Modem hangup
Dec 21 05:37:49 bordet pppd[26785]: Connect time 702.1 minutes.
Dec 21 05:37:49 bordet pppd[26785]: Sent 3265062 bytes, received 27698473 bytes.
Dec 21 05:37:49 bordet pppd[26785]: Connection terminated.
Dec 21 05:37:49 bordet pppd[26785]: Exit.
the following is from /var/log/debug
Dec 21 05:37:49 bordet pppd[26785]: Script /etc/ppp/ip-down started (pid 13322)
Dec 21 05:37:49 bordet pppd[26785]: sent [LCP TermReq id=0x2 "MPPE disabled"]
Dec 21 05:37:49 bordet pppd[26785]: Script /usr/sbin/pptp xx.xx.xx.xx --nolaunchpppd finished (pid 26786), status = 0x0
Dec 21 05:37:49 bordet pppd[26785]: Script /etc/ppp/ip-down finished (pid 13322), status = 0x0
this from /var/log/daemon.log
Dec 21 05:36:39 bordet pptp[26787]: anon log[decaps_ gre:pptp_ gre.c:407] : buffering packet 30289 (expecting 30288, lost or reordered)
Dec 21 05:37:49 bordet pptp[26792]: anon log[pptp_ handle_ timer:pptp_ ctrl.c: 1049]: closing control connection due to missing echo reply
Dec 21 05:37:49 bordet pptp[26792]: anon log[ctrlp_ rep:pptp_ ctrl.c: 251]: Sent control packet type is 12 'Call-Clear- Request'
Dec 21 05:37:49 bordet pptp[26792]: anon log[pptp_ conn_close: pptp_ctrl. c:430]: Closing PPTP connection
Dec 21 05:37:49 bordet pptp[26792]: anon log[ctrlp_ rep:pptp_ ctrl.c: 251]: Sent control packet type is 3 'Stop-Control- Connection- Request'
Dec 21 05:37:49 bordet pptp[26792]: anon log[call_ callback: pptp_callmgr. c:78]: Closing connection (call state)
from /var/log/syslog
Dec 21 05:36:39 bordet pptp[26787]: anon log[decaps_ gre:pptp_ gre.c:407] : buffering packet 30289 (expecting 30288, lost or reordered)
Dec 21 05:37:49 bordet pptp[26792]: anon log[pptp_ handle_ timer:pptp_ ctrl.c: 1049]: closing control connection due to missing echo reply
Dec 21 05:37:49 bordet pptp[26792]: anon log[ctrlp_ rep:pptp_ ctrl.c: 251]: Sent control packet type is 12 'Call-Clear- Request'
Dec 21 05:37:49 bordet pptp[26792]: anon log[pptp_ conn_close: pptp_ctrl. c:430]: Closing PPTP connection
Dec 21 05:37:49 bordet pptp[26792]: anon log[ctrlp_ rep:pptp_ ctrl.c: 251]: Sent control packet type is 3 'Stop-Control- Connection- Request'
Dec 21 05:37:49 bordet pptp[26792]: anon log[call_ callback: pptp_callmgr. c:78]: Closing connection (call state)
Dec 21 05:37:49 bordet pppd[26785]: Modem hangup
Dec 21 05:37:49 bordet pppd[26785]: Connect time 702.1 minutes.
Dec 21 05:37:49 bordet pppd[26785]: Sent 3265062 bytes, received 27698473 bytes.
Dec 21 05:37:49 bordet pppd[26785]: Script /etc/ppp/ip-down started (pid 13322)
Dec 21 05:37:49 bordet pppd[26785]: MPPE disabled
Dec 21 05:37:49 bordet pppd[26785]: sent [LCP TermReq id=0x2 "MPPE disabled"]
Dec 21 05:37:49 bordet pppd[26785]: Connection terminated.
Dec 21 05:37:49 bordet pppd[26785]: Script /usr/sbin/pptp xx.xx.xx.xx --nolaunchpppd finished (pid 26786), status = 0x0
Dec 21 05:37:49 bordet pppd[26785]: Script /etc/ppp/ip-down finished (pid 13322), status = 0x0
Dec 21 05:37:49 bordet pppd[26785]: Exit.
I hope that my log excerpts are helpful. Either way it would be way cool and reliable feeling if the nm-applet reflected the fact that my vpn connection has given up the ghost.
Thanks,
David