PPP-connection
Michalas Othon
mixalas at info.forthnet.gr
Mon May 19 10:07:04 EEST 1997
Egw xrhsimopoiw thn parakatw texnikh.
1. Ftiaxnw ena script ( grammeno apo ton Xristoforo) )pou anebazei ton pppd
ean autos den trexei :
=============Arxh======
#!/bin/sh
#
# (C) 1996 by Christofer Karatzinis (chka at forthnet.gr)
#
ps -aux | grep pppd > /tmp/temp1.ppp
A=`grep detach /tmp/temp1.ppp`
\rm -f /tmp/temp1.ppp
if [ -n "$A" ] ; then
\rm -f /tmp/temp1.ppp
else
/othon/othon.sh
fi
=============Telos=====
kai to deutero script
=============Arxh=====
#!/bin/sh
#
sleep 15s
/usr/sbin/pppd -detach 38400 /dev/cua0 194.219.lll.xxx:194.219.lll.yyy netmas
k 255.255.255.rrr mru 1500 mtu 1500 defaultroute crtscts&
sleep 15s
/sbin/route add default gw 194.219.lll.yyy netmask 255.255.255.rrr dev ppp0
============Telos=====
Brhka oti to
sleep 15s
(kai se alles periptwseis 25s)
einai aparaithto gia na mhn peftei h grammh.
Aparaithto epishs einai to -detach
O8wn
====================================================
>xreisimopio to parakato ppp_on
>
>TELEPHONE=77056
>ACCOUNT=××××××00
>PASSWORD=×××××01
>LOCAL_IP=0.0.0.0
>REMOTE_IP=0.0.0.0
>NETMASK=255.255.255.0
>export TELEPHONE ACCOUNT PASSWORD LOCAL_IP REMOTE_IP NETMASK
>DIALER_SCRIPT=/etc/ppp/ppp-on-dialer
>exec /usr/sbin/pppd debug lock modem crtscts /dev/cua1 38400 \
> asyncmap 20A0000 escape FF kdebug 0 $LOCAL_IP:$REMOTE_IP \
>noipdefault netmask $NETMASK defaultroute connect $DIALER_SCRIPT
>
>kai to arxeio ppp-on-dialer
>
>exec chat -v \
>TIMEOUT 3 \
>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 '' \
>ogin:--ogin: $ACCOUNT \
>assword: $PASSWORD
>
>kai eno to trexo eno den exo syndeuei peftei i gramh....
>syndeomai me tin compulink simiotaio.......
>to username kai to password einai sosta ......
>mipos exei kanenas kamia idea ti symbainei?
>
>
>--
>====================================================================
>Gia na mathete pos na xrisimopoiite ton majordomo, stilte e-mail
>sto "majordomo at argeas.argos.hol.gr" me 1 grammi sto keimeno: help
>Ta archives tis listas einai sto http://www.argos.hol.gr/lists
>Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users
>====================================================================
>
=================================================
Alfa - Group
= Greece-== ALFA - O.Mixalas -- Al. Panagoulh 24 -- 491 00 Kerkura
--Greece -Tel+30-661-40096
= Italia-==VSI -- V. dei Mille 38/40 -- MailBox 301 -- 00185 Roma --
Italy
= Albania-==I.A.G. - computer sh.p.k. -- Skenderbeu 1 -- Saranda --
Albania
--
====================================================================
Gia na mathete pos na xrisimopoiite ton majordomo, stilte e-mail
sto "majordomo at argeas.argos.hol.gr" me 1 grammi sto keimeno: help
Ta archives tis listas einai sto http://www.argos.hol.gr/lists
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users
====================================================================
More information about the Linux-greek-users
mailing list