How to connect Reliance netconnect in Ubuntu

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

[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: 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.

The following two tabs change content below.
Mr Surendra Anne is from Vijayawada, Andhra Pradesh, India. He is a Linux/Open source supporter who believes in Hard work, A down to earth person, Likes to share knowledge with others, Loves dogs, Likes photography. He works as Devops Engineer with Taggle systems, an IOT automatic water metering company, Sydney . You can contact him at surendra (@) linuxnix dot com.
  • maheswara

    excellent

  • i’m getting an error…it’s saying ppp doesnt exist…

  • it’s showing an error…saying ppp does not exist…:/
     

  • Chittivasu

    How to reliance data card in RHEL 5.5 64bit.

  • Chittivasu

    I’ve capital 3G data card (SIM insert using DOCOMO connection). How to configure it in RHEL 5.5
    64 bit.   Thanks a lot if u assist me for this support.

  • Arif

    i got this error : [email protected]:~# wvdial reliance_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 153600

    –> Carrier detected.  Starting PPP immediately.

    –> Starting pppd at Thu Mar  8 18:22:06 2012

    –> Pid of pppd: 2232

    –> Disconnecting at Thu Mar  8 18:22:06 2012

    –> The PPP daemon has died: pppd options error (exit code = 2)

    –> man pppd explains pppd error codes in more detail.
    –> I guess that’s it for now, exiting
    –> The PPP daemon has died. (exit code = 2)

    • joy

      thanks a lot… it helped me!

  • Arif

    I got this error : The PPP daemon has died: pppd options error (exit code = 2)

    –> man pppd explains pppd error codes in more detail.
    –> I guess that’s it for now, exiting
    –> The PPP daemon has died. (exit code = 2)

     

  • Arif

    i got this error :  he PPP daemon has died: pppd options error (exit code = 2)

    –> man pppd explains pppd error codes in more detail.
    –> I guess that’s it for now, exiting
    –> The PPP daemon has died. (exit code = 2)

  • dk

    It works in ubutu, thanks dude. 

  • Anand

    Worked fine on Ubuntu 12.04.1 installed on netbook ASUS Eee PC 1025C. I noticed the net connection is a bit slower than on Windows. Is there any parameters in the above snippet which we could change and try? Thanks!

  • Pingback: Not knowing how to connect to internet on BT5 r3()

  • pradeep

    works as a charm :)

  • madhu

    kindly suggest on how to connect micromax with aircel internet data card in Debain/Red hat Linux.

    • That should be same way as described above. Change the datacard no and dailer thats it. What is the issue you are facing?

  • Hi,
    I am facing following error

    [email protected]:/etc$ sudo wvdial netconnect
    –> WvDial: Internet dialer version 1.61
    –> Warning: inherited section [Modem0] does not exist in wvdial.conf
    –> Cannot get information for serial port.
    –> Initializing modem.
    –> Sending: ATZ
    –> Sending: ATQ0
    –> Re-Sending: ATZ
    –> Modem not responding.

    Also If I try without sudo then the error is
    [email protected]:/etc$ wvdial netconnect
    –> Can’t open ‘/etc/wvdial.conf’ for reading: Permission denied
    –> …starting with blank configuration.
    –> WvDial: Internet dialer version 1.61
    –> Warning: section [Dialer netconnect] does not exist in wvdial.conf.
    –> Cannot open /dev/modem: No such file or directory
    –> Cannot open /dev/modem: No such file or directory
    –> Cannot open /dev/modem: No such file or directory
    [email protected]:/etc$

    Kindly help me

    • Try to check you connected your netconnect to right USB port or not?

  • vijay

    how to install reliance netconnect+ for ubunthu 9.4

  • krish

    please try this (if u like you CAN build it yourself from ZTEs stock dialer (which won't work for newer linuxes) or just download finished product ; finished link at bottom of page)

     

  • krish

    please try this (if u like you CAN build it yourself from ZTEs stock dialer (which won't work for newer linuxes) or just download finished product ; finished link at bottom of page)

    http://antisophism.blogspot.in/2013/03/reliance-netconnect-or-mts-dialerdriver.html

banner