Connect Huawei Modem Linux - USB Modeswitch
Generally, if you plugged a USB modem to a Linux, it identifies the modem, as a USB Storage device. So due to that you can't access internet through your USB Modem. So you must change the device identification. For that, you need usb-modeswitch package. if you currently have internet in your system, you can install it easily.
First you must check whether the usb-modeswitch is already installed in your system.
For that open Terminal and type sudo usb_modeswitch . If it already installed in your system the output will be like this.
If not you will get this error message
bash: usb_modeswitch: command not found
Now you can install it by following commands.
sudo apt-get update
sudo apt-get install usb-modeswitch
If you currently don't have internet in your system you can download usb-modeswitch packages from below links.
Ubuntu/Lubuntu/Kubuntu (ubuntu base)
lucid
http://packages.ubuntu.com/lucid/usb-modeswitch
precise
http://packages.ubuntu.com/precise/usb-modeswitch
trusty
http://packages.ubuntu.com/trusty/usb-modeswitch
utopic
http://packages.ubuntu.com/utopic/usb-modeswitch
Debian
wheezy
https://packages.debian.org/wheezy/comm/usb-modeswitch
sid
https://packages.debian.org/sid/usb-modeswitch
For RPM Base Systems
http://rpm.pbone.net/index.php3?stat=3&search=usb_modeswitch&srodzaj=3
Install it through your package manager
First you must check whether the usb-modeswitch is already installed in your system.
For that open Terminal and type sudo usb_modeswitch . If it already installed in your system the output will be like this.
bash: usb_modeswitch: command not found
Now you can install it by following commands.
sudo apt-get update
sudo apt-get install usb-modeswitch
If you currently don't have internet in your system you can download usb-modeswitch packages from below links.
Ubuntu/Lubuntu/Kubuntu (ubuntu base)
lucid
http://packages.ubuntu.com/lucid/usb-modeswitch
precise
http://packages.ubuntu.com/precise/usb-modeswitch
trusty
http://packages.ubuntu.com/trusty/usb-modeswitch
utopic
http://packages.ubuntu.com/utopic/usb-modeswitch
Debian
wheezy
https://packages.debian.org/wheezy/comm/usb-modeswitch
sid
https://packages.debian.org/sid/usb-modeswitch
For RPM Base Systems
http://rpm.pbone.net/index.php3?stat=3&search=usb_modeswitch&srodzaj=3
Install it through your package manager
eg - Debian
dpkg -i usb_modeswitch.deb
Let's see how to connect Huawei USB modems. First you should check that, already the kernel has detected the usb modem . Type lsusb .
If you have 3G/LTE/UMTS/GSM Modem/Networkcard in your output your modem has been already detected.
Though the modem has been already detected, but if you cannot connect via network manager, watch this YouTube video
http://youtu.be/izy8IfwjP8o?list=PLYfMMo969k2T8v-cm2DQIwWo22zLM3KOA
If your USB modem is not detected, you should get your Modem's vendor ID and Product ID. To get it Type lsusb .
The 4 first hexadecimal digits are the Vendor ID.
The 4 last hexadecimal digits are the Device ID.
For Huawei{
sudo usb_modeswitch -H -v vender -p product
eg -
sudo usb_modeswitch -H -v 12d1 -p 1506
}
Though it has been detected and still cannot connect via the network manager please watch this YouTube video.
http://youtu.be/izy8IfwjP8o?list=PLYfMMo969k2T8v-cm2DQIwWo22zLM3KOA
Though the modem has been already detected, but if you cannot connect via network manager, watch this YouTube video
http://youtu.be/izy8IfwjP8o?list=PLYfMMo969k2T8v-cm2DQIwWo22zLM3KOA
If your USB modem is not detected, you should get your Modem's vendor ID and Product ID. To get it Type lsusb .
The 4 first hexadecimal digits are the Vendor ID.
The 4 last hexadecimal digits are the Device ID.
For Huawei{
sudo usb_modeswitch -H -v vender -p product
eg -
sudo usb_modeswitch -H -v 12d1 -p 1506
}
Though it has been detected and still cannot connect via the network manager please watch this YouTube video.
Comments
Post a Comment