2 erothshs

Alexios Chouchoulas alexios at vennea.demon.co.uk
Sun Mar 2 01:53:03 EET 1997


> Katarxhn 1 erothsh pou 3exasa se prohgoumeno mail:
> ti einai to /dec/zero? kati san /dev/null?

  To /dev/zero einai mia syskevh pou otan thn diabazeis pairneis apeira
ASCII 0. Einai xrhsimh ws phgh "kenwn" bytes, opws akribws kai polloi
RISC epeksergastes exoun enan zero register pou einai panta =0.


> Epeita ososn afora thn erothsh pou eixa kanei sxetika me to pos na
> eidopoioume an peftei h ppp sundesh. Eida apo ena biblio (unix network
> programming, mallon 8a to exetai diabasei) to parakato programma (mallon
> kati analogo kai ego to morfopoihsa gia edo):

[C program snipped]

  Skefthkes na xrhsimopoihseis to /etc/ppp/ip-down; Einai ena script pou
ekteleitai otan o pppd egkataleipei ton mataio touto kosmo. Na to diko mou:

#!/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 &

(oxi kai poly xrhsimo, alla sou dinei mia genikh idea).


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