This method works with Ubuntu 8.04 LTS
but for later versions of Ubuntu you have to install the wvdial package
before you configure your CDMA Modem.
There are some devices which is compatible with Ubuntu. To determine if your device is compatible just run this command on terminal.
There are some devices which is compatible with Ubuntu. To determine if your device is compatible just run this command on terminal.
$ ls /dev/ttyUSB*
If the result is/dev/ttyUSB0 , then your are lucky mate.
Now you have to modify the /etc/wvdial.conf file. In terminal do
here is how my file looks like (for UTL CDMA)
[Dialer Defaults]
Modem = /dev/ttyUSB0
Baud = 230400
Init1 = ATE0
#Init2 = AT$PBTYPE=1 RPTCON=1 MTRPTTYPE=3 SMSRUIM=0 SMSTYPE=1
Init3 = AT+CTA=0
Init4 = ATEOV1
Init5 = AT
Init6 = ATS0=0
ISDN = 0
Modem Type = Analog Modem
Phone = #777
Username = myphonenumber@utlnepal.com
Password = myphonenumber
Stupid Mode = 1
New PPPD = yes
Modem = /dev/ttyUSB0
Baud = 230400
Init1 = ATE0
#Init2 = AT$PBTYPE=1 RPTCON=1 MTRPTTYPE=3 SMSRUIM=0 SMSTYPE=1
Init3 = AT+CTA=0
Init4 = ATEOV1
Init5 = AT
Init6 = ATS0=0
ISDN = 0
Modem Type = Analog Modem
Phone = #777
Username = myphonenumber@utlnepal.com
Password = myphonenumber
Stupid Mode = 1
New PPPD = yes
Save it and then dial
$ sudo wvdial
after about 15-20 seconds it should give you the ip address, enjoy you internet mate.
To disconnect internet simply press Ctrl + C on the terminal.
0 comments:
Post a Comment