[ LUGOS ] SiLO

Blaz Podrzaj blayo na slo.net
Sob Mar 14 18:09:25 CET 1998


Yo!

Evo, se nastavitve, ki jih uporabljam jaz...

chap-secrets
------------
#Secrets for authentication using CHAP
# client          server     secret     IP addresses
<username>        *          <password> *

options
-------
debug
modem
crtscts
mru 1500
mtu 1500
asyncmap 0
noipdefault
defaultroute

ppp-dialer
----------
#!/bin/sh
exec chat -v                 \
     ""       ATZ            \
     OK       ATD$TELEPHONE  \
     CONNECT  ""

ppp-siol
--------
#!/bin/sh
export TELEPHONE=088032320
DIALER_SCRIPT=/usr/sbin/ppp-dialer
exec /usr/sbin/pppd connect $DIALER_SCRIPT /dev/modem 115200 name <username>

ppp-off
-------
#!/bin/sh
if [ "$1" = "" ]; then
 DEVICE=ppp0
else
 DEVICE=$1
fi

if [ -r /var/run/$DEVICE.pid ]; then
        kill -INT `cat /var/run/$DEVICE.pid`
        if [ ! "$?" = "0" ]; then
                rm -f /var/run/$DEVICE.pid
                echo "ERROR: Removed stale pid file"
                exit 1
        fi
        echo "PPP link to $DEVICE terminated."
        exit 0
fi
echo "ERROR: PPP link is not active on $DEVICE"
exit 1

lp,


BlaYO




Dodatne informacije o seznamu Starilist