Install USB CDMA Modem in Ubuntu 8.10

9 views
Skip to first unread message

kshitiz

unread,
May 14, 2009, 9:43:02 PM5/14/09
to *nixDharan
1. Put in the UTL RUIM into the device and insert as USB.

2. Now you need to edit the file called /etc/wvdial.conf by the
command ’sudo nano /etc/wvdial.conf’
______________________________
[Dialer Defaults]
In it1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = USB Modem
Baud = 460800
New PPPD = yes
Modem = /dev/ttyACM0
ISDN = 0
Phone = #777
Password = mobileno
Username = mobi...@utlnepal.com
______________________________
save the file using Ctrl+X

3. Now edit the file /etc/network/interfaces by the command ’sudo
nano /etc/network/interfaces’
_______________________________
auto lo
iface lo inet loopback

iface ppp0 inet ppp
provider ppp0
gateway 10.64.64.64
_______________________________
now save the file again using Ctrl+X

4. Now the file called /etc/resolv.conf is edited using ’sudo nano /
etc/resolv.conf
________________________________
nameserver 202.70.64.5
nameserver 202.70.64.15
________________________________
save again using Ctrl+X

5. You are done.. now you are just so close to surfing… wait for a
second now.. now restart your machine…

6. In the terminal type : ‘wvdial’
you will now get:
________________________________________
abish@lappy:~$ wvdial
WvDial<*1>: WvDial: Internet dialer version 1.56
WvModem<*1>: Cannot get information for serial port.
WvDial<*1>: Initializing modem.
WvDial<*1>: Sending: ATZ
WvDial Modem<*1>: ATZ
WvDial Modem<*1>: OK
WvDial<*1>: Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
WvDial Modem<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
WvDial Modem<*1>: OK
WvDial<*1>: Modem initialized.
WvDial<*1>: Sending: ATDT#777
WvDial<*1>: Waiting for carrier.
WvDial Modem<*1>: ATDT#777
WvDial Modem<*1>: CONNECT
WvDial<*1>: Carrier detected. Waiting for prompt.
WvDial<Notice>: Don’t know what to do! Starting pppd and hoping for
the best.
WvDial<Notice>: Starting pppd at Fri Apr 18 10:55:37 2008
WvDial<Err>: Warning: Could not modify /etc/ppp/pap-secrets:
Permission denied
WvDial<Err>: –> PAP (Password Authentication Protocol) may be flaky.
WvDial<Err>: Warning: Could not modify /etc/ppp/chap-secrets:
Permission denied
WvDial<Err>: –> CHAP (Challenge Handshake) may be flaky.
WvDial<Notice>: Pid of pppd: 6261
WvDial<*1>: Using interface ppp0
WvDial<*1>: local IP address 10.0.0.165
WvDial<*1>: remote IP address 10.64.64.64
WvDial<*1>: primary DNS address 202.70.64.5
WvDial<*1>: secondary DNS address 202.70.64.15


************************************************************************************************************
Actually, I got this from Abish's blog. I did these in my Ubuntu 8.10.
I thought it will work. But when I hit wvdial in Terminal, I did not
get this message. There was something like Cud not find .. Cud not
check..
It may be the cause due to IP addresses.. With what ipaddress should i
need it to replace?
What may be the cause.. Please...Help me..

Kshitiz

Tushar Neupaney

unread,
May 15, 2009, 2:44:06 AM5/15/09
to kshitiz, *nixDharan
kshitiz please upload the file dcom.foo which will result after running the attached script which I am sending and attach the file in the reply. Need to see what error messages comes.

-Tushar

2009/5/15 kshitiz <aakasho...@gmail.com>
comp-details.sh

Ķ$ħįŧįž

unread,
May 16, 2009, 1:56:01 AM5/16/09
to *nixDharan
Ok.. I will post it..
Reply all
Reply to author
Forward
0 new messages