will first you need to install the modem drivers
the tool i use to make the connection is wvdial so
1.apt-get install wvdial
2.configer the vim /etc/wvdial.conf file
will for my isp its work like that : (you only need to compare and change it)
[Dialer Defaults]
Init1 = ATZ
#Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init2 = AT+CGDCONT=1,"IP","internetg"
Modem Type = Analog Modem
Baud = 460800
New PPPD = yes
Modem = /dev/ttyUSB0
ISDN = 0
Phone = *99#
Password = cellcom
Username = cellcom
save it and run it with the command " wvdial "
have fun ! :-)
OR
use the script : for HSDPA
[Dialer Defaults]
Phone = *99#
Username = cellcom
Password = cellcom
Stupid Mode = 1
Dial Command = ATDT
[Dialer hsdpa]
Modem = /dev/ttyUSB0
Baud = 460800
Init1 = ATZ
Init2 = AT+CGDCONT=1,"IP","internetg"
ISDN = 0
and to connect use : "wvdial hsdpa"
No comments:
Post a Comment