Sunday, February 14, 2010

Huawei E1762 on Linux

You'll need two packages

usb-modeswitch version > 1.07 and
usb-modeswitch-data file dated > 10 Jan 2010.

If you are using Debian based distribution like Ubuntu, you can download them from any of the location in the link below

usb-modeswitch
usb-modeswitch-data

Install both packages at the same time
#sudo dpkg -i usb-modeswitch_1.0.7-1_i386.deb usb-modeswitch-data_20100110-1_all.deb
To check if the dongle is detected correctly, run the command
#lsusb
You should see something like this
Bus 002 Device 009: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E270 HSDPA/HSUPA Modem
usb
If you see something like this
Bus 002 Device 002: ID 12d1:1446 Huawei Technologies Co., Ltd
take note of the vendor ID and product ID, which on the examples above is 12d1 and 1466 respectively, and run the command
#usb_modeswitch -H -v 12d1 -p 1446
If you are using on a 64-bit architecture, you can download them here

If you are not using a Debian based distribution, you can download the files below

usb-modeswitch-1.1.0.tar.bz2
usb-modeswitch-data-20100203.tar.bz2