Saturday, November 27, 2010

Reliance Netconnect for Opensuse

It is now simple to get in connect with Reliance Netconnect for Opensuse (Linux).
Download a new version of wvdial software. Its hardly about 90KB in size.
Install it in whichever folder it suits.

Procedure to install wvdial software:
1. Download wvdial (tar.gz file) from net.
i.e.,wvdial-1.61.tar.gz (Latest version at the time of writing blog)
2. Extract the tar.gz file using following command.
home/avinash #tar zxf wvdial-1.61.tar.gz
3.It will create a directory it the folder , something like wvdial-1.61

once it is done, you need to do following things
Open a terminal window.
1. Log in as root, i.e. type su - then enter the root password.
2. Then use vi to edit/modify the following file “/etc/wvdial.conf”.

it should look something like this:

[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem = /dev/ttyUSB0
Phone = #777
Idle Seconds = 300
Password = 93xxxxxxxx
Modem Type = Analog Modem
Stupid Mode = 1
Compuserve = 0
Baud = 9600
Auto DNS = 1
Dial Command = ATDT
Ask Password = 0
ISDN = 0
Username = 93xxxxxxxx

Enter your phone number in the username and password's place,
then save it by :wq

Then configuration is alomost done.

Finally you need to run wvdial.
for example:for Tata photon, command is as follows
/home/avinash # wvdial tata
For Reliance netconnect
/home/avinash # wvdial reliance

It should look something like following immediately after running above command

--> WvDial: Internet dialer version 1.60
--> Warning: section [Dialer reliance] does not exist in wvdial.conf.
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
--> Modem initialized.
--> Idle Seconds = 300, disabling automatic reconnect.
--> Sending: ATDT#777
--> Waiting for carrier.
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Sat Nov 27 18:37:09 2010
--> Pid of pppd: 8316
--> Using interface ppp0
--> local IP address
--> remote IP address
--> primary DNS address
--> secondary DNS address
--> Script /etc/ppp/ip-up run successful
--> Default route Ok.
--> Nameserver (DNS) Ok.
--> Connected... Press Ctrl-C to disconnect

Then you can browse internet seamlessly.
To disconnect just press Ctrl-C.

No comments: