Ubuntu 16.04 does not recognize my Huawei 15ca USB modem.
How can I fix this?
|
I had this problem today. I had 2 computers with Ubuntu 16.04 where the I bought another one and it does not work without the
command. I fixed it with another Add
Then reboot, or run |
|||||
|
|
You want to automate this? if you modem plug in you didn't setting again. first
copy this code
save, and execute this on terminal
and wait a minute, if you modem detected and you can use to connect to the internet, this setting is work. |
|||
|
|
|
None of these solutions works on my 16.04. (udev rules worked perfectly on 14.04). I mean, sometimes this does work, but very rarely. I tested these manual commands
and
and they do work, but not every time, even, if entered by hand. The device remains listed as "mass storage" in more than half cases. :( Therefore I had to use a very dirty solution: I added the latter one to root's crontab to run every 10 seconds. I know it's ridiculous, but I cannot think of anything better in these circumstances. The command will work if the device is listed as mass storage (if it is already turned into a modem, it just exits with a message "No devices in default mode found. Nothing to do. Bye!" so it does not interfere with a properly working modem. This is stupid, but in case somebody would like to use it, here are my crontab entries:
The device starts working after either 10 or 20 seconds (if the command has to be run twice - which is most of the cases). I also added this to my /etc/fstab to prevent an attempt to mount the usb mass storage shortly after inserting. This prevents the "Open files" window which normally shows up when a CD is inserted.
(you have to adjust the mounting place according to what the mount command shows after the device is mounted - mine mounts in the PLAY ONLINE folder, which is the name of my mobile provider). |
||||
|
|
|
This command worked for me. I just needed to execute it once.
Note down vendor and product id. In my case it is
Then execute this once.
|
|||||||||||||
|
|
The instructions on how to fix this are slightly different than 14.04. One of these steps might not be needed, but here is how I got it to work:
and add this line:
Then:
Run this command:
Now you should see it under available network connections and under lsusb it appears with a different product number:
You might have to reboot or remove and reinsert the modem a couple of times to get it to work. Also remember to add it into edit connection/add mobile broadband connection. |
|||||||||
|
lsusbterminal command. – Pilot6 May 25 '16 at 9:28