I have Reliance Netconnect + Broadband and I tried to connect internet in my ubuntu linux box. First I tried to connect it by using the Network Connection manager but I failed in it. So I tried with wvdial package to connect with Internet. Wvdial is a point-to-point protocol and it dials the modem and starts pppd in order to connect internet.

Check your host have wvdial package

root@linuxintenretworks.com:/home/tamil# dpkg –list | grep wvdial
wvdial1.61-4build1 intelligent Point-to-Point Protocol dialer

In my case I have already installed wvdial package. If you want to install it, use apt-get or software update manager

#apt-get update

# apt-get install wvdial

Now connect your modem with your host and open the terminal,type the command wvdialconf. Now it will check for modem on all the available interfaces

root@linuxintenretworks.com:/home/tamil# wvdialconf

Editing `/etc/wvdial.conf’.

Scanning your serial ports for a modem.

Modem Port Scan<>: S0   S1   S2   S3   S4   S5   S6   S7
Modem Port Scan<>: S8   S9   S10  S11  S12  S13  S14  S15
Modem Port Scan<>: S16  S17  S18  S19  S20  S21  S22  S23
Modem Port Scan<>: S24  S25  S26  S27  S28  S29  S30  S31
ttyUSB0<>: ATQ0 V1 E1 — OK
ttyUSB0<>: ATQ0 V1 E1 Z — OK
ttyUSB0<>: ATQ0 V1 E1 S0=0 — OK
ttyUSB0<>: ATQ0 V1 E1 S0=0 &C1 — OK
ttyUSB0<>: ATQ0 V1 E1 S0=0 &C1 &D2 — OK
ttyUSB0<>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 — OK
ttyUSB0<>: Modem Identifier: ATI — Manufacturer: QUALCOMM INCORPORATED
ttyUSB0<>: Speed 9600: AT — OK
ttyUSB0<>: Max speed is 9600; that should be safe.
ttyUSB0<>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 — OK
ttyUSB1<>: ATQ0 V1 E1 — failed with 2400 baud, next try: 9600 baud
ttyUSB1<>: ATQ0 V1 E1 — failed with 9600 baud, next try: 9600 baud
ttyUSB1<>: ATQ0 V1 E1 — and failed too at 115200, giving up.
ttyUSB2<>: ATQ0 V1 E1 — failed with 2400 baud, next try: 9600 baud
ttyUSB2<>: ATQ0 V1 E1 — failed with 9600 baud, next try: 9600 baud
ttyUSB2<>: ATQ0 V1 E1 — and failed too at 115200, giving up.
ttyUSB3<>: ATQ0 V1 E1 — failed with 2400 baud, next try: 9600 baud
ttyUSB3<>: ATQ0 V1 E1 — failed with 9600 baud, next try: 9600 baud
ttyUSB3<>: ATQ0 V1 E1 — and failed too at 115200, giving up.
ttyUSB4<>: ATQ0 V1 E1 — failed with 2400 baud, next try: 9600 baud
ttyUSB4<>: ATQ0 V1 E1 — failed with 9600 baud, next try: 9600 baud
ttyUSB4<>: ATQ0 V1 E1 — and failed too at 115200, giving up.

Found a modem on /dev/ttyUSB0.
Modem configuration written to /etc/wvdial.conf.
ttyUSB0<Info>: Speed 9600; init “ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0″

Edit the configuration file and enter the username and password details

root@linuxinternetworks.com:/home/tamil# vim /etc/wvdial.conf

[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
Baud = 9600
New PPPD = yes
Modem = /dev/ttyUSB0
ISDN = 0

Phone = #777
Password =  <your password>
Username = <your username>

Save and quit the file.

Now start the modem connection

root@linuxinternetworks.com:/home/tamil# wvdial
–> WvDial: Internet dialer version 1.61
–> Initializing modem.
–> 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#777
–> Waiting for carrier.
ATDT#777
CONNECT 3100000
–> Carrier detected.  Waiting for prompt.
–> Don’t know what to do!  Starting pppd and hoping for the best.
–> Starting pppd at Sun Sep 16 20:54:47 2012
–> Pid of pppd: 4345
–> Using interface ppp0
–> pppd: �[7f]
–> pppd: �[7f]
–> pppd: �[7f]
–> local  IP address x.x.x.x
–> pppd: �[7f]
–> remote IP address x.x.x.x
–> pppd: �[7f]
–> primary   DNS address x.x.x.x
–> pppd: �[7f]
–> secondary DNS address x.x.x.x
–> pppd: �[7f]

Dont close it and open a new tab in terminal and login as root user

Check the nameserver entries in /etc/resolv.conf add the google public dns address in it

vim /etc/resolv.conf

nameserver 8.8.8.8

save and quit the file. Now check the internet connectivity

root@linuxinternetworks.com:/home/tamil# ping google.com -c 4
PING google.com (173.194.36.5) 56(84) bytes of data.
64 bytes from bom04s01-in-f5.1e100.net (173.194.36.5): icmp_req=1 ttl=57 time=125 ms
64 bytes from bom04s01-in-f5.1e100.net (173.194.36.5): icmp_req=2 ttl=57 time=144 ms
64 bytes from bom04s01-in-f5.1e100.net (173.194.36.5): icmp_req=3 ttl=57 time=132 ms
64 bytes from bom04s01-in-f5.1e100.net (173.194.36.5): icmp_req=4 ttl=57 time=115 ms

— google.com ping statistics —
4 packets transmitted, 4 received, 0% packet loss, time 3001ms
rtt min/avg/max/mdev = 115.611/129.585/144.695/10.630 ms

If you find any issues or any other alternative method please do let me know through comments.

Happy Surfing :)

Related Articles


Subscribe Our Free Newsletter

Delivered by FeedBurner. We Respect Your Privacy

Leave a Reply

%d bloggers like this: