Recently I purchased few Huawei E173 modems for my organization. Configuring them on ubuntu was the next part which I need to take care of. There were couple of solutions available out there where i searched, but this one was the very basic one and didn’t needed any special drivers or installation of any special software.

So, When you attach modem to your machine, the modem gets detected as a cd-rom or micro-sd card. So, to get it detected as a modem, you have to use usb_modeswitch. So, for that usb_modeswitch needs to be installed at your machine. Though it normally come installed with the default installation of ubuntu or else you can use this command to install it.

# sudo aptitude install usb_modeswitch -y

Once this is installed, attach your modem. Then issue this command.

# lsusb

Bus 001 Device 003: ID 12d1:1d35 Huawei Technologies Co., Ltd.

With this command you will be able to find out vendor id and the product id of the modem. Now just open the /etc/modules file and put in a new line there

usbserial vendor=0x12d1 product=0x1d35

Save and Quit the file and simply reboot the machine.

Once the machine is up, use the network manager to configure your modem.

Still If you know any other much simpler or better way to do it, please comment and I will include that in my post.

If you enjoyed this post, make sure you subscribe to my RSS feed!!!!