Wednesday, January 27, 2010

Huawei e1750 on Linux (TMN - Portugal)

Once again the answer is usb_modeswitch!!! If you remember this: Tutorial de Instalação para Placa TMN de Banda Larga ZTE MF620, the process is the same.

In a few steps, you need to do this:
sudo apt-get install libusb-dev
sudo tar xjvf usb-modeswitch-1.1.0.tar.bz2
cd usb-modeswitch-1.1.0/
make clean
make install

If you prefer, it is possible to install the deb package of usb_modeswitch :
wget https://forge.betavine./frs/download.php/490/usb-modeswitch_0.9.7_i386.deb
dpkg -i usb-modeswitch_0.9.7_i386.deb

edit the file /etc/usb_modeswitch.conf

vim /etc/usb_modeswitch.conf

and add this vendor to the file:

DefaultVendor= 0x12d1
DefaultProduct= 0x1446

TargetVendor = 0x12d1
TargetProduct= 0x1001


Create the following file in udev rules

vim /etc/udev/rules.d/15-huawei-e1750.rules
Copy the following text:
SUBSYSTEM=="usb", SYSFS{idProduct}=="1446", SYSFS{idVendor}=="12d1", RUN+="/usr/sbin/usb_modeswitch"

restart service udev

/etc/init.d/udev restart
With network-manager configure to use TMN

No comments: