Ubuntu – Huawei EC156 modem no longer detected after disconnected


I have just installed Ubuntu 13.04 Raring. Now I'm facing a problem with my Huawei EC156 modem.

At first it will work properly but it will disapear from network-manager if the modem is disconnected after online or removed from the USB slot. The 'Enable Mobile Broadband' would also disappear from Network Manager. The modem will appear again if I use it from Windows and then run it again on Ubuntu.

If the modem is detected correctly, dmesg would show something like this:

New USB device found, idVendor=12d1, idProduct=140c

but if it is not detected, dmesg would show this result:

New USB device found, idVendor=12d1, idProduct=1505

I have never seen this problem before in previous versions of Ubuntu. How can I fix it?

Best Answer

Probably you could have tried what i'm about to say.



The above commands will list the usb-devices plugged in to your machine.

However the following method works charm for me every time. Plug the usb device before you turn on your laptop.

After login, please enter the following commands in your terminal:

dmesg -c

Please note down the prints that your modem is detected.


And get your device's vendor & product id.

modprobe option

service network-manager restart

echo 12D1 140C > /sys/bus/usb-serial/drivers/option1/new_id


Now you must see some changes in dmesg detecting your usb device as a modem. If not, after dmesg -c, try modprobe -r usb_storage which will remove the support for usb storage devices. Sometimes your modem gets detected as usb storage. After your modem is detected, you can re-enable usb storage by modprobe option.

Hope this will help.