PPP & HellasNet
George Diamantopoulos
kopanos at korinthos.netor.gr
Mon Jun 29 11:52:16 EEST 1998
At 11:23 ðì 29/6/1998 +0000, you wrote:
>Eixa kai ego syndesi me Hellasnet
>
>Ean exeis to problima pou nomizo dokimase na steileis login kai password
>me kapoio mikro delay xoris na perimeneis leksis opos login: kai pass:
>
>Se alli periptosi steile ta scriptakia
>
>Vasilis Nikolopoulos
>Electronic Engineering
>T.E.I. of Athens
Loipon sou stelnw ta script mou exw
/bin/on
#!/bin/sh
pppd connect 'chat -v "" atx3dt,80200 CONNECT'
/bin/off
#!/bin/sh
######################################################################
#
# Determine the device to be terminated.
#
if [ "$1" = "" ]; then
DEVICE=ppp0
else
DEVICE=$1
fi
######################################################################
#
# 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 the kill did not work then there is no process running for this
# pid. It may also mean that the lock file will be left. You may wish
# to delete the lock file at the same time.
if [ ! "$?" = "0" ]; then
rm -f /var/run/$DEVICE.pid
echo "ERROR: Removed stale pid file"
exit 1
fi
#
# Success. Let pppd clean up its own junk.
echo "PPP link to $DEVICE terminated."
exit 0
fi
#
# The ppp process is not running for ppp0
echo "ERROR: PPP link is not active on $DEVICE"
exit 1
/etc/ppp/options
/dev/cua3
115200
debug
kdebug 0
lock
modem
crtscts
noipdefault
defaultroute
user user
netmask 255.255.255.0
/etc/ppp/pap-secrets
user * pass
--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at argos.hol.gr
Ta archives tis listas einai sto http://www.argos.hol.gr/lists :
prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users
====================================================================
More information about the Linux-greek-users
mailing list