Huawei in Debian
Nowadays, there are many methods to connect to the internet. ADSL connection using the the ethernet protocol was the easiest to connect. So far the several Huawei devices gave me the most of the headache. I have tried two of them; one from Zain, Bahrain and the other from Mobily, Saudi Arabia.
For me, the easiest method to connect to the is using wvdial from the command line. Here is the my /etc/zain.conf:
Phone = *99#
Username = hsdpa
Password = hsdpa
Stupid Mode = 1
Dial Command = ATDT
Auto DNS = 0
Modem = /dev/ttyUSB0
[Dialler huawei]
Baud = 460800
Init2 = ATZ
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init4 = AT+CGDCONT=1,"IP","Internet"
ISDN = 0
Modem Type = Analog Modem
and here is my /etc/mobily.conf:
[Dialer Defaults]
Phone = *99#
Username = web2
Password = web2
Stupid Mode = 1
Dial Command = ATDT
Auto DNS = 0
Modem = /dev/ttyUSB0
[Dialler huawei]
Baud = 460800
Init2 = ATZ
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init4 = AT+CGDCONT=1,"IP","Internet"
ISDN = 0
Modem Type = Analog Modem
Some line may not be needed but I did not investigate and it works this way :-)
To connect type in console:
#wvdial -C /etc/zain.conf
or:
#wvdial -C /etc/mobily.conf
Make sure yout type -C not -c (capital C)
I have tried these in Debian but it should work with any distribution.
hope this will save some people some brain cells
![Entries Feed [Entries Feed]](/sites/mishkah.org/files/xml.png)




![Validate my RSS feed [Valid RSS]](sites/mishkah.org/files/valid-rss.png)


Post new comment