0.7, 3G USB devices detected by usb-storage maybe need modeswitch
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
NetworkManager |
Unknown
|
Medium
|
|||
network-manager (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Binary package hint: network-manager
A lot of USB 3G modems also carry a USB storage device, which contains the Windows drivers. These devices are detected as usb-storage and mounted automatically when plugged in.
In order to be able to use the modem instead, the USB product ID needs to be switched.
There is a tool to do this: http://
Example (MU-Q101):
The device shows has a vendor ID of 0x0408 and a product ID of 0x1000 when plugged in.
It needs to switch the product ID to 0xea02 to enable the modem.
The following steps need to be done to do this:
1. When first plugged in, the device will be recognized as usb-storage device and automatically mounted. Unmount the device.
2. As root:
2.1. run usb-modeswitch
2.2. tell the kernel that the device product ID has changed:
2.2.1. get the port number where the device is connected by looking into the dmesg output, e.g.: 1-2
2.2.2. send a "suspend" to that device: echo "suspend" > /sys/bus/
2.2.3. the device will wake up again and then carry the correct product ID (confirm with lsusb)
2.3. Load either the option module, or the usbserial module, depending on the device (for MU-Q101 usbserial is necessary): modprobe usbserial vendor=0x0408 product=0xea02
3. Now, 4 ttyUSB devices should have been created: ttyUSB0~3.
3.1. For MU-Q101 only: send the following AT command to /dev/ttyUSB2 (I currently do this manually with minicom): AT+CFUN=1
4. Use ttyUSB0 to connect with ppp.
The affected devices are listed in the attached usb_modeswitch.conf file.
description: | updated |
Changed in network-manager: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in network-manager: | |
status: | Unknown → Invalid |
Changed in network-manager: | |
importance: | Unknown → Medium |
status: | Invalid → Unknown |
I have Telenor Mobile Broadband in Norway. My USB adapter identify as 0af0:6971 Option.
I can't get network-manager to recognize this as a modem even if I am able to load the usbserial module with it.
I am able to connect using HSOConnect, though. The problem with this approach is that HSOConnect doesn't integrate with network-manager, so not all GNOME programs accept the fact they're online. In Firefox I had to remove the "work offline" tick from the file menu to be able to surf.
Why wouldn't networ-manager connect through my ttyUSBs?