Hey Sunil,

That was really exhaustive.

Pinku

--- Sunil Venkatesh <[EMAIL PROTECTED]>
wrote:
> Ok for dial up to vsnl follow the following steps.
> They were given by Atul Chitnis on the pcq site.
> Online with Linux
> 
> Setting up and sharing a Net connection on your LAN
> 
> Connecting to the Internet via Linux is ridiculously
> easy. Once you are
> connected, you can do far more than you could with
> any other connection.
> 
> For the sake of simplicity, I'll assume that you
> have the X Windowing system
> running, and have also installed KDE (from the PCQ
> CD).
> 
> Setting up
> 
> Make sure you are logged in as root, then do the
> following:
> 
> Run kppp (either by clicking the K button at the
> bottom left of your screen,
> or running "kppp &" from the command prompt.
> 
> Click on "Setup".
> Click on "New".
> Type in a name for the connection (such as, "VSNL",
> "Satyam", etc).
> Type in the phone number (such as, 172222).
> Select the authentication type ("Script-based" for
> VSNL dial-up, "PAP" for
> Satyam or VSNL ISDN).
> Don't enter any DNS data-your present DNS setup on
> your Linux machine as
> configured by "pcqupdt" will handle all that.
> If you are using PAP authentication then that's all
> you need to configure
> for the account, and you can skip to the next point.
> If you are using VSNL
> dialup (not ISDN) then you also have to define the
> login script-click on the
> tab "Login Script", and enter the script as:
> Expect sername:
> ID
> Expect assword:
> Password
> Pause 1
> Send ppp
> Expect ~
> Click on OK.
> Click on "Device" and set it up for your modem. The
> defaults should be good
> enough. (Remember that ttyS0 is COM1, and ttyS1 is
> COM2)
> Modem Device: /dev/ttyS0
> Flow Control: CRTSCTS
> Line Termination: CR/LF
> Connection Speed: 115200
> Enable Lockfile and set the modem timeout to 30 or
> 60 seconds (30 is usually
> enough for tone dialing exchanges).
> Click on "Modem".
> Make sure that "Modem asserts CD line" is not
> enabled.
> Set "Busy Wait" to the number of seconds you want to
> wait between attempts
> (probably 0).
> Click on Modem Commands, and set your favorite
> initialization string; in
> most cases "AT&FX1L3S10=200" should be enough. If
> you have to dial Pulse
> instead of Tone, change the Dial String from ATDT to
> ATDP. Click on OK.
> Now to see if you modem is talking to the serial
> port, click on Query modem,
> after a few seconds you should see some results, and
> should also see the
> send or receive lights on your modem flashing. If
> they don't (and if DTR
> doesn't come on) then you have selected the wrong
> modem port, correct that
> in the Device setting. If the lights flash but you
> still get an error
> message, your port speed in Device is probably too
> high, change it to 57600
> or lower.
> Finally, click on the PPP tab, and enable all
> settings except "Quit on
> Disconnect". Set pppd timeout to 30 seconds.
> Click on OK.
> Repeat this entire sequence for any other dialup
> accounts you want to
> define.
> Create the file /etc/ppp/ip-up.local, and put the
> following commands:
> 
> #!/bin/sh
> /usr/bin/killall -9 named
> /usr/sbin/named /etc/named.conf.online
> grep -v pppconnection /etc/hosts >/tmp/hosts.tmp
> echo "$4 pppconnection" >>/tmp/hosts.tmp
> mv /tmp/hosts.tmp /etc/hosts
> ntpdate 128.175.1.3 &> /dev/null &
> wall "Internet connection established ($4)"
> echo `date` CONNECT $4 >> /var/log/ppplog
> Save the file.
> Create the file /etc/ppp/ip-down.local, and put the
> following commands:
> #!/bin/sh
> /usr/bin/killall -9 named
> /usr/sbin/named /etc/named.conf
> grep -v pppconnection /etc/hosts >/tmp/hosts.tmp
> mv /tmp/hosts.tmp /etc/hosts
> wall "Internet connection lost"
> echo `date` DISCONNECT >> /var/log/ppplog Save the
> file.
> Make both files executable:
> chmod +x /etc/ppp/*.local
> Copy the file "/etc/named.conf" to
> "/etc/named.conf.online". Then edit the
> file "/etc/named.conf" and remove the following 4
> lines from it:
> zone "." {
> type hint;
> file "named.ca";
> };
> Save the file.
> Dialing out
> 
> Set "Connect to" to the account you want to dial,
> enable "Show Log Window",
> and hit the Connect button.
> 
> The system will now start dialing. You can watch the
> progress in the log
> window. Once you are connected, the Connection
> window will minimize in the
> right bottom corner. To disconnect, click on the
> modem icon and choose
> Disconnect.
> 
> Fire up Netscape if you haven't used the
> K>utilities>Menu Editor to add
> Netscape to the menu, just open a terminal window
> and type "netscape &".
> Point it at www.pcquest.com.
> 
> Voila!
> 
> 
> 
> > hi
> > i am pretty new to linux so can anyone tell me how
> to use my redhat 6.1
> > linux to connect to my vsnl account and also how
> to configure my
> > x-windows resolution since the one i get is too
> big for my screen .wat
> > commands or procedure has to b followed to change
> the resolution in
> > x-windows.
> > thanks
> > rahul
> >
> >
> >
> >
>
-----------------------------------------------------------------------
> > For more information on the LIH mailing list see:
> > http://lists.linux-india.org/lists/LIH
> >
> 
> 
>
-----------------------------------------------------------------------
> For information on this and other Linux India
> mailing lists check out
> http://lists.linux-india.org/


__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/

-----------------------------------------------------------------------
For information on this and other Linux India mailing lists check out
http://lists.linux-india.org/

Reply via email to