ppp Scripts
Adrianos Papamarkou
perdikas at ath.forthnet.gr
Mon Jul 17 18:06:23 EEST 2000
Me ta parakatw scripts empaina sto internet kirile
mexri x8es pou alla3a to RedHat6.1 me to 6.2
To modem anoigei kai kleinei les kai perimenei dialtone kai den to akouei
To Kppp douleuei kanonika!
-------------------------
To /etc/ppp/options exei mono th le3h "lock"
--------------------------
To /etc/ppp/ppp-on :
TELEPHONE=096588888
ACCOUNT=perdikas.ath.forthnet.gr
PASSWORD=dw1k1v-=
LOCAL_IP=0.0.0.0
REMOTE_IP=0.0.0.0
NETMASK=255.255.255.0
export TELEPHONE ACCOUNT PASSWORD
DIALER_SCRIPT=/etc/ppp/ppp-on-dialer
exec /usr/sbin/pppd lock modem crtscts /dev/ttyS0 115200 \
asyncmap 20A0000 escape FF $LOCAL_IP:$REMOTE_IP \
noipdefault netmask $NETMASK defaultroute connect $DIALER_SCRIPT
------------------------------
To /etc/ppp/ppp-on-dialer:
exec chat -v \
TIMEOUT 30 \
# dokimasa na afairesw autes tis ABORT grammes alla ta idia pantelh mou
ABORT '\nBUSY\r' \
ABORT '\nNO ANSWER\r' \
ABORT '\nRINGING\r\n\r\nRINGING\r' \
'' \rAT \
'OK-+++\c-OK' ATH0 \
TIMEOUT 30 \
OK ATX3DT$TELEPHONE \
CONNECT '' \
name: $ACCOUNT \
assword: $PASSWORD
--
linux-greek-users mailing list -- http://lists.hellug.gr
More information about the Linux-greek-users
mailing list