I tried MM_06 but the problem is still there.
This is the patch that allows reconnecting:
==================================
diff --git a/src/mm-generic-gsm.c b/src/mm-generic-gsm.c
index cfd31a9..fa18f2c 100644
--- a/src/mm-generic-gsm.c
+++ b/src/mm-generic-gsm.c
@@ -3919,7 +3919,8 @@ disconnect_done (MMModem *modem,
return;
priv = MM_GENERIC_GSM_GET_PRIVATE (modem);
- if (error) {
+ /* PRU 2013.03.03: If the port is closed do not consider it as error */
+ if (error && error->code != MM_SERIAL_ERROR_NOT_OPEN) {
info->error = g_error_copy (error);
/* Reset old state since the operation failed */
prev_state = GPOINTER_TO_UINT (mm_callback_info_get_data (info,
MM_GENERIC_GSM_PREV_STATE_TAG));
==================================
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/438150
Title:
NetworkManager fails to reconnect 3G modem after disconnect -- Huawei
Status in “modemmanager” package in Ubuntu:
Invalid
Status in “network-manager” package in Ubuntu:
Invalid
Bug description:
Binary package hint: network-manager
Running latest Karmic updates (but this has been happening since I
first tested with alpha 6).
First connection to the network on my 3G USB modem works perfectly.
However, if I lose connection (if I'm moving and roam outside cell
coverage) then I lose connection but when I come back into coverage
(blue blinking light on modem indicates coverage) I am unable to
reconnect. Each time I select the network from the nm-applet I just
get the OSD notify that the GSM network disconnected. Unplugging and
re-plugging in my modem does not help. The only way to successfully
connect is by rebooting my laptop. Syslog shows the following:
Sep 28 07:36:24 spitfire-karmic NetworkManager: <info> (ttyUSB0): device
state change: 8 -> 9 (reason 13)
Sep 28 07:36:24 spitfire-karmic NetworkManager: <info> Activation (ttyUSB0)
failed.
Sep 28 07:36:24 spitfire-karmic NetworkManager: <info> (ttyUSB0): device
state change: 9 -> 3 (reason 0)
Sep 28 07:36:24 spitfire-karmic NetworkManager: <info> (ttyUSB0):
deactivating device (reason: 0).
Sep 28 07:36:24 spitfire-karmic modem-manager: (ttyUSB0) closing serial
device...
Sep 28 07:36:24 spitfire-karmic NetworkManager: <WARN> monitor_cb(): Could
not read ppp stats: No such device
Sep 28 07:36:24 spitfire-karmic NetworkManager: flush_routes: assertion
`iface_idx >= 0' failed
Sep 28 07:36:24 spitfire-karmic NetworkManager: flush_addresses: assertion
`iface_idx >= 0' failed
Sep 28 07:36:24 spitfire-karmic NetworkManager: SCPlugin-Ifupdown: devices
removed (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
Sep 28 07:36:26 spitfire-karmic NetworkManager: <debug> [1254119786.002657]
ensure_killed(): waiting for ppp pid 5661 to exit
Sep 28 07:36:26 spitfire-karmic NetworkManager: <debug> [1254119786.002994]
ensure_killed(): ppp pid 5661 cleaned up
Sep 28 07:37:56 spitfire-karmic NetworkManager: <info> Activation (ttyUSB0)
starting connection '3 Internet'
Sep 28 07:37:56 spitfire-karmic NetworkManager: <info> (ttyUSB0): device
state change: 3 -> 4 (reason 0)
Sep 28 07:37:56 spitfire-karmic NetworkManager: <info> Activation (ttyUSB0)
Stage 1 of 5 (Device Prepare) scheduled...
Sep 28 07:37:56 spitfire-karmic NetworkManager: <info> Activation (ttyUSB0)
Stage 1 of 5 (Device Prepare) started...
Sep 28 07:37:56 spitfire-karmic NetworkManager: <info> Activation (ttyUSB0)
Stage 1 of 5 (Device Prepare) complete.
Sep 28 07:37:56 spitfire-karmic modem-manager: (ttyUSB0) opening serial
device...
Sep 28 07:37:56 spitfire-karmic NetworkManager: <WARN>
stage1_prepare_done(): GSM modem connection failed: Could not open serial
device ttyUSB0: No such device
Sep 28 07:37:56 spitfire-karmic NetworkManager: <info> (ttyUSB0): device
state change: 4 -> 9 (reason 1)
Sep 28 07:37:56 spitfire-karmic NetworkManager: <info> Marking connection '3
Internet' invalid.
Sep 28 07:37:56 spitfire-karmic NetworkManager: Tried to set deprecated
property gsm/puk
ProblemType: Bug
Architecture: i386
CRDA: Error: [Errno 2] No such file or directory
Date: Mon Sep 28 14:37:31 2009
DistroRelease: Ubuntu 9.10
IfupdownConfig:
auto lo
iface lo inet loopback
IpRoute:
10.64.64.64 dev ppp0 proto kernel scope link src 92.40.27.251
169.254.0.0/16 dev ppp0 scope link metric 1000
default via 10.64.64.64 dev ppp0 proto static
Package: network-manager 0.8~a~git.20090923t064445.b20cef2-0ubuntu1
ProcEnviron:
LANG=en_GB.UTF-8
SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-11.36-generic
SourcePackage: network-manager
Uname: Linux 2.6.31-11-generic i686
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/modemmanager/+bug/438150/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp