Hi all, today I’m going to tell you about how to configure your USB modem on Ubuntu.
Problem
The problem I had was, I couldn’t connect to internet with my USB modem on my Ubuntu installed lab. USB dongle was detected but I couldn’t connect to that.I have tested the solution that I’m going to tell you about on following hardware.
- Laptop:- Dell XPS 15 9550 ( Ubuntu 16.04 installed)
- USB modem:- Huawei E303
Though I have mentioned my hardware this solution should with with any device.
Solution
Before talking about the let’s find out what the actual problem is.
- Connect your dongle and open the terminal.( Alt + CTRL + T).
- Type lsusb and run. This command should detect all the connected devices. You can find your device and next to your device it will say Mass Storage. You can see my device is detected as a modem. If your device is detected as a Mass Storage Device then that’s the problem.
Now we know the exact problem, so let’s focus on the sokution
- Go to Disks application.(Alt or Windows key and search Disks)
- There you’ll see your modem and press on Additional Partition Options.
- Go to Mount Options
- If Automatic Mount Options is enabled turn it off.
- And go to Identify As dropdown menu and select Broadband.
- Now remove your device and plug it back.
- Still your device may get detected as a Mass Storage device. If it happens again go back to Disks and turn your drive off. After few seconds it will automatically get connected.
- Some times you might need to turn off your modem for few times. Each time you can use lsusb command to check whether it’s connected properly.
- If your device is connected properly you can simply create a new connection for your USB modem and connect internet. 🙂
This solution works for me so if you get into trouble, feel free to contact me or comment bellow. 😀 I’ll help you to figure out the problem. 😉
Thanks a lot for the article post.Much thanks again. Keep writing.
My tata photon max(huawei dongle) is showing up as mass storage on lsusb but is not showing up in the disks menu. What should I do?
Try disconnecting the dongle and reconnecting.
Try disconnecting the dongle and connecting it.
I am getting the error while connecting ” Active connection failed to connect” , I could able to configure through the network manager menu , but the error message displayed while connection ..–System -16.04.1 LTS.—Modme : ZTE Modem
Did you check connection stability with the network provider?
This doesn’t work for me. My Huawei USB dongle keeps showing up as mass storage, even though plugged and unplugged several times.
You said “If it happens again go back to Disks and turn your drive off.”
How do you do that? I can’t see any option for turning drive off.
Go to”Disks” and select your dongle. Then press the power button on the “Disks” window.
go to Identify As dropdown menu and select Broadband.
there is no option called “Broadband”
Never mind my previous query. I solved my previous problem. A friend helped me out. We installed Linux Mint, deleting both Ubuntu and Windows 10 in the process. After that, it recognised my USB internet dongle, and my internet connection now works fine.
Thank you. It worked. I use Huawei E3131 and before was identified as mass storage disk. And in the Disks program after turning the automatic mounting option off, I chose Identify As : /dev/disk/by-path/pci-0000:……
👍👍
Thank you very much sir
😁
In my case, the dongle is listed under Disks as shown in your article. But all the options including “Edit Mount Options” are grayed out and cannot be selected. Any idea on what’s going there and how to fix it?
Check whether the dongle is mounted properly?
do i always have to create connection every time i use a modem?
Actually it depends on the modem. For me I have to create a connection each time!
/etc/usb_modeswitch.conf
############# USB MODEM
DefaultVendor=0x12d1
DefaultProduct=0x14fe
TargetVendor=0x12d1
TargetProduct=0x1506
MessageContent=”55534243123456780000000000000011062000000100000000000000000000″
############# END
i try the option above and it didnt work, need to replug and replug
Thanks a lot
When I connect my dongle, in lsusb it shows as modem but still I dont get an option for connecting to the mobile broadband network. Sometimes after a while It automatically connects to the network and sometimes even after being plugged in for more than 15 mins it doesnt connect. I don’t uderstand the problem
I don’t have the option “broadband” in the drop down menu!!??
What options do you have?
I have 2 options, one have the HUAWEI name of the modem, the other have not. But no “Broadband”. lsusb seys “network card”.
Try selecting the HUAWEI name of the modem!
Hey, I don’t have the option Broadband on identify as. Can you help
What are the options do you have there?
Hi
I bought a new modem and plugged it onto my laptop but i never saw any installation procedures and when I check on my networks it wll be written unidentified network so right now I don’t know what to do next. so right now I am kindly requesting for assistance.
I am looking forward to your reply
thank you
What is the OS?
everything is done but my network manager showed mobile broadband option once but when i restart my computer after restart there is no mobile broadband option showing …. i have done everything but its not showing now…. what should i do??
please help!!!!
hello…..i plugged in my ZTE modem on my ubuntu 18.04 , now i cant get it as mass storage . can you help me ? my major problem is i cant connect my modem in ubuntu 18.04
I’m extremely sorry that I’ve only tried this on ubuntu 16.04.
It works! With Usb modem Alcatel IK40…thank you so much !
I have a generic USB modem powered by Qualcomm chipset. When I plug it in, the lsusb shows: Bus 002 Device 003: ID 05c6:9008 Qualcomm, Inc. Gobi Wireless Modem (QDL mode). No disk listed. How to get this modem works in ubuntu?
Unfortunately, I haven’t tried this with a Qualcomm modem. Try following this. : https://ubuntuforums.org/showthread.php?t=1210259
the dongle is listed under Disks as shown in your article. But all the options including “Edit Mount Options” are grayed out and cannot be selected. Any idea on what’s going there and how to fix it?
iball airway 21 usb dongle failing to connect /dial internet in ubuntu 18.04/AMD64.
While installing has errors.
DTX5
/tmp/USBModem_2291/Linux/install: line 1083:
/usr/local/iBall_Airway_21.0MP-
58/lib/UpdateInstall/inputLog.txt: No such file or directory
The
software is exist. Do you want overwrite it? ([Y]/N):y
Local
path is: /home/iBall_Airway_21.0MP-58
Installing JRE…sed:
can’t read /home/iBall_Airway_21.0MP-
58/java/jre1.5.0_15/lib/i386/xawt/libmawt.so: No such file or
directory
[
done ]
Installing iBall Airway 21.0MP-58…cp: cannot create
regular file ‘/home/iBall_Airway_21.0MP-
58/java/jre1.5.0_15/lib/i386’: No such file or directory
cp:
cannot create regular file ‘/home/iBall_Airway_21.0MP-
58/java/jre1.5.0_15/lib/i386’: No such file or directory
cp:
cannot create regular file ‘/home/iBall_Airway_21.0MP-
58/java/jre1.5.0_15/lib/’: No such file or directory
cp: cannot
create regular file ‘/home/iBall_Airway_21.0MP-
58/java/jre1.5.0_15/lib/fonts/’: No such file or directory
ln:
failed to create symbolic link ‘/home/iBall_Airway_21.0MP-
58/java/jre1.5.0_15/lib/fonts/fallback’: No such file or
directory
WARNING: There were user data in your system. Do you
want to overwrite it? ([Y]/N):
Installing iBall Airway 21.0MP-
58…cp: cannot create regular file
‘/home/iBall_Airway_21.0MP-58/java/jre1.5.0_15/lib/i386’: No
such file or directory
cp: cannot create regular file
‘/home/iBall_Airway_21.0MP-58/java/jre1.5.0_15/lib/i386’: No
such file or directory
cp: cannot create regular file
‘/home/iBall_Airway_21.0MP-58/java/jre1.5.0_15/lib/’: No such
file or directory
cp: cannot create regular file
‘/home/iBall_Airway_21.0MP-58/java/jre1.5.0_15/lib/fonts/’: No
such file or directory
ln: failed to create symbolic link
‘/home/iBall_Airway_21.0MP-
58/java/jre1.5.0_15/lib/fonts/fallback’: No such file or
directory
WARNING: There were user data in your system. Do you
want to overwrite it? ([Y]/N):n
X5
ln: failed to create symbolic
link ‘/home/iBall_Airway_21.0MP-
58/java/jre1.5.0_15/lib/fonts/fallback’: No such file or
directory
X3
Installing usb drivers
[ done ]
Finished, press any key to exit
^[[A
/tmp/USBModem_2291/Linux/install Exit install and remove
temporary files
Press any key to exit.
Hello all, I have the same issue, I tried the solution above but it didn’t work, also, I don’t have the option broadband I have other names in the list. I attached a photo with the diffrent names I have. Could you please help me?
https://drive.google.com/open?id=10T9Re3kAyLh3pRrTDoaee45FCgMX8XYz
thank you …!!
I had the same issue, and refereed many guides but none of them worked. Ultimately I found the solution thanks to a local (Sri Lankan) Linux user group and thanks to someone called Hank Yo. Here is the solution he gave and worked for me;
1) go to terminal and type as “nmci d” (without inverted commas)
2) then if you gets an output saying Modem Manager drivers are not currently running. To start them type as follows;
sudo service ModemManager restart
sudo service NetworkManager restart
then problem will be solved. Perhaps you may need to type sudo service ModemManager restart every time you plug the dongle, to be connected.