Comment 4 for bug 566812

Revision history for this message
Rocklobster (jhecker) wrote : Re: USB Modem wont connect after modem hangup

I am also having this problem with Ubuntu 10.04 and a Huawei E1762 modem. My provider likes to terminate the PPP session for no reason anywhere from 1 minute to 2 days after a connection eg:

Aug 31 08:25:30 myth pppd[2313]: LCP terminated by peer
Aug 31 08:25:30 myth pppd[2313]: Connect time 127.7 minutes.
Aug 31 08:25:30 myth pppd[2313]: Sent 2547370 bytes, received 16321521 bytes.
Aug 31 08:25:30 myth pppd[2313]: Modem hangup
Aug 31 08:25:30 myth pppd[2313]: Connection terminated.
Aug 31 08:25:31 myth pppd[2313]: Exit.

Doing a "sudo killall modem-manager" seems to kill the old process and somehow it automatically restarts - by which mechanism I don't know. After that I can manually restart the connection again using the network manager GUI. I'd love it if network-manager and modem-manager worked in concert to allow automatic reconnects, with an upper limit of reconnections if so desired.

I'll happily pass along more debug information if so required.