Using CDMA Wireless Modem in Ubuntu
Using CDMA USB Wireless Modem with NTC Sky Phone R-UIM in Ubuntu!
Things needed:
CDMA USB Wireless Modem- ~3000 rupees.
R-UIM Card from NTC ~1200 rupees.
Ubuntu 7.10 (Not sure about other versions!)
Just Put the RUIM inside the wireless modem and plug it to the USB Port.
1. Put in the 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'
This is my setting:
________________________________
[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 = 9741147061
Username = 9741147061
______________________________
make sure that the password and username is the same.. that is.. your phone number!
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:
________________________________________
[email protected]:~$ 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
____________________________________________________________
Yeppie!!! it'll work now...(thanks jwalanta!)
P.S: dont go 'multimedia' unless you are a millionaire...
Things needed:
CDMA USB Wireless Modem- ~3000 rupees.
R-UIM Card from NTC ~1200 rupees.
Ubuntu 7.10 (Not sure about other versions!)
Just Put the RUIM inside the wireless modem and plug it to the USB Port.
1. Put in the 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'
This is my setting:
________________________________
[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 = 9741147061
Username = 9741147061
______________________________
make sure that the password and username is the same.. that is.. your phone number!
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:
________________________________________
[email protected]:~$ 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
____________________________________________________________
Yeppie!!! it'll work now...(thanks jwalanta!)
P.S: dont go 'multimedia' unless you are a millionaire...
Comments
Thanks for reading.
I using unbuntu in dell inspiron mini. I want to use NTC skydata internet using g-link cdma modem. But I could not set up it.
when I try to as above instructions, I got the following error
[email protected]:~$ /etc/wvdial.conf
bash: /etc/wvdial.conf: Permission denied
[email protected]:~$