Monday, October 17, 2016

Configuring Reliance NetConnect on Ubuntu 9 04

Configuring Reliance NetConnect on Ubuntu 9 04


Important: This post is for people living in India , using Reliance Netconnect and Huawei CDMA modem only.

Finally after spending close to six months in University, am back home. Now, at home my dad uses Reliance Netconnect ISP for Internet. It is extremely simple to configure Reliance Netconnect on Windows, as Reliance provides a very simple installer for modem as well as dialer which configures the connection, but it is bit tricky to do so if you are using one of the variants of Linux.

Now, in this tutorial I have tried explaining how to configure Reliance Netconnect on Ubuntu 9.04(though with slight modifications you should be able to configure Reliance Netconnect on any Linux distro by following these steps).

Installing wvdial

wvdial is dialer that allows you to connect to internet through a modem establishing a point to point link. Now for some strange reason( or perhaps because few people actually use dial up based internet connection) wvdial is not bundled with Ubuntu 9.04.

If you have access to internet, you can install wvdial by issuing this command in the terminal window:
sudo apt-get install wvdial
However, if you dont have access to internet on the machine you want to configure Reliance Netconnect on, download these packages from machine that has access to internet and install them by issuing the following command.

1. http://packages.debian.org/lenny/i386/libxplc0.3.13/download
2. http://packages.debian.org/lenny/i386/libwvstreams4.4-base/download
3. http://packages.debian.org/lenny/i386/libwvstreams4.4-extras/download
4. http://packages.debian.org/lenny/i386/libuniconf4.4/download
5. http://packages.debian.org/lenny/i386/wvdial/download

or you could download a zip file containing all these packages (has been hosted by some user , so download at your own risk) from this site.

Put all these packages in a folder (or extract the zip file , if you happen to download zip file instead) and issue the following command in that directory to install.
sudo dpkg -i *

Configuring wvdial

Now , we need to configure wvdial to connect to Reliance Netconnect; to do so open gedit or any other editor you like and modify the wvdial.conf file.

sudo gedit /etc/wvdial.conf
it should have default settings and section, dont modify them and instead add the following section:

[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

[Dialer netconnect]
Username = ( Add your Phone Number here)
Password = ( Add your phone number here)
Phone = #777
Stupid Mode = 1
Inherits = Modem0
Replace your Phone number with your actual phone number , like 93102xxxx for me and save the configuration file.

Now, once you are done configuring wvdial, connect by issuing the following command:
sudo wvdial netconnect and wait for pppd to start, once connection has been successful you should see local ip address , remote IP address and address of DNS servers on the screen. To disconnect , press Ctrl+C in the terminal window where you had connected.


Article Written by : Ambuj Varshney (blogambuj@gmail.com)
For Linux on Desktop Blog , http://linuxondesktop.blogspot.com
(C) 2009 , Ambuj Varshney

Go to link Download