2011-04-16

Huawei E173 on Ubuntu

I've been trying to get my Huawei E173 modem working on Ubuntu. I'm no Ubuntu expert and it took me half a day to get it working, so here's what I eventually did:

Use HyperTerminal on Windows to switch device into modem mode (factory default is to make it a CD-ROM and a microSD card reader). Install all the drivers and connect to correct COM port. In my case it was COM3, but it was just my case. I've been trying to issued AT on all COM ports and finally I saw OK. Then I issued AT^U2DIAG=0 which also resulted in OK. If you don't want to do this, you can try using usb_modeswitch.

On Ubuntu I've inserted the device, and issued lsusb:

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

I've edited /etc/modules and added a line:

usbserial vendor=0x12d1 product=0x1c05

Reboot.

Configure your mobile broadband connection using gnome network manager.

Use at your own risk (especially the Windows part).


2011-07-29 16:41:45
zman
can you explain it how did you configure hyper terminal? which windows do you use?
2011-07-29 16:42:42
zman99
can you explain it how did you configure hyper terminal? which windows do you use?
2011-08-15 12:12:17
Jakub Fedyczak
I can't remember which Windows version I'd used, but even in Windows 7 Hyper Terminal is available as a free download. I've connected to the modem's COM port using default settings.
2011-10-15 19:06:15
hh
I had the same problem. First (but with ZET-surfstick) I tried to reinstall usb-modeswitch, even if my version seemes to be quite recent.
Zhat mabe did the trick. Then I changed the ZET surfstick against the Huawai-stick. But a minute later I was asked for the PIN for the Huawei stick and all went well. I then edited conection form to the other PIN and that was it.

hh
2012-05-04 04:41:33
Silvio Arnone
Thank you very much Jakub, following your "lesson" I have been able to get connection on Ubuntu 12.04 LTS 32 bit with Huawei E173 (using usb_modeswitch already installed on Ubuntu).
2012-05-21 21:35:52
Mark Cross - m1bxd
Hi,

You are a popular person!!!!

There are 4 saves on delicious.com

THANK YOU
2012-10-17 05:08:37
kamyen
Hi Jakub, this article is really a thumbs-up, it help :)

I follow your steps and I got my modem working inside Ubuntu 12.04 64bit LTS.
2013-01-06 11:07:47
afelaho
Here is the process:

1) Connect the modem to a PC running Windows and make sure it works.
2) Disconnect your computer from the network and the Internet and run Hyper Terminal.
Hyper Terminal program found under Start> Programs> Accessories> Communications> Hyper Terminal - in running Windows XP, and for Windows7 it to load.
3) In the "Connection Description" write any name, say "Huawei", and press ENTER. We are waiting for the appearance of the window "Connect". In his latest column "Connect using" to select "HUAWEI Mobile Connect - 3G Modem" and click OK.
Next after that a window with a phone number and other parameters need to just close by pressing the "Cancel".
4) Now on the toolbar of the program, press the last button "Properties":
And that opens the Properties window: the modem "select the tab" Options:
Click "Options ASCII":
Put a tick in the second top box "Show input characters on the screen."
Click OK. The top window is closed. Click OK. The last window closes, and the main window, flashing cursor.
5) Turn on CAPS LOCK and print command AT. Press ENTER. Comes the answer: OK. Means connected to the modem is installed. Introduce one of the following:
AT ^ U2DIAG = 0 (device-only modem)
AT ^ U2DIAG = 1 (the device as a modem + CD-ROM)
AT ^ U2DIAG = 255 (the device as a modem + CD-ROM + Card Reader)
AT ^ U2DIAG = 256 (the device as a modem + Card Reader).
2013-06-04 10:34:42
Asparuh
Thank you for this. This is the most elegant solution I've come across so far.
Add comment...