I was reading personal mail from work when I noticed that someone else
was having problems with SIGHUPs during ppp sessions. I am convinced
that these represent being hung up upon by my ISP. My ISP swears up and
down that I am terminating the connection, and that the problem is that
I do not have a v.90 modem... I remain unconvinced; 9 of every 10
disconnections are from the remote end.
Sometimes I can maintain a ppp connection for more than 12 hours, but
I've had the connection terminated in less than 1 minute, so this
problem is getting on toward making me think about a change ISPs. I'd
welcome expert (or other) opinion, in case I really do need to fix
something, so following are quotes from /var/log/messages -- I've left
debug on.
I interperet this as being hung up upon:
[...]
Apr 10 07:48:43 deepthought pppd[9736]: rcvd [LCP EchoReq id=0x1 f1 00
64 5a]
Apr 10 07:48:43 deepthought pppd[9736]: sent [LCP EchoRep id=0x1 1b 6d
2e ed]
Apr 10 07:49:02 deepthought pppd[9736]: Hangup (SIGHUP)
Apr 10 07:49:02 deepthought pppd[9736]: Modem hangup
Apr 10 07:49:02 deepthought pppd[9736]: Connection terminated.
Apr 10 07:49:02 deepthought pppd[9736]: Exit.
Apr 10 07:50:49 deepthought kernel: PPP: ppp line discipline
successfully unregistered
[...]
Here's an example of me terminating a ppp session by running my ppp-down
script.
[...]
Apr 8 21:10:45 deepthought pppd[6564]: sent [LCP EchoRep id=0x1 b1 b9
b5 75]
Apr 8 21:11:15 deepthought pppd[6564]: rcvd [LCP EchoReq id=0x1 fd e3
b0 12]
Apr 8 21:11:15 deepthought pppd[6564]: sent [LCP EchoRep id=0x1 b1 b9
b5 75]
Apr 8 21:11:46 deepthought pppd[6564]: rcvd [LCP TermReq id=0x1 03]
Apr 8 21:11:46 deepthought pppd[6564]: LCP terminated at peer's request
Apr 8 21:11:46 deepthought pppd[6564]: sent [LCP TermAck id=0x1]
Apr 8 21:11:47 deepthought pppd[6564]: rcvd [LCP TermReq id=0x2 03]
Apr 8 21:11:47 deepthought pppd[6564]: sent [LCP TermAck id=0x2]
Apr 8 21:11:49 deepthought pppd[6564]: Connection terminated.
Apr 8 21:11:49 deepthought pppd[6564]: Exit.
Apr 8 21:13:21 deepthought kernel: PPP: ppp line discipline
successfully unregistered
[...]
During any ppp session LPC EchoReq and LCP EchoRep are exchanged about
every 30 seconds. The final exchange of these Rep and Req sequences
before a remote hangup is *always* a sent LCP EchoRep that is not
responded to inside the usual 30 seconds or so.
Thanks for any ideas,
phil
--
Boettcher's Attribution:
If you have a bunch of clowns, you're going to have a circus.
--
To get out of this list, please send email to [EMAIL PROTECTED] with
this text in its body: unsubscribe suse-linux-e
Check out the SuSE-FAQ at http://www.suse.com/Support/Doku/FAQ/ and the
archive at http://www.suse.com/Mailinglists/suse-linux-e/index.html