Monday, May 6, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 2426  / 1 Year ago, sat, november 19, 2022, 7:55:18

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?


More From » wireless

 Answers
3

I have found the answer from this blog. It's in Indonesian, so I'd like to translate and explain it a little bit.



All you need is two simple step:




  1. Write a file for usb_modeswitch:



    # nano /etc/usb_modeswitch.d/12d1:1505


    Fill the file with these text:



    DefaultVendor= 0x12d1 
    DefaultProduct=0x1505
    MessageContent="55534243123456780000000000000011062000000100000000000000000000"

  2. Issue command:



    # usb_modeswitch -I -W -c /etc/usb_modeswitch.d/12d1:1505



Now the modem should has changed its mode and can be detected by NetworkManager.


[#31240] Sunday, November 20, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
utilitere

Total Points: 394
Total Questions: 110
Total Answers: 114

Location: Solomon Islands
Member since Wed, Mar 29, 2023
1 Year ago
;