Sie sind auf Seite 1von 2

Huawei e3131 Hilink Ubuntu 12.

10
Hello,
some time ago i had problem with connecting two Huawei e3131 Hilink modems to
Ubuntu.
Hilink formware installed on modem makes it impossible.
To make the switch plug in the modem wait for Hilink to initialize and go to:
HTML Code:
http://192.168.1.1

Make sure automatic connect and reconect is disabled, disable everything even delete
AP using web page.
go to:
HTML Code:
http://192.168.1.1/html/switchProjectMode.html

modem will disconnect and switch to serial, new device should apear in:
HTML Code:
/dev/ttyUSB*

connect to it using com trminal of your choice:


EX.
Code:
minicom -D /dev/ttyUSB0

To enable gms modem mode execute the following:


Code:
AT^U2DIAG=0

To switch back HiLink execute:


Code:
AT^U2DIAG=119

Remove the modem and plug it again for changes to take effect.
If after pluging in there are no /dev/ttyUSB* devices check lsusb:
Code:
# lsusb
Bus 002 Device 002: ID 12d1:1c05
3G broadband stick (modem on)
Bus 003 Device 002: ID 0930:0508
HCI
Bus 001 Device 001: ID 1d6b:0002
Bus 002 Device 001: ID 1d6b:0002
Bus 003 Device 001: ID 1d6b:0001
Bus 004 Device 001: ID 1d6b:0001

Huawei Technologies Co., Ltd. E173s


Toshiba Corp. Integrated Bluetooth
Linux
Linux
Linux
Linux

Foundation
Foundation
Foundation
Foundation

2.0
2.0
1.1
1.1

root
root
root
root

hub
hub
hub
hub

Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

If there is a modem availible...


Code:
$modprobe usbserial
$modprobe serial
$echo "12d1 1c05" > /sys/bus/usb-serial/drivers/option1/new_id

Now /dev/ttyUSB* should apear.


Use wvdial to connect:
Edit wvdial config:
Code:
nano /etc/wvdial.conf

thats what's my config:


Code:
[Dialer aero1]
Modem = /dev/ttyUSB0
Init1 = ATRC=0
Init2 = AT^CURC=0
Init3 = AT+CGDCONT=1,"IP","darmowy"
Phone = *99#
Stupid mode = yes
Username = "aero"
Password = "aero"
Dial Attempts = 0
Auto Reconect = yes
[Dialer aero2]
Modem = /dev/ttyUSB3
Init1 = ATRC=0
Init2 = AT^CURC=0
Init3 = AT+CGDCONT=1,"IP","darmowy"
Phone = *99#
Stupid mode = yes

to connect execute:
Code:
wvdial aero1
wvdial aero2

the modem will auto reconnect to the network if connection is lost.


Cheers!
http://ubuntuforums.org/showthread.php?t=2076601

Das könnte Ihnen auch gefallen