← Back to team overview

desktop-packages team mailing list archive

[Bug 868034] Re: Huawei E220 can't connect on Ubuntu 11.10

 

I too have this problem with a Huawei E220 USB modem. I had no problems
with Ubuntu versions 9.10 thru 11.04 but am seeing it now that I have
installed 11.10. The problem also occurs if booting from the 11.10 ISO
disk, so it is not due to a corrupt installation. I can use the sakis3g
script to make a connection so there is no problem with the modem or
ISP.

I have enabled logging in /etc/usb_modeswitch.conf which produces a
single log file (/var/log/usb_modeswitch.log - attached) that is written
at the time that I plug in the USB modem.

What looks interesting to me is that there is a list of USB devices in
this log, but the modem is not listed (there is only one connected
device which lsusb reveals to be the built-in webcam) and therefore
usb_modeswitch concludes that there is nothing to do.

So despite the fact that the running of usb_modeswitch appears to get
triggered by my plugging in the modem, the modem does not appear in the
list of USB devices. Could it be that it takes some small time for the
device to initialise and that usb_modeswitch is running before this has
happened?

There are two other bugs/poor behaviour related to this issue but they don't bother me sufficiently to raise separate bug reports:
1. usb_modeswitch does not appear to run (there is no log file) if the modem is plugged-in before booting
2. If I bring up the link using some other method (e.g. using the sakis3g script) network-manager does not realise that a connection has been made so it grays-out the menu options to make my VPN connections unavailable.

Mark.

** Attachment added: "usb_modeswitch.log"
   https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/868034/+attachment/2610385/+files/usb_modeswitch.log

-- 
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/868034

Title:
  Huawei E220 can't connect on Ubuntu 11.10

Status in “network-manager” package in Ubuntu:
  Confirmed
Status in “usb-modeswitch-data” package in Ubuntu:
  Incomplete

Bug description:
  I'm using Ubuntu in my HP Pavilion dv6745tx laptop. I cannot connect
  the Huawei E220 usb modem since 11.10 beta1 (now I'm in beta2). There
  is  no problem in natty.

  I have found this in syslog

  Oct  5 07:10:51 ubuntu NetworkManager[1681]: <info> Activation (ttyUSB0) starting connection 'Dialog GSM Postpaid'
  Oct  5 07:10:51 ubuntu NetworkManager[1681]: <info> (ttyUSB0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
  Oct  5 07:10:51 ubuntu NetworkManager[1681]: <info> Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) scheduled...
  Oct  5 07:10:51 ubuntu NetworkManager[1681]: <info> Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) started...
  Oct  5 07:10:51 ubuntu NetworkManager[1681]: <info> Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) complete.
  Oct  5 07:10:58 ubuntu NetworkManager[1681]: <warn> GSM connection failed: (32) Sending command failed: 'Resource temporarily unavailable'
  Oct  5 07:10:58 ubuntu NetworkManager[1681]: <info> (ttyUSB0): device state change: prepare -> failed (reason 'unknown') [40 120 1]
  Oct  5 07:10:58 ubuntu NetworkManager[1681]: <warn> Activation (ttyUSB0) failed.
  Oct  5 07:10:58 ubuntu NetworkManager[1681]: <info> (ttyUSB0): device state change: failed -> disconnected (reason 'none') [120 30 0]
  Oct  5 07:10:58 ubuntu NetworkManager[1681]: <info> (ttyUSB0): deactivating device (reason: 0).
  Oct  5 07:10:58 ubuntu NetworkManager[1681]: nm_system_iface_flush_routes: assertion `ifindex > 0' failed
  Oct  5 07:10:58 ubuntu NetworkManager[1681]: nm_system_iface_flush_addresses: assertion `ifindex > 0' failed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/868034/+subscriptions


References