[huawei] MM wont connect, keeps nm.applet spinning

Bug #413333 reported by Fernando Miguel
56
This bug affects 10 people
Affects Status Importance Assigned to Milestone
modemmanager (Ubuntu)
Invalid
Undecided
Unassigned
network-manager (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Binary package hint: modemmanager

when connecting to 3G with huawei usb dongle, MM wont connect

$ apt-cache policy network-manager
network-manager:
  Installed: 0.8~a~git.20090804t185522.4bab334-0ubuntu1
  Candidate: 0.8~a~git.20090804t185522.4bab334-0ubuntu1
  Version table:
 *** 0.8~a~git.20090804t185522.4bab334-0ubuntu1 0
        500 http://darkstar.ist.utl.pt karmic/main Packages
        500 http://archive.ubuntu.com karmic/main Packages
        100 /var/lib/dpkg/status

$ apt-cache policy modemmanager
modemmanager:
  Installed: 0.2.git.20090806t105932.354a4cb-0ubuntu3
  Candidate: 0.2.git.20090806t105932.354a4cb-0ubuntu3
  Version table:
 *** 0.2.git.20090806t105932.354a4cb-0ubuntu3 0
        500 http://darkstar.ist.utl.pt karmic/main Packages
        500 http://archive.ubuntu.com karmic/main Packages
        100 /var/lib/dpkg/status

ProblemType: Bug
Architecture: amd64
Date: Fri Aug 14 00:41:26 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: nvidia
Package: modemmanager 0.2.git.20090806t105932.354a4cb-0ubuntu3
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-5.24-generic
SourcePackage: modemmanager
Uname: Linux 2.6.31-5-generic x86_64

Revision history for this message
Fernando Miguel (fernandomiguel) wrote :
Revision history for this message
Fernando Miguel (fernandomiguel) wrote :

downgraded and now it works

$ sudo dpkg -i *
dpkg: warning: downgrading libnm-glib0 from 0.8~a~git.20090804t185522.4bab334-0ubuntu1 to 0.8~a~git.20090702t164632.9c8e600-0ubuntu1~nmt1.
(Reading database ... 241362 files and directories currently installed.)
Preparing to replace libnm-glib0 0.8~a~git.20090804t185522.4bab334-0ubuntu1 (using libnm-glib0_0.8~a~git.20090702t164632.9c8e600-0ubuntu1~nmt1_amd64.deb) ...
Unpacking replacement libnm-glib0 ...
dpkg: warning: downgrading libnm-util1 from 0.8~a~git.20090804t185522.4bab334-0ubuntu1 to 0.8~a~git.20090702t164632.9c8e600-0ubuntu1~nmt1.
Preparing to replace libnm-util1 0.8~a~git.20090804t185522.4bab334-0ubuntu1 (using libnm-util1_0.8~a~git.20090702t164632.9c8e600-0ubuntu1~nmt1_amd64.deb) ...
Unpacking replacement libnm-util1 ...
dpkg: warning: downgrading network-manager from 0.8~a~git.20090804t185522.4bab334-0ubuntu1 to 0.8~a~git.20090702t164632.9c8e600-0ubuntu1~nmt1.
Preparing to replace network-manager 0.8~a~git.20090804t185522.4bab334-0ubuntu1 (using network-manager_0.8~a~git.20090702t164632.9c8e600-0ubuntu1~nmt1_amd64.deb) ...
Unpacking replacement network-manager ...
dpkg: warning: downgrading network-manager-gnome from 0.8~a~git.20090805t131328.d1edfce-0ubuntu1 to 0.8~a~git.20090701t182005.3bec17d-0ubuntu1~nmt1.
Preparing to replace network-manager-gnome 0.8~a~git.20090805t131328.d1edfce-0ubuntu1 (using network-manager-gnome_0.8~a~git.20090701t182005.3bec17d-0ubuntu1~nmt1_amd64.deb) ...
Unpacking replacement network-manager-gnome ...
Setting up libnm-util1 (0.8~a~git.20090702t164632.9c8e600-0ubuntu1~nmt1) ...

Setting up libnm-glib0 (0.8~a~git.20090702t164632.9c8e600-0ubuntu1~nmt1) ...

Setting up network-manager (0.8~a~git.20090702t164632.9c8e600-0ubuntu1~nmt1) ...
Installing new version of config file /etc/dbus-1/system.d/NetworkManager.conf ...
 System startup links for /etc/init.d/NetworkManager already exist.

Processing triggers for man-db ...
Setting up network-manager-gnome (0.8~a~git.20090701t182005.3bec17d-0ubuntu1~nmt1) ...
Processing triggers for desktop-file-utils ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place

Revision history for this message
Fernando Miguel (fernandomiguel) wrote :

tried NM git as requested by asac.
it failed to connect with similar behavior of previous report.
attaching log

Revision history for this message
Alexander Sack (asac) wrote :

please export NM_PPP_DEBUG=1 before running modemmanager and attach the full output again (with all up to date) ... also run the mm-test.py from the build tree i gave you and post the output

Revision history for this message
Alexander Sack (asac) wrote :

i think its a NM problem. The problem should be fixed by this:

diff --git a/src/nm-device.c b/src/nm-device.c
index 18a8516..b41192b 100644
--- a/src/nm-device.c
+++ b/src/nm-device.c
@@ -1812,7 +1812,7 @@ nm_device_activate_schedule_stage5_ip_config_commit (NMDevice *self, int family)
        else if (family == AF_INET6)
                priv->ip6_ready = TRUE;

- if (!priv->ip4_ready || !priv->ip6_ready)
+ if (!priv->ip4_ready && !priv->ip6_ready)
                return;

        activation_source_schedule (self, nm_device_activate_stage5_ip_config_commit, 0);

Revision history for this message
Alexander Sack (asac) wrote :

we fixed this on NM side:

network-manager (0.8~a~git.20090820t182117.cb60390-0ubuntu2) karmic; urgency=low

  New upstream snapshot:
  + LP: #412570 - [novatel] modemmanger does not connect to 3G network, icon
    keeps spinning.
  + LP: #413333 - [huawei] MM wont connect, keeps nm.applet spinning

  [ Tony Espy < <email address hidden> (awe: 0) > ]
  * remove deprecated and un-used DBUS init scripts
    - remove network-manager.dbus-event
    - remove network-manager-dispatcher.dbus-event
  * add comment to system settings config file about how to to
    override it with another file
    - update nm-system-settings.conf

  [ Jonathan Riddell < <email address hidden> (jr: 0) > ]
  * Recommend on renamed plasma-widget-networkmanagement
  * Update Vcs-bzr line in debian/control

  [ Alexander Sack < (asac: 0) <email address hidden> (asac: 0) > ]
  * use command_output from apport.hookutils - thx Matt Zimmerman
    - update source_network-manager.py
  * add LOCAL_BRANCH feature to play nicely with fta's build bot
    - update rules
  * add nm_settings_olpc_ symbols to libnm-util1
    - update debian/libnm-util1.symbols
  * fix LP: #416598 - mbm dhclient request fails because interface is not up
    - add debian/patches/0001-core-make-sure-device-interfaces-are-up-before-ip4-c.patch
    - update debian/patches/series
  * add ip6 api symbols for libnm-glib0
    - update debian/libnm-glib0.symbols

  [ Matt Zimmerman < <email address hidden> (mdz: 0) > ]
  * Update source_network-manager.py to use attach_network and attach_wifi from
    hookutils, to further benefit from common code and add some new info
  * Automatically tag apport bugs with driver-ndiswrapper, driver-b44 or
    driver-madwifi per https://wiki.ubuntu.com/DebuggingNetworkManager

 -- Alexander Sack < (asac: 0) <email address hidden> (asac: 0) > Thu, 20 Aug 2009 21:46:03 +0200

Changed in modemmanager (Ubuntu):
status: New → Invalid
Changed in network-manager (Ubuntu):
importance: Undecided → High
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.