On Thu, 20 Jan 2000, Seshan wrote:

->Nagarjuna, Kindly mail a copy of the vsnl script and the related files
->of squid, I am trying to simulate the same environment that you have. I
->also would like to know whether IP chains, IP Masq and Socks can
->co-exists with each other ?

Squid.conf has been separately mailed to you.  vsnl scripts are here:
After making the two files, make them executable, chmod +x `file'.


------------------------------------------------------
#!/bin/sh
# 
# /etc/ppp/vsnl
#
# This script is for demand dialing, to be run only once soon after 
# booting the server, to keep the the interface up. 
# The /etc/ppp/vsnl-dialer script mentioned below will run each time 
# there is a demand, i.e., a packet to transfer over the internet.
#
#
#
localip=0.0.0.0 
remoteip=202.54.51.31 # include your own ISP's IP
device=/dev/ttyS1     # include the serial line to which the 
                      # modem is connected
pppflags="38400 modem demand debug defaultroute"
#
# if you do not want to run demand dialing, remove demand 
# from the above pppflags, and remote IP will not necessary.
#
/usr/sbin/pppd lock connect \
        '/usr/sbin/chat -v -f /etc/ppp/vsnl-dialer' \
        $device $pppflags $localip:$remoteip

-----------------------------------------------------------------------

/etc/ppp/vsnl-dialer
----------------------------------------------------------------------
'ABORT' 'BUSY'
'ABORT' 'ERROR'
'ABORT' 'NO CARRIER'
'ABORT' 'NO DIALTONE'
'ABORT' 'Invalid Login'
'ABORT' 'Login incorrect'
'' 'ATX1'
#'OK' 'ATDT4320500'
'OK' 'ATDT4404444'
'CONNECT' ''
'name:' 'loginname@bom5'
'ord:' 'donttellanyone'
'TIMEOUT' '10'
'>' 'ppp'
'~' ''


---------------------------------------------------------------------
Nagarjuna







To subscribe / unsubscribe goto the site www.ilug-bom.org ., click on the mailing list 
button and fill the appropriate information 
and submit. For any other queries contact the ML maintener

Reply via email to