Hi, My humble script. I don't really use it anymore, cause I'm using X-ISP utility. But it worked perfectly for me. 1. Look for XXXX in the script, and replace it with password and user name. 2. verify the right phone number for your area. (ATDT string.) 3. Use ppp-off script (to disconnect 4. use entries in /etc/resolv.conf: # max of three nameservers nameserver 192.116.192.8 nameserver 192.116.192.9 --------gold_connect -------------- #!/bin/sh -f set num04=8424240 set num03=035755855 set num06=066420199 usage() { cat << EOF Usage: $0 [-h -s] -s : silent -h : this help EOF } noisy() { /usr/sbin/pppd asyncmap 00000000 netmask 255.255.255.0 \ connect '/usr/sbin/chat -v -t 35 "" ATB0E1F1M3Q0V1X4\&A3\&B1\&C1\&D2 OK AT\&H1\&I0\&K1\&M4\&N0\&R2\&S1S0=2 OK ATL0 OK "" ABORT BUSY ABORT "NO CARRIER" ABORT "NO DIAL TONE" "" ATDT8424240 CONNECT "" sername: XXXX ssword: XXXX ' \ /dev/cua1 38400 noipdefault crtscts modem defaultroute 0.0.0.0:205.164.141.8 } silent() { /usr/sbin/pppd asyncmap 00000000 netmask 255.255.255.0 \ connect '/usr/sbin/chat -v -t 20 "" ATB0E1F1M3Q0V1X4\&A3\&B1\&C1\&D2 OK AT\&H1\&I0\&K1\&M4\&N0\&R2\&S1S0=2 OK ATL0M0 OK "" ABORT BUSY ABORT "NO CARRIER" ABORT "NO DIAL TONE" "" ATDT8424240 CONNECT "" sername: XXXX ssword: XXXX ' \ /dev/cua1 38400 noipdefault crtscts modem defaultroute 0.0.0.0:205.164.141.8 } # clear log file: # cat /dev/null > /usr/adm/ppplog ## -detach if [ $# = 1 ]; then if [ $1 = "-h" ]; then usage; exit elif [ $1 = "-s" ]; then echo "Silent run" silent; exit else echo Noisy run noisy; exit fi else echo noisy run noisy; exit fi ----end ------- --------ppp-off script:----- #!/bin/sh DEVICE=ppp0 # # If the ppp0 pid file is present then the program is running. Stop it. if [ -r /var/run/$DEVICE.pid ]; then kill -INT `cat /var/run/$DEVICE.pid` # # If unsuccessful, ensure that the pid file is removed. # if [ ! "$?" = "0" ]; then echo "removing stale $DEVICE pid file." rm -f /var/run/$DEVICE.pid exit 1 fi # # Success. Terminate with proper status. # echo "$DEVICE link terminated" exit 0 fi # -------end ppp-off -------- > Subject: Linux and ISP. > Date: Tue, 13 Oct 1998 12:45:09 +0000 > From: "Eduard Boukhman" <eduardb@milcse.cig.mot.com> > To: linux-il@linux.org.il > > Hi ! > > May be somebody has login script for Internet Zahav ? > Please send it to me. > And which DNS i have to use. > Thanks. -- Yossi Amon E-mails: Home: yossia@inter.net.il Work: yossia@msil.sps.mot.com
-- BEGIN included message
- To: yossia@inter.net.il
- Subject: Forwarded: Linux and ISP.
- From: Yossi Amon <yossia@msil.sps.mot.com>
- Date: Tue, 13 Oct 1998 16:03:34 +0200 (GMT+0200)
- Comments: ( Received on ftpbox.mot.com from client pobox.mot.com, sender yossia@msil.sps.mot.com )
-- BEGIN included message
- To: linux-il@linux.org.il
- Subject: Linux and ISP.
- From: "Eduard Boukhman" <eduardb@milcse.cig.mot.com>
- Date: Tue, 13 Oct 1998 12:45:09 +0000
- Comments: ( Received on ftpbox.mot.com from client cs.huji.ac.il, sender owner-linux-il-out@cs.huji.ac.il )
- Comments: ( Received on ftpbox.mot.com from client mothost.mot.com, sender eduardb@milcse.cig.mot.com )
- Delivered-To: linux-il-linux-il@linux.org.il
- Reply-To: "Eduard Boukhman" <eduardb@milcse.cig.mot.com>
- Sender: owner-linux-il@cs.huji.ac.il
Hi ! May be somebody has login script for Internet Zahav ? Please send it to me. And which DNS i have to use. Thanks.-- END included message
-- END included message