[novatel] modemmanger does not connect to 3G network, icon keeps spinning.

Bug #412570 reported by Manoj Iyer
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
modemmanager (Ubuntu)
Invalid
High
Unassigned
network-manager (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: modemmanager

modem manger does not connect to 3G network, the icon keeps spinning. No connection extablished and did not time out even after 3-4mts.

ProblemType: Bug
Architecture: amd64
Date: Wed Aug 12 09:55:09 2009
DistroRelease: Ubuntu 9.10
Package: modemmanager 0.2.git.20090806t105932.354a4cb-0ubuntu3
ProcEnviron:
 PATH=(custom, user)
 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
Manoj Iyer (manjo) wrote :
Changed in modemmanager (Ubuntu):
importance: Undecided → High
Revision history for this message
Manoj Iyer (manjo) wrote :
Download full text (4.3 KiB)

Debug messages from modem-manager

manjo@little:~$ sudo killall modem-manager; sudo modem-manager --debug
** Message: Loaded plugin Novatel
** Message: Loaded plugin Ericsson MBM
** Message: Loaded plugin Generic
** Message: Loaded plugin Huawei
** Message: Loaded plugin MotoC
** Message: Loaded plugin Gobi
** Message: Loaded plugin ZTE
** Message: Loaded plugin Nokia
** Message: Loaded plugin Option
** Message: Loaded plugin Option High-Speed
** Message: Loaded plugin Sierra
** Message: (ttyUSB0) opening serial device...
** (modem-manager:4413): DEBUG: (ttyUSB0): probe requested by plugin 'Novatel'
** Message: (ttyUSB1) opening serial device...
** (modem-manager:4413): DEBUG: (ttyUSB1): probe requested by plugin 'Novatel'
** (modem-manager:4413): DEBUG: (ttyUSB0): --> 'AT+GCAP<CR>'
** (modem-manager:4413): DEBUG: (ttyUSB0): <-- 'AT+GCAP<CR><CR><LF>+GCAP: +CGSM,+DS,+ES<CR><LF><CR><LF>OK<CR><LF>'
** (modem-manager:4413): DEBUG: (ttyUSB1): --> 'AT+GCAP<CR>'
** (modem-manager:4413): DEBUG: (ttyUSB1): <-- 'AT+GCAP<CR><CR><LF>+GCAP: +CGSM,+DS,+ES<CR><LF><CR><LF>OK<CR><LF>'
** Message: (ttyUSB0) closing serial device...
** Message: (ttyUSB0) opening serial device...
** Message: (Novatel): GSM modem /sys/devices/pci0000:00/0000:00:1a.1/usb4/4-2 claimed port ttyUSB0
** (modem-manager:4413): DEBUG: Added modem /sys/devices/pci0000:00/0000:00:1a.1/usb4/4-2

** (modem-manager:4413): WARNING **: signal "completed" (from "Completed") exported but not found in object class "MMModemNovatelGsm"
** (modem-manager:4413): DEBUG: Exported modem /sys/devices/pci0000:00/0000:00:1a.1/usb4/4-2 as /org/freedesktop/ModemManager/Modems/0
** Message: (ttyUSB1) closing serial device...
** (modem-manager:4413): DEBUG: (ttyUSB0): --> 'AT$NWDMAT=1<CR>'
** Message: (Novatel): GSM modem /sys/devices/pci0000:00/0000:00:1a.1/usb4/4-2 claimed port ttyUSB1
** (modem-manager:4413): DEBUG: (ttyUSB0): <-- 'AT$NWDMAT=1<CR>'
** (modem-manager:4413): DEBUG: (ttyUSB0): <-- '<CR><LF>OK<CR><LF>'
** Message: (ttyUSB0) closing serial device...
** Message: (ttyUSB0) opening serial device...
** (modem-manager:4413): DEBUG: (ttyUSB0): --> 'ATE0 V1<CR>'
** (modem-manager:4413): DEBUG: (ttyUSB0): <-- 'ATE0 V1'
** (modem-manager:4413): DEBUG: (ttyUSB0): <-- '<CR><CR><LF>OK<CR><LF>'
** (modem-manager:4413): DEBUG: (ttyUSB0): --> 'AT+CPIN?<CR>'
** (modem-manager:4413): DEBUG: (ttyUSB0): <-- '<CR><LF>+CPIN: READY<CR><LF><CR><LF>OK<CR><LF>'
** (modem-manager:4413): DEBUG: (ttyUSB0): --> 'ATZ E0 V1 X4 &C1 +CMEE=1;+CFUN=1<CR>'
** (modem-manager:4413): DEBUG: (ttyUSB0): <-- '<CR><LF>OK<CR><LF>'
** (modem-manager:4413): DEBUG: (ttyUSB0): --> 'AT+CPIN?<CR>'
** (modem-manager:4413): DEBUG: (ttyUSB0): <-- '<CR><LF>+CPIN: READY<CR><LF><CR><LF>OK<CR><LF>'
** (modem-manager:4413): DEBUG: (ttyUSB0): --> 'AT+COPS=0,,<CR>'
** (modem-manager:4413): DEBUG: (ttyUSB0): <-- '<CR><LF>OK<CR><LF>'
** (modem-manager:4413): DEBUG: (ttyUSB0): --> 'AT+CREG?<CR>'
** (modem-manager:4413): DEBUG: (ttyUSB0): <-- '<CR><LF>+CREG: 0,1<CR><LF><CR><LF>OK<CR><LF>'
** (modem-manager:4413): DEBUG: Registration state changed: 1
** (modem-manager:4413): DEBUG: (ttyUSB0): --> 'AT+COPS=3,2;+COPS?<CR>'
** (modem-manager:4413): DEBUG: (ttyU...

Read more...

Revision history for this message
Manoj Iyer (manjo) wrote :
Download full text (15.9 KiB)

modem-manager output
=================

manjo@little:~$ sudo killall -9 modem-manager NetworkManager; sudo modem-manager --debug
[sudo] password for manjo:
** Message: Loaded plugin Novatel
** Message: Loaded plugin Ericsson MBM
** Message: Loaded plugin Generic
** Message: Loaded plugin Huawei
** Message: Loaded plugin MotoC
** Message: Loaded plugin Gobi
** Message: Loaded plugin ZTE
** Message: Loaded plugin Nokia
** Message: Loaded plugin Option
** Message: Loaded plugin Option High-Speed
** Message: Loaded plugin Sierra
** Message: (ttyUSB0) opening serial device...
** (modem-manager:3933): DEBUG: (ttyUSB0): probe requested by plugin 'Novatel'
** Message: (ttyUSB1) opening serial device...
** (modem-manager:3933): DEBUG: (ttyUSB1): probe requested by plugin 'Novatel'
** (modem-manager:3933): DEBUG: (ttyUSB0): --> 'AT+GCAP<CR>'
** (modem-manager:3933): DEBUG: (ttyUSB0): <-- '<CR><LF>+GCAP: +CGSM,+DS,+ES<CR><LF><CR><LF>OK<CR><LF>'
** (modem-manager:3933): DEBUG: (ttyUSB1): --> 'AT+GCAP<CR>'
** (modem-manager:3933): DEBUG: (ttyUSB1): <-- '<CR><LF>+GCAP: +CGSM,+DS,+ES<CR><LF><CR><LF>OK<CR><LF>'
** Message: (ttyUSB0) closing serial device...
** Message: (ttyUSB0) opening serial device...
** Message: (Novatel): GSM modem /sys/devices/pci0000:00/0000:00:1a.1/usb4/4-2 claimed port ttyUSB0
** (modem-manager:3933): DEBUG: Added modem /sys/devices/pci0000:00/0000:00:1a.1/usb4/4-2

** (modem-manager:3933): WARNING **: signal "completed" (from "Completed") exported but not found in object class "MMModemNovatelGsm"
** (modem-manager:3933): DEBUG: Exported modem /sys/devices/pci0000:00/0000:00:1a.1/usb4/4-2 as /org/freedesktop/ModemManager/Modems/0
** Message: (ttyUSB1) closing serial device...
** (modem-manager:3933): DEBUG: (ttyUSB0): --> 'AT$NWDMAT=1<CR>'
** Message: (Novatel): GSM modem /sys/devices/pci0000:00/0000:00:1a.1/usb4/4-2 claimed port ttyUSB1
** (modem-manager:3933): DEBUG: (ttyUSB0): <-- '<CR><LF>OK<CR><LF>'
** Message: (ttyUSB0) closing serial device...
** Message: (ttyUSB0) opening serial device...
** (modem-manager:3933): DEBUG: (ttyUSB0): --> 'ATE0 V1<CR>'
** (modem-manager:3933): DEBUG: (ttyUSB0): <-- '<CR><LF>OK<CR><LF>'
** (modem-manager:3933): DEBUG: (ttyUSB0): --> 'AT+CPIN?<CR>'
** (modem-manager:3933): DEBUG: (ttyUSB0): <-- '<CR><LF>+CPIN: READY<CR><LF><CR><LF>OK<CR><LF>'
** (modem-manager:3933): DEBUG: (ttyUSB0): --> 'ATZ E0 V1 X4 &C1 +CMEE=1;+CFUN=1<CR>'
** (modem-manager:3933): DEBUG: (ttyUSB0): <-- '<CR><LF>OK<CR><LF>'
** (modem-manager:3933): DEBUG: (ttyUSB0): --> 'AT+CPIN?<CR>'
** (modem-manager:3933): DEBUG: (ttyUSB0): <-- '<CR><LF>+CPIN: READY<CR><LF><CR><LF>OK<CR><LF>'
** (modem-manager:3933): DEBUG: (ttyUSB0): --> 'AT+COPS=0,,<CR>'
** (modem-manager:3933): DEBUG: (ttyUSB0): <-- '<CR><LF>OK<CR><LF>'
** (modem-manager:3933): DEBUG: (ttyUSB0): --> 'AT+CREG?<CR>'
** (modem-manager:3933): DEBUG: (ttyUSB0): <-- '<CR><LF>+CREG: 0,1<CR><LF><CR><LF>OK<CR><LF>'
** (modem-manager:3933): DEBUG: Registration state changed: 1
** (modem-manager:3933): DEBUG: (ttyUSB0): --> 'AT+COPS=3,2;+COPS?<CR>'
** (modem-manager:3933): DEBUG: (ttyUSB0): <-- '<CR><LF>+COPS: 0,2,"310410",2<CR><LF><CR><LF>OK<CR><LF>'
** (modem-manager:3933): DEBU...

summary: - modemmanger does not connect to 3G network, icon keeps spinning.
+ [novatel] modemmanger does not connect to 3G network, icon keeps
+ spinning.
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 :

oops ... wrong bug. ignore my last comment

Revision history for this message
Manoj Iyer (manjo) wrote :

sudo NM_PPP_DEBUG=1 NetworkManager --no-daemon

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

ok i think this is the patch ...

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
Manoj Iyer (manjo) wrote :

asac,

Do you have an update in

deb http://ppa.launchpad.net/network-manager/trunk/ubuntu karmic main

with the latest fix you mentioned above ?

Thanks

Revision history for this message
Manoj Iyer (manjo) wrote :

Installed the latest modem manager & NetworkManager package from PPA, and I can confirm that my 3G connection now works. Thanks asac! I am typing this comment connected to 3G network.

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

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>> ]
  * 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>> ]
  * Recommend on renamed plasma-widget-networkmanagement
  * Update Vcs-bzr line in debian/control

  [ Alexander Sack < <email address hidden>> ]
  * 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>> ]
  * 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 < <email address hidden>> Thu, 20 Aug 2009 21:46:03 +0200

Changed in network-manager (Ubuntu):
status: New → Fix Released
Revision history for this message
Alexander Sack (asac) wrote :

not a MM bug ... fixed in NM.

Changed in modemmanager (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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