[pptp-server] authentication error

Alan Chung alan at silveregg.co.jp
Thu Sep 14 01:28:19 CDT 2000


I have installed pptp server and compiled kernel modules as installation 
guides.  It seems working but I got some kind of authentication error about 
chap when I tried to connect to server from 98 client.

My /etc/options file looks like

lock
debug
name lemon
auth
require-chap
+chap
proxyarp
+chapms
+chapms-v2
mppe-40
mppe-128
mppe-stateless

and my /etc/chap-secrets looks like

# Secrets for authentication using CHAP
# client                server          secret          IP addresses
temp                    lemon           admin           *

ps. temp is the client's hostname and admin is the username I use to 
connect to server.
     lemon is the pptpd server's hostname.


The following is the log message I got and does anyone have a clue?


Launching /usr/sbin/pptpctrl to handle client
Sep 14 15:02:03 lemon pptpd[900]: CTRL: local address = 192.168.0.51
Sep 14 15:02:03 lemon pptpd[900]: CTRL: remote address = 192.168.0.51
Sep 14 15:02:03 lemon pptpd[900]: CTRL: Client 192.168.0.40 control 
connection started
Sep 14 15:02:03 lemon pptpd[900]: CTRL: Received PPTP Control Message (type: 1)
Sep 14 15:02:03 lemon pptpd[900]: CTRL: Made a START CTRL CONN RPLY packet
Sep 14 15:02:03 lemon pptpd[900]: CTRL: I wrote 156 bytes to the client.
Sep 14 15:02:03 lemon pptpd[900]: CTRL: Sent packet to client
Sep 14 15:02:03 lemon pptpd[900]: CTRL: Received PPTP Control Message (type: 7)
Sep 14 15:02:03 lemon pptpd[900]: CTRL: Set parameters to 0 maxbps, 16 
window size
Sep 14 15:02:03 lemon pptpd[900]: CTRL: Made a OUT CALL RPLY packet
Sep 14 15:02:03 lemon pptpd[900]: CTRL: Starting call (launching pppd, 
opening GRE)
Sep 14 15:02:03 lemon pptpd[900]: CTRL: pty_fd = 4
Sep 14 15:02:03 lemon pptpd[900]: CTRL: tty_fd = 5
Sep 14 15:02:03 lemon pptpd[901]: CTRL (PPPD Launcher): Connection speed = 
115200
Sep 14 15:02:03 lemon pptpd[901]: CTRL (PPPD Launcher): local address = 
192.168.0.51
Sep 14 15:02:03 lemon pptpd[901]: CTRL (PPPD Launcher): remote address = 
192.168.0.51
Sep 14 15:02:03 lemon pptpd[900]: CTRL: I wrote 32 bytes to the client.
Sep 14 15:02:03 lemon pptpd[900]: CTRL: Sent packet to client
Sep 14 15:02:03 lemon pptpd[900]: GRE: read(fd=4,buffer=804d7e0,len=8196) 
from PTY failed: stat
us = -1 error = Input/output error
Sep 14 15:02:03 lemon pptpd[900]: CTRL: PTY read or GRE write failed 
(pty,gre)=(4,5)
Sep 14 15:02:03 lemon pptpd[900]: CTRL: Client 192.168.0.40 control 
connection finished
Sep 14 15:02:03 lemon pptpd[900]: CTRL: Exiting now
Sep 14 15:02:03 lemon pptpd[897]: MGR: Reaped child 900


Any help is appreciated.

Alan



More information about the pptp-server mailing list