Mobile-Broadband stick sometimes not detected at all
Solution 1:
This is a common problem of Huawei dongles and there is no clearly recognized fix for this. Some Huawei dongles simply switches off when you put your laptop into sleep mode. Here I'm explaining common workarounds you have.
After waking up from sleep, you have to usually remove and plug the 3G dongle back.
In most cases the dongle is re-detected automatically. If not you have to try following commands in your Terminal:
Restart the modem manager:
sudo restart modemmanager
Wait few seconds, until the dongle is prepared, and flip it into modem mode:
sudo eject sr1
(If you don't have an optical disc drive, change sr1
to sr0
)
You can clearly identify whether the dongle is detected or not by reading the Linux kernel ring buffer. Execute this command in Terminal and plug in your dongle:
watch 'dmesg | tail -f'
A sample output:
In the above image my Huawei dongle has been successfully detected. You have to check whether your dongle gets detected like this after waking up from sleep.
It is known that some Huawei hardware doen't work properly without the proprietary driver.
You can install Huawei Mobile Partner
software (which includes the driver) and try to establish Internet through it:
There is a higher chance that you can find the Huawei Mobile Partner available inside your dongle.
If you don't have the driver with you, heres how to download and install it:
Installing Huawei Mobile Partner 22
-
If you don't have Internet to the host machine, first click here & download the Huawei Mobile Partner 22 to your Home directory. Then execute the below command in Terminal:
tar -xvzf megafone.tar.gz; cd mp22-linux-64; chmod +x install; sudo ./install
-
If you already have Internet to your machine copy the below command into the Terminal at once and execute it:
wget -O mp22-linux-64.tar.gz https://db.tt/XtrP9KPw; tar -xvzf mp22-linux-64.tar.gz; cd mp22-linux-64; chmod +x install; sudo ./install
If your dongle is not detected by 22nd version of mobile partner, you may try installing 21 or 23.
Alternatively, you can use Sakis3G to connect your dongle to the Internet.