Tuesday, January 27, 2009

Reliance Net Connect on UBUNTU 8.04 / 8.10 by using ZTE MG880 Modem

More than one month I was trying to use my reliance modem in Ubuntu 8.04. For some reason it did not work and by the time Ubuntu 8.10 also released. So i wanted to give a try on new version. I followed the same steps which I used earlier. Thank god this time with small hitch up it worked perfectly. I followed these simple steps...

(To avoid confusion and errors just copy and paste commands in your terminal
and type your password whenever needed)

1.Open terminal Application--> Accessories--> Terminal

2.Type sudo gedit /etc/wvdial.conf

This will open wvdial.conf file in new window.

3.Delete the entire content and add (or copy paste) the following...

Modem = /dev/ttyUSB0
Baud = 115200
SetVolume = 0
Dial Command = ATDT
Init1 = ATZ
FlowControl = Hardware (CRTSCTS)
[Dialer Defaults]
Username = 9372875603
Password = 9372875603
Phone = #777
Stupid Mode = 1
Inherits = Modem0

"Note: User name and password should be your reliance number."

Once every thing is done save and close the file.

Update: Some time it may not detect your modem on the port USB0(say USB1). To find out your port use this command

sudo dmesg | grep tty

4.Type the folowing command in your terminal.

sudo modprobe usbserial vendor=0x19d2 product=0xfffd

Note: Vendor id can be found by using lsusb -v command for different USB Modem.

5. you are set to connect to internet. Use the following command to connect to internet...

sudo wvdial

If everything goes well you will find some thing like below. Those IP address indicates you are connected to internet. Happy surfing...

--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
--> Modem initialized.
--> Sending: ATDT#777
--> Waiting for carrier.
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Sat May 24 22:26:04 2008
--> Pid of pppd: 6099
--> Using interface ppp0
--> pppd: h�[06][08]h�[06][08]��[06][08]
--> pppd: h�[06][08]h�[06][08]��[06][08]
--> pppd: h�[06][08]h�[06][08]��[06][08]
--> pppd: h�[06][08]h�[06][08]��[06][08]
--> local IP address
--> pppd: h�[06][08]h�[06][08]��[06][08]
--> remote IP address
--> pppd: h�[06][08]h�[06][08]��[06][08]
--> primary DNS address
--> pppd: h�[06][08]h�[06][08]��[06][08]
--> secondary DNS address
--> pppd: h�[06][08]h�[06][08]��[06][08]


If you are unable to connect to internet next time then use 4th and 5th command in your terminal.

Now I am considering you are able to connect to internet. If this is the case then do the following...

1. unplug and pulg your modem (and wait for a minute).

2.Type sudo gedit /etc/modules in your terminal.

This will open file modules in new window.

3.Add following lines just after the comments.

usbserial vendor=0×19d2 product=0xfffd


4. Restart your computer with USB modem connected to it.

5. Thats all. Now onwards you should be able to connect to internet with single command (see below)


1 comment:

  1. thank you sundar it works for me with out Hazel...