[0bdb:1926] REGRESSION: Ericsson H5321 gw not working

Bug #1167852 reported by Till Kamppeter
30
This bug affects 6 people
Affects Status Importance Assigned to Milestone
NetworkManager
New
Medium
modemmanager (Ubuntu)
Incomplete
Critical
Unassigned
network-manager (Ubuntu)
Confirmed
Critical
Unassigned

Bug Description

First, I reported bug 1164023 as there was also a crash of modemmanager, but after this crash being fixed I still do not get a connection to mobile broadband.

This bug is a regression against 12.10. Booting from a 12.10 live CD I can use the mobile broadband.

The modem is built-in (Ericsson Business Mobile Networks BV).

I do not get any crashes any more, but no connection. According to syslog, modem-manager is trying something infinitely.

I do not know whether really modemmanager or network-manager is the culprit.

I have switched to debug logging via

sudo python debug-helper.py --mm debug
sudo python debug-helper.py --nm debug

Then I have captured the syslog via

tail -n0 -f /var/log/syslog > /tmp/syslog

While capturing, I have first clicked "Enable Mobile Broadband" in the Network Manager menu, near the bottom. After some seconds I got an OSD pop-up that I am registered for GSN or so. Now I clicked on "T-Mobile (Telekom) Default" in the "Mobile Broadband" section. The indicator applet icon of the Network Manager started spinning, telling that it is searched for a network. After some time it stopped spinning without connection established. After that, modem-manager is still active in the syslog. I waited some minutes before stopping to capture.

syslog is attached.

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: network-manager 0.9.8.0-0ubuntu3
ProcVersionSignature: Ubuntu 3.8.0-17.27-generic 3.8.6
Uname: Linux 3.8.0-17-generic x86_64
ApportVersion: 2.9.2-0ubuntu5
Architecture: amd64
Date: Thu Apr 11 12:29:41 2013
IfupdownConfig:
 # interfaces(5) file used by ifup(8) and ifdown(8)
 auto lo
 iface lo inet loopback
InstallationDate: Installed on 2013-03-28 (13 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20130328)
IpRoute:
 default via 192.168.178.1 dev eth0 proto static
 169.254.0.0/16 dev wlan0 scope link metric 1000
 192.168.122.0/24 dev virbr0 proto kernel scope link src 192.168.122.1
 192.168.178.0/24 dev eth0 proto kernel scope link src 192.168.178.58 metric 1
 192.168.178.0/24 dev wlan0 proto kernel scope link src 192.168.178.57 metric 9
MarkForUpload: True
NetworkManager.state:
 [main]
 NetworkingEnabled=true
 WirelessEnabled=true
 WWANEnabled=true
 WimaxEnabled=true
SourcePackage: network-manager
UpgradeStatus: No upgrade log present (probably fresh install)
nmcli-dev:
 DEVICE TYPE STATE DBUS-PATH
 wwan0 gsm disconnected /org/freedesktop/NetworkManager/Devices/5
 eth0 802-3-ethernet connected /org/freedesktop/NetworkManager/Devices/1
 wlan0 802-11-wireless connected /org/freedesktop/NetworkManager/Devices/0
nmcli-nm:
 RUNNING VERSION STATE NET-ENABLED WIFI-HARDWARE WIFI WWAN-HARDWARE WWAN
 running 0.9.8.0 connected enabled enabled enabled enabled enabled

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

sudo lsusb -vvv

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

sudo udevadm info --query=all --path=/sys/class/tty/ttyACM0 --attribute-walk

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

sudo udevadm info --query=all --path=/sys/class/tty/ttyACM1 --attribute-walk

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

sudo udevadm info --query=all --path=/sys/class/tty/ttyACM2 --attribute-walk

Changed in modemmanager (Ubuntu):
importance: Undecided → Critical
milestone: none → ubuntu-13.04
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Problems seems to be here that I do not get an IP for wwan0. This works correctly with the 12.10 live CD so on the mobile operator/ISP site all seems to be OK.

summary: - REGRESSION: Mobile broadband not working
+ [0bdb:1926] REGRESSION: Ericsson H5321 gw not working
Revision history for this message
Marius B. Kotsbak (mariusko) wrote :

There is very few differences between modemmanager in Quantal and Raring: http://changelogs.ubuntu.com/changelogs/pool/main/m/modemmanager/modemmanager_0.6.0.0.really-0ubuntu4/changelog
but I think I have seen the problem with this modem too.

Revision history for this message
Marius B. Kotsbak (mariusko) wrote :

Would be interesting to know if it works better with the latest MM 0.6 code using this PPA:

https://launchpad.net/~network-manager/+archive/trunk?field.series_filter=raring

Changed in modemmanager (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in network-manager (Ubuntu):
status: New → Confirmed
Changed in network-manager:
importance: Unknown → Medium
status: Unknown → New
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

I tried the PPA. Adding the repo I get version 0.6.0.0.really+git201301091611.1205-0~pkg164~raring1 which behaves exactly as the current version. I do not get a connection with it.

The current version according to

https://launchpad.net/~network-manager/+archive/trunk?field.series_filter=raring

is 0.6.0.0.really+git201304100000.1230-0~pkg185~raring1, which is unbuildable. As the date-based version number suggests that it is much newer I tried to build it from the source but it also does not build. Can you supply me a buildable version or a built package? Thanks.

Revision history for this message
Marius B. Kotsbak (mariusko) wrote :

Do you get this error?:

configure: error: Package requirements (dbus-glib-1 >= 0.86 glib-2.0 >= 2.18 gmodule-2.0 gobject-2.0) were not met:

No package 'dbus-glib-1' found

In that case, it should be possible to fix by installing http://packages.ubuntu.com/raring/libdbus-glib-1-dev

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

I got much further, I got an error in the "make install" parts:

----------
Making install in test
make[2]: Entering directory `/home/till/ubuntu/modemmanager/modemmanager-0.6.0.0.really+git201304100000.1230/test'
make[3]: Entering directory `/home/till/ubuntu/modemmanager/modemmanager-0.6.0.0.really+git201304100000.1230/test'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Leaving directory `/home/till/ubuntu/modemmanager/modemmanager-0.6.0.0.really+git201304100000.1230/test'
make[2]: Leaving directory `/home/till/ubuntu/modemmanager/modemmanager-0.6.0.0.really+git201304100000.1230/test'
make[1]: Leaving directory `/home/till/ubuntu/modemmanager/modemmanager-0.6.0.0.really+git201304100000.1230'
   debian/rules override_dh_install
make[1]: Entering directory `/home/till/ubuntu/modemmanager/modemmanager-0.6.0.0.really+git201304100000.1230'
cp /home/till/ubuntu/modemmanager/modemmanager-0.6.0.0.really+git201304100000.1230/debian/77-mm-qdl-device-blacklist.rules \
   /home/till/ubuntu/modemmanager/modemmanager-0.6.0.0.really+git201304100000.1230/debian/tmp/lib/udev/rules.d
if dpkg-vendor --is ubuntu; then \
  cp /home/till/ubuntu/modemmanager/modemmanager-0.6.0.0.really+git201304100000.1230/debian/ubuntu/modemmanager.upstart /home/till/ubuntu/modemmanager/modemmanager-0.6.0.0.really+git201304100000.1230/debian; \
 fi
find /home/till/ubuntu/modemmanager/modemmanager-0.6.0.0.really+git201304100000.1230/debian/tmp/ -name \*.a -exec rm {} \;
find /home/till/ubuntu/modemmanager/modemmanager-0.6.0.0.really+git201304100000.1230/debian/tmp/ -name \*.la -exec rm {} \;
rm -f /home/till/ubuntu/modemmanager/modemmanager-0.6.0.0.really+git201304100000.1230/debian/tmp/usr/lib/*/pppd/mm-test-pppd-plugin.*
dh_install --fail-missing
cp: cannot stat ‘debian/tmp/usr/bin’: No such file or directory
dh_install: cp -a debian/tmp/usr/bin debian/modemmanager//usr/ returned exit code 1
make[1]: *** [override_dh_install] Error 2
make[1]: Leaving directory `/home/till/ubuntu/modemmanager/modemmanager-0.6.0.0.really+git201304100000.1230'
make: *** [binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
----------

Revision history for this message
Marius B. Kotsbak (mariusko) wrote :

Not sure if some binaries changed names. Easiest is probably to fetch 0.6 branch from upstream, build it and replace the modem-manager binary with the one from there.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

My build process already had generated all binaries when it errored, only the final build of a package did not happen. So I have copied everything to its place in the system, rebooted (to restart all services) and tried again. But again, I did not get a connection or IP address. The syslog in debug mode is attached.

Note that "ifconfig" lists wwan0 (without IP address) while the indicator icon of Network Manager is spinning during the search for a connection.

Revision history for this message
Aleksander Morgado (aleksander-m) wrote :

Marius: out of curiosity, did you try MM git master with this modem? Did it work ok?

Revision history for this message
Marius B. Kotsbak (mariusko) wrote :

Ah, this is probably the MBIM stuff, see bug #1169117.

Revision history for this message
Marius B. Kotsbak (mariusko) wrote :

Please try the workaround described in 2) there.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Tried it, and it works! Thank you very much, Marius.

See my comment in bug #1169117.

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.