[pptp-server] New PoPToP - GRE: PTY Read failed.

Eric H. Raskin eraskin at paslists.com
Thu Feb 17 13:38:52 CST 2000


Hello:

  I've just installed pptpd-1.0.0 and ppp-2.3.10 on my Linux 2.2.14 system.  PPP
seems fine, since I'm up on an ISDN line and all seems OK there.  I've got
masquerading and firewalling configured.  The pertinent lines from my ipchains
listing are:

ACCEPT     tcp  ------  0.0.0.0/0            168.100.187.41        * ->   1723
ACCEPT     47   ------  0.0.0.0/0            168.100.187.41        n/a

This tells me that I'm open for pptp connections.  I'm using the inetd.conf
method to operate, so my inetd.conf contains:

pptpctrl stream tcp     nowait  root    /usr/sbin/tcpd /usr/local/sbin/pptpctrl
1 1 /etc/ppp/options.pptp 1 115200 0 0 0  --buffer--

My /etc/ppp/options.pptp contains:

debug
name gatekeeper
require-chap
+chap
+chapms
+chapms-v2
mppe-40
mppe-128
mppe-stateless

Here's what shows up in my debug log:

Feb 18 14:09:13 pluto pptpd[8268]: CTRL: pppd speed = 115200
Feb 18 14:09:13 pluto pptpd[8268]: CTRL: pppd options file =
/etc/ppp/options.pptp
Feb 18 14:09:13 pluto pptpd[8268]: CTRL: Client 168.100.202.52 control
connection started
Feb 18 14:09:13 pluto pptpd[8268]: CTRL: Received PPTP Control Message (type: 1)
Feb 18 14:09:13 pluto pptpd[8268]: CTRL: Made a START CTRL CONN RPLY packet
Feb 18 14:09:13 pluto pptpd[8268]: CTRL: I wrote 156 bytes to the client.
Feb 18 14:09:13 pluto pptpd[8268]: CTRL: Sent packet to client
Feb 18 14:09:13 pluto pptpd[8268]: CTRL: Received PPTP Control Message (type: 7)
Feb 18 14:09:13 pluto pptpd[8268]: CTRL: Set parameters to 0 maxbps, 16 window
size
Feb 18 14:09:13 pluto pptpd[8268]: CTRL: Made a OUT CALL RPLY packet
Feb 18 14:09:13 pluto pptpd[8268]: CTRL: Starting call (launching pppd, opening
GRE)
Feb 18 14:09:13 pluto pptpd[8268]: CTRL: pty_fd = 4
Feb 18 14:09:13 pluto pptpd[8268]: CTRL: tty_fd = 5
Feb 18 14:09:13 pluto pptpd[8268]: CTRL: I wrote 32 bytes to the client.
Feb 18 14:09:13 pluto pptpd[8268]: CTRL: Sent packet to client
Feb 18 14:09:13 pluto pptpd[8269]: CTRL (PPPD Launcher): Connection speed =
115200
Feb 18 14:09:13 pluto pptpd[8268]: GRE: read(fd=4,buffer=804da20,len=8196) from
PTY failed: status = -1 error = Input/output error
Feb 18 14:09:13 pluto pptpd[8268]: CTRL: PTY read or GRE write failed
(pty,gre)=(4,5)
Feb 18 14:09:13 pluto pptpd[8268]: CTRL: Client 168.100.202.52 control
connection finished
Feb 18 14:09:13 pluto pptpd[8268]: CTRL: Exiting now

Can anyone help me get this working?

TIA

---------------------------------------------------------------------
Eric H. Raskin                                 eraskin at paslists.com
Professional Advertising Systems Inc.          Voice: 914-741-1100
70 Memorial Plaza                              Fax:   914-741-2788
Pleasantville, NY 10570





More information about the pptp-server mailing list