2 erothshs
Alexios Chouchoulas
alexios at vennea.demon.co.uk
Mon Mar 3 01:05:50 EET 1997
> Ego sto /etc/ppp exo ta :
> space:/etc/ppp# l
> total 4
> drwxr-xr-x 2 root root 1024 Feb 20 20:02 ./
> drwxr-xr-x 8 root root 2048 Mar 2 02:08 ../
> -rw-r--r-- 1 root root 0 Jul 9 1994 options
> -rwx------ 1 root root 403 Feb 20 20:02 ppp-on-dialer*
E, tipota aploustero. Grapse ena /etc/ppp/ip-down, kanto executable et
voila! Parepiptontws, mporeis na exeis kai to /etc/ppp/ip-up pou
energopoieitai molis anebei to IP mesw tou pppd. Kai ta dyo einai poly
xrhsima.
Etsi gia thn plaka, sou ksanadeixnw to diko mou /etc/ppp/ppp-down:
#!/bin/sh
# ip-down: the command executed by pppd when IP goes down.
# Parameters:
# $1 = network interface used (e.g. ppp0)
# $2 = pathname of serial device file (e.g. /dev/modem)
# $3 = device speed (e.g. 38400)
# $4 = local address (e.g. 158.152.14.94)
# $5 = remote address (e.g. 158.152.1.65)
#/bin/killall pppstats
#/etc/ppp/getstats down &
Einai ena aplo script. Ftiaksto opws theleis (to diko mou den kanei tipota
pia, alla opws blepeis kapote ekane). :-)
Alexios Chouchoulas '88 ,88' ,88' alexios at vennea.demon.co.uk
The Unpronouncable One ,o88oooo88ooooo88oo, axc at dcs.ed.ac.uk
==================================================================
For help on using this list (linux-greek-users), send a message to
"majordomo at argeas.argos.hol.gr" with one line of text: "help".
For any problem send e-mail to owner-linux-greek-users
==================================================================
More information about the Linux-greek-users
mailing list