contador web Skip to content

Install 3G modem on Ubuntu and Derivatives

This really useful tip and most importantly WORKS! This tutorial is for installing the Huawei E173 Modem on Ubuntu 10. (But I believe it works on 11 and its derivatives), just for the record this modem was successfully installed on Linux Mint 10 and works perfectly. Let's go then: 1 Step

1 – Create the file /etc/usb_modeswitch.d/12d1:1c0b

sudo gedit /etc/usb_modeswitch.d/12d1:1c0b
 
 
 
2 - Coloque o contedo abaixo e salve o arquivo:   

################################################## ###### # Huawei E173s

DefaultVendor = 0x12d1 DefaultProduct = 0x1c0b

TargetVendor = 0x12d1 TargetProduct = 0x1c05

CheckSuccess = 20

MessageEndpoint = 0x0f MessageContent = "55534243123456780000000000000011062000000100000000000000000000"

3 – Modify the file /lib/udev/rules.d/40-usb_modeswitch.rules

 
sudo gedit /lib/udev/rules.d/40-usb_modeswitch.rules
 
 
 
 
4 - Adicione as linhas abaixo e salve o arquivo:   

#Huawei E173sATTRS {idVendor} == "12d1", ATTRS {idProduct} == "1c0b", RUN + = "usb_modeswitch '% b /% k'"

Ready.

Now plug in the modem, wait a while, open the network connection edit window and add a "Mobile Broadband" connection. The modem should be recognized and should appear in the first window, then just set the APN, username and password. Right click on the network icon on the right side of the screen, edit connections, wireless broadband, then you choose the Your carrier, in my case I am using live, the other information by default will already be correct. You do not need to enter the PIN number in the configuration. You can still check the option to connect automatically as soon as it is available as it happens.

It is. But finally a Note: It was necessary to remove the modem and restart the PC.

That's it guys.