We thought of writing this post a long time back, today time has come. Recently we bought Reliance Net-connect device for browsing INTERNET on the go. As I am taking long leaves in this month. Here are the steps how we configured reliance net-connect on Ubuntu 11.04 which will be same for all the Ubuntu versions(10.10, 10.04, 9.10, 9.04)

Lets start with the configuration. I have HUAWEI MODLE NUMBER HUAWEI EC1262

Step1: Install the wvdail package using apt-get install command.

#apt-get install wvdial

or download below packages from other machine which is having INTERNET and then install manually on the required machine, I have zipped these packages and kept here.

libuniconf4.6 libwvstreams4.6-base libwvstreams4.6-extras wvdial 

Execute below command on the target machine where you saved the above files.

dpgk -i *

Step2: Now once you install these packages configure wvdail. Edit the /etc/wvdail.conf file and give below details

[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 reliance_netconnect] 

Username = “Add reliance netconnect phone number here with out quotes”

Password = “Add reliance netconnect phone number here with out quotes”

Phone = #777 

Stupid Mode = 1 

Inherits = Modem0 

Step3: Save and exit the file and now start wvdail service as shown below

wvdial reliance_netconnect

Logs for the ref..

root@surendra:/home/surendra# wvdial netconnect 

--> WvDial: Internet dialer version 1.61 

--> Warning: inherited section [Modem0] does not exist in wvdial.conf 

--> 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 

--> Carrier detected. Starting PPP immediately. 

--> Starting pppd at Thu Aug 11 00:21:24 2011 

--> Pid of pppd: 3460 

--> Using interface ppp0 

--> pppd: HLw[08]HLw[08] 

--> pppd: HLw[08]HLw[08] 

--> pppd: HLw[08]HLw[08] 

--> local IP address 115.184.68.2 

--> pppd: HLw[08]HLw[08] 

--> remote IP address 220.224.141.145 

--> pppd: HLw[08]HLw[08] 

--> primary DNS address 202.138.103.190 

--> pppd: HLw[08]HLw[08] 

--> secondary DNS address 202.138.117.60 

--> pppd: HLw[08]HLw[08] 

Note: The terminial window should be in open state, dont close or press ctrl+c which stop internet. When you want to disconnect internet come to this terminal and give ctrl+c to disconnect.

Step4: Now try to connect to net, by opening a browser and type what ever site you want.

Troubleshooting, if you are not able to connect to net.

Not able to connect? Follow below steps to troubleshoot the net connection.

Step0: Check if you can do a voice verification, try first to connect reliance net-connect using a windows machine and activate your device through voice. Then try below steps.

Step1: Check if you get IP address from Reliance net-connect. If you did not get the IP address try to re run the wvdail reliance_netconnect command and check once. Some times a restart will do the trick.

ifconfig 

Step2: Check if the DNS servers configs are saved in /etc/resolv.conf file.

primary DNS server:202.138.103.190 

Secondary DNS server:202.138.117.60

if they are not there enter these ip’s in to /etc/resolv.conf and save it.

Please feel free to post comment on this.