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 without quotes” Password = “Add reliance netconnect phone number here without quotes” Phone = #777 Stupid Mode = 1 Inherit's = Modem0
Step3: Save and exit the file and now start wvdail service as shown below
Logs for the ref..
[email protected]:/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: HLwHLw --> pppd: HLwHLw --> pppd: HLwHLw --> local IP address 184.108.40.206 --> pppd: HLwHLw --> remote IP address 220.127.116.11 --> pppd: HLwHLw --> primary DNS address 18.104.22.168 --> pppd: HLwHLw --> secondary DNS address 22.214.171.124 --> pppd: HLwHLw
Note: The terminial window should be in open state, don’t 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.
Step2: Check if the DNS servers configs are saved in /etc/resolv.conf file.
primary DNS server:126.96.36.199 Secondary DNS server:188.8.131.52
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.