Re: lug-bg: PPP Serv
- Subject: Re: lug-bg: PPP Serv
- From: gecata@xxxxxxxxx (Georgi Iliev)
- Date: Wed, 02 May 2001 02:36:37 +0000 (GMT)
On Tue, 1 May 2001 George Danchev wrote:
> Zdraeite ,
> opitvam se da napravq slednoto prosto nesto , koeto e diskutirano mnogo puti
> predpolagam . Imam 1 tel. liniq i se opitwam da priemam po 1 dail-in
> connection ( bez portslave , radius ... - iskam max prosto da bude , prosto
> za razmqna na services samo mejdu dvete mashini bez ISP-ta , Interneti i
> drugi net-i .....)
> 1. startiram si ru4no edno mgetty da slusha i da vdiga modema
> mgetty ttyS1 &
> 2. Napisal sum si sledniq prost script koito startiram susto ru4no
> /etc/ppp/pppserv
> mesg n
> stty -echo
> exec pppd /dev/ttyS1 modem init /usr/sbin/chat passive debug lock
> require-pap crtscts -detach silent login 192.0.0.4:192.0.0.5
> # poslednoto e na 1 red
>
>
> Sled kato startiram scripta , pppd kazwa
> " Serial port initialized "
>
> 3. Imam definiran user specialno za dail-in connectiona ( pppuser da re4em )
> , za koito pirmerno si imam entry-ta suotwetno v
>
> /etc/ppp/pap-secrets
> "pppuser" * "pppuser"
>
>
> /etc/paswd
> pppuser:x:1003:1003:,,,:/fake:/etc/ppp/pppserv
>
> i v /etc/shadow ...........
>
> Authentificiram go s PAP .
> pppuser-a po4wa da me nabira ,mgetty diga modem-a , 4atqt , vijdam razmqnata
> na LCP paketi , oba4e malko sled tova moq modem drop-va :
> "Modem Hangup"
> Kakvo propuskam ???
>
> blagodarq !!!
> ===========================================================================
> A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
> http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
>
Pekompilirai si mgetty-to sys auto ppp. V readmeto na mgtetty pishe kak .
===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|