Hi, people.
I'm using linux slackware 3.4 and PPP 2.2.0. I want to link two networks via
modem with PPP as you can see in the figure. To begin, (because the rest is
routing) i want to link two linux machine via modem.
What can i do ?
I want one machine as a server with PAP authentication and the other as client
with PAP authentication.
I have tried to configured without PAP and i have succeded. I do ping, telnet,
etc.
To configure ppp client i use pppsetup, without PAP the connection work
properly but if i configure with PAP the connection dont work.
The script create are :

Client:

script etc/ppp/options

lock
defaultroute
noipdefault
modem
/dev/cua1
38400
crtscts
debug
passive
asyncmap 0
name "pppuser"   #adicional line when we want use PAP 

script etc/ppp/options.demand
# Same script like the last without the line 'name "pppuser ..."'and 
# with the next lines
ipcp-accept-local
ipcp-accept-remote
0.0.0.0:10.10.10.10
demand
connect "/usr/sbin/chat -v -f /etc/ppp/pppscript


script /etc/ppp/pppscript
TIMEOUT 60
ABORT ERROR
ABORT BUSY
ABORT "NO CARRIER"
ABORT "NO DIALTONE"
"" "AT&FHO"
OK "atdt3202"
TIMEOUT 75
CONNECT ""
ogin pppuser      # aditionned lines when dont use
assword ppppass   # the option PAP. 

script etc/ppp/pap-secrets
# script create just when i use the option PAP
#permission 600.
#Username        Server         Password           IP addresses
"pppuser"     *      "ppppas

Server :

script /etc/ppp/options

asyncmap 0
crtscts
lock
modem
proxyarp
lcp-echo-interval 30
lcp-echo-failure 4

script /etc/ppp/ppplogin
#!/bin/bash
mesg n
stty -echo
exec /usr/sbin/pppd 192.168.3.198:192.168.3.200 -detach silent modem crtscts

I have adicionned the next line in /etc/passwd

pppuser:x:501:501:ppp,,,:/home/pppuser:/etc/ppp/ppplogin

I would know what i must change to use PAP in my client and my server.

Thanks!!!!

C�lio Soares


____________________________________________________________________
Get free e-mail and a permanent address at http://www.netaddress.com/?N=1

-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]

Reply via email to