Huawei E3131S-2 on Ubuntu 12.04 with wvdial

It works out of the box with a plain wvdial after a small adjustment (need to erase the +FCLASS=0 part). It is detected as the following device (after the automatic mode switch):

ID 12d1:1506 Huawei Technologies Co., Ltd. E398 LTE/UMTS/GSM Modem/Networkcard

For the record, I paste the wvdial.conf configured for T-Mobile in Hungary:

[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CGDCONT=1,"IP","internet"
Modem = /dev/ttyUSB0
Username = wap
Password = wap
Modem Type = Analog Modem
Baud = 9600
New PPPD = yes
ISDN = 0
Phone = *99#
Stupid Mode = 1

Most of the settings are not crucial, but some of them depend on your carrier, like "Init3", "Username" and "Password", while "Modem" depends on your device.

Comments

Popular posts from this blog

Tftp secret of TL-WR740N uncovered

Hidden TFTP of TP-Link routers

Haskell for embedded: C output, compilers, monads, Timber