[pptp-server] PTY read or GRE write failed

Philip Van Baren phil at vibrationresearch.com
Fri Dec 1 08:09:08 CST 2000


"PTY read or GRE write failed" is a generic message that means that pppd
exited.  To solve your problem you will have to find the pppd log messages
and find out why pppd aborted prematurely.

> -----Original Message-----
> From: pptp-server-admin at lists.schulte.org
> [mailto:pptp-server-admin at lists.schulte.org]On Behalf Of Wim Ceulemans
> Sent: Friday, December 01, 2000 4:53 AM
> To: pptp-server at lists.schulte.org
> Subject: [pptp-server] PTY read or GRE write failed
>
>
> Hi
>
> I have looked through the archives and read all messages relating to the
> error "PTY read or GRE write failed". I found a lot of postings similar
> to mine, but no solution. I have this problem connecting from a Windows
> NT4 system to my linux box, it does not happen connecting from a
> Windows95/98 system.
>
> Could someone shed some light on the solution to this problem. An
> extract from the log is included below. I am using ppp-2.3.11 and
> pptp-1.0.0 with kernel 2.2.14.
>
> This is our options.pptp file:
>
> #
> # Special options for ppp started via pptpd
> #
> lock
> debug
> auth
> +chap
> +chapms
> +chapms-v2
> mppe-40
> mppe-128
> mppe-stateless
> proxyarp
>
>
> Extract from the log:
>
> 08:02:19 pptpd[18021]: MGR: Launching /ub/pkg/pptp/sbin/pptpctrl to
> handle client
> 08:02:19 pptpd[18021]: CTRL: local address = 192.0.20.7
> 08:02:19 pptpd[18021]: CTRL: remote address = 192.0.20.240
> 08:02:19 pptpd[18021]: CTRL: pppd speed = 115200
> 08:02:19 pptpd[18021]: CTRL: pppd options file =
> /ub/etc/ppp/options.pptpd
> 08:02:19 pptpd[18021]: CTRL: Client 212.35.18.27 control connection
> started
> 08:02:19 pptpd[18021]: CTRL: Received PPTP Control Message (type: 1)
> 08:02:19 pptpd[18021]: CTRL: Made a START CTRL CONN RPLY packet
> 08:02:19 pptpd[18021]: CTRL: I wrote 156 bytes to the client.
> 08:02:19 pptpd[18021]: CTRL: Sent packet to client
> 08:02:22 pptpd[18021]: CTRL: Received PPTP Control Message (type: 7)
> 08:02:22 pptpd[18021]: CTRL: Set parameters to 0 maxbps, 16 window size
> 08:02:22 pptpd[18021]: CTRL: Made a OUT CALL RPLY packet
> 08:02:22 pptpd[18021]: CTRL: Starting call (launching pppd, opening GRE)
> 08:02:22 pptpd[18021]: CTRL: pty_fd = 5
> 08:02:22 pptpd[18021]: CTRL: tty_fd = 6
> 08:02:22 pptpd[18021]: CTRL: I wrote 32 bytes to the client.
> 08:02:22 pptpd[18022]: CTRL (PPPD Launcher): Connection speed = 115200
> 08:02:22 pptpd[18022]: CTRL (PPPD Launcher): local address = 192.0.20.7
> 08:02:22 pptpd[18022]: CTRL (PPPD Launcher): remote address =
> 192.0.20.240
> 08:02:22 pptpd[18021]: CTRL: Sent packet to client
> 08:02:56 pptpd[18021]: GRE: read(fd=5,buffer=804dac0,len=8196) from PTY
> failed: status = -1 error = Input/output error
> 08:02:56 pptpd[18021]: CTRL: PTY read or GRE write failed
> (pty,gre)=(5,6)
> 08:02:56 pptpd[18021]: CTRL: Client 212.35.18.27 control connection
> finished
> 08:02:56 pptpd[18021]: CTRL: Exiting now
> 08:02:56 pptpd[824]: MGR: Reaped child 18021
>
> Regards
>
> Wim Ceulemans
> _______________________________________________
> pptp-server maillist  -  pptp-server at lists.schulte.org
> http://lists.schulte.org/mailman/listinfo/pptp-server
> List services provided by www.schulteconsulting.com!
>




More information about the pptp-server mailing list