MONDAY, APRIL 21, 2014
Font Size

Huawei E3131 – Disabling HiLink and turning into a dialup modem.

For a while been searching for the holy grail of disabling HiLink and reverting my new Huawei E3131 dongles back to the dialup modem based operation of previous dongles.

First step is to enable the serial console. To do this plug in your dongle and visit the following webpage

http://192.168.1.1/html/switchProjectMode.html

The modem will now restart and present a couple of serial interfaces instead.

Connect to the fist of the two interfaces, eg /dev/ttyUSB0 with a Baud rate of 9600bps using a terminal client of your choice. I used minicom, which is available in most distros repos. And type the modem the following command.

AT^U2DIAG=0

If this is succesful it will respond with OK.
This will cause the device to permamently function in modem mode when plugged in. To restore its HiLink functionality. Do the same and send the following command instead.

AT^U2DIAG=119

Once the device has had its mode changed in this way. It requires removing and plugging back in to take effect.

Operating in modem mode it will change its product ID and should look like this (lsusb)

Bus 001 Device 082: ID 12d1:1c05 Huawei Technologies Co., Ltd. E173s 3G broadband stick (modem on)

If you don’t have the virtual tty’s created upon device insertion. Then manually bind it too the option module like follows (As root obviously)

echo “12d1 1c05″ > /sys/bus/usb-serial/drivers/option1/new_id

From there you can dial out as accustomed using the first created virtual tty. eg, /dev/ttyUSB0

 

Reference: http://mymodem.in/huawei-hilink-webui-world-1st-available-for-dl/
And thanx to Nirav for figuring how to enable the serial interface. :-)

Recent Tweets

View more tweets

Login Form