September 4, 2008

Configure plug2surf tataindicom's device in Linux














Steps to Configure plug2surf tataindicom's device in Linux
« on: March 09, 2008, 02:31:40 AM »

Hi Folks, These are the steps to achieve the net usage in Linux using the plug2surf

1)Login as Root and execute below command

[root@leo prash]#wvdialconf /etc/wvdial.conf

2)now edit the file /etc/wvdial.conf for only the lines which are in bold, In the opened file if you won't find Stupid Mode = 1 line then add it.

[Dialer Defaults]
Modem = /dev/ttyACM0
Baud = 460800
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = USB Modem
Stupid Mode = 1
Phone = #777
Username = internet
Password = internet

Now save this file and make a copy of it in same directory as wvdialback.conf

3)Now in Prompt execute below command

[root@leo prash]#wvdial

After executing this command you will find below kind of o/p

--> WvDial: Internet dialer version 1.54.0
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0
OK
--> Modem initialized.
--> Sending: ATDT#777
--> Waiting for carrier.
ATDT#777
CONNECT
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Sun Mar 9 14:31:18 2008
--> pid of pppd:
--> Using interface ppp0
--> pppd: 2
--> pppd: 2
--> pppd: 2
--> pppd: 2
--> pppd: 2
--> local IP address x.y.z.w
--> pppd: 2
--> remote IP address a.b.c.d
--> pppd: 2
--> primary DNS address a.e.f.g
--> pppd: 2
--> secondary DNS address e.f.g.k
--> pppd: 2

Save or copy this info and save it in a file.

4) Now send this process in background
This is the command to do so

press ctrl + z and type bg

5)Now open Network config

[root@leo prash]#system-config-network

Here click on edit copy the local IP address x.y.z.w , for ex i have mentioned alphabets, check the respective nos separated by dots, that you had saved in file.

paste this ip address, in fields
Check static IP Address option must be nabled and under Manual IP settings

Address x.y.z.w
leave subnet mask as it is
Default Gateway address x.y.z.w

Then now press OK

Now open Hosts Tab

and Copy the Primary DNS and Secondary DNS ip address mentioned in the saved file over here, and save it, Goto File -> Save

Then press Activate

Now you are done

Open Firefox Mozilla and use the net Lips sealed

1 comment:

Prashant k said...

Great achievment . Wow!