[pptp-server] peer refused to authenticate

Jair Valmor Basso Junior jair at digital.internetional.com.br
Sat Feb 19 05:52:34 CST 2000


I am trying to connect two linux machines, using the pptp server(last
stable version) in a redhat6.0 kernel 2.2.5 and the last stable version of
pptp client in linux redhat6.1 kernel 2.2.14.
I can connect win98 boxes in the server without password/data
encryptation(I didnt patch the pppd to enable this feature), but with the
linux client machine is not so easy.

When I try:

pptp gateway debug name gateway

I receive this in the server logs:

Feb 19 06:49:34 gateway pppd[645]: pppd 2.3.5 started by root, uid 0
Feb 19 06:49:34 gateway pppd[645]: Using interface ppp0
Feb 19 06:49:34 gateway pppd[645]: Connect: ppp0 <--> /dev/ttyp1
Feb 19 06:49:36 gateway pptpd[643]: GRE: Discarding duplicate packet
Feb 19 06:49:37 gateway pptpd[643]: GRE:
read(fd=4,buffer=804d7e0,len=8196) from PTY failed: status = -1 error =
Input/output error
Feb 19 06:49:37 gateway pptpd[643]: CTRL: PTY read or GRE write failed
(pty,gre)=(4,5)
Feb 19 06:49:37 gateway pptpd[643]: CTRL: Client 200.241.232.51 control
connection finished
Feb 19 06:49:37 gateway pppd[645]: peer refused to authenticate
Feb 19 06:49:37 gateway pppd[645]: Connection terminated.
Feb 19 06:49:37 gateway pppd[645]: Exit.


Peer refused to authenticate? I think this is the problem! But look at my
files:

client side:

/etc/ppp/options:

debug
name gateway
auth


/etc/ppp/chap-secrets 

jair    gateway senha   *

server side:

/etc/ppp/options

debug
name gateway
noauth
require-chap
proxyarp

/etc/ppp/chap-secrets 

jair    gateway senha   *



I already tryed the option noauth, but nothing changes.

Some sugestion out there??





More information about the pptp-server mailing list