2 erothshs
Haris Kosmidis
hkosmidi at alexandros.csd.auth.gr
Mon Mar 3 22:42:49 EET 1997
On Mar 3, 1:05am, Alexios Chouchoulas wrote:
> 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:
To ppp-down einai to idio me to ip-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 &
>
Ma afou ego den exo /etc/ppp/getstats
Harris
==================================================================
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