The problem is that when a device switches from any state besides the
final CONNECTED state to the FAILED state, networkmanager marks the
connection as invalid to avoid it from reconnecting over and over.
However, this behavior is not sane when the connection type is mobile
broadband, as the intermediate states have no meaning, as they are not
informed by the modem. So the sane behavior is to let networkmanager
reconnect and let the user to unplug the modem or "disable mobile
broadband" if desired.

The attached patch was tested applied against network-manager
0.8.2-0ubuntu1~nmt2 from ppa:network-manager/ppa in maverick, and solved
the issue, allowing to reconnect without hacks after pppd hanged up, and
even to setup networkmanager to reconnect automatically (just set the
connection as automatic).

** Patch added: "lp566812_reconnect_if_modem.patch"
   
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/566812/+attachment/1871943/+files/lp566812_reconnect_if_modem.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/566812

Title:
  USB Modem wont connect after modem hangup

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to