OptoLogon for e220 modems

Commands to be executed are underlined
first get your dialer program
apt-get install wvdial
apt-get install  ppp

pluma /etc/wvdial.conf and get rid of any stuff in there and replace with below


[Dialer hsdpa]
Phone = *99#!
Username = 65
Password = user123
Stupid Mode = 1
Dial Command = ATDT
Modem = /dev/ttyUSB0
Baud = 460800
Init2 = ATZ
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem

now run this command

wvdial hsdpa

--> WvDial: Internet dialer version 1.61
--> Initializing modem.
--> Sending: ATZ
OK
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT*99#!
--> Waiting for carrier.
ATDT*99#!
CONNECT
--> Carrier detected.  Starting PPP immediately.
--> Starting pppd at Thu Sep  3 03:11:59 2015
--> Pid of pppd: 5568
--> Using interface ppp0
--> local  IP address 10.210.6.188
--> remote IP address 10.64.64.67
--> primary   DNS address 211.29.132.15
--> secondary DNS address 198.142.0.50

Comments