[pptp-server] CTRL: PTY read or GRE write failed (pty,gre)=(5,6)

Mark Burring markb at deeptech.com.au
Thu Nov 22 00:39:47 CST 2001


Alright, I added "daemon.debug            /var/log/messages" to syslog
and got a number of these:
 
Nov 22 14:44:27 perth pppd[27432]: sent [LCP ConfReq id=0x5 <asyncmap
0x0> <auth chap 81> <magic 0x5485e3e6> <pcomp> <accomp>]
Nov 22 14:44:27 perth pppd[27432]: rcvd [LCP ConfReq id=0x5 <asyncmap
0x0> <auth chap 81> <magic 0x5485e3e6> <pcomp> <accomp>]

asyncmap? I blanked options and now it works. Which is a pity because it
was being a pppd server for a modem as well.
 
 
--
Regards,
 
Mark Burring
Internetworking Engineer
 
Deeptech - Intelligent Networking
Deepcare - Caring for Your IT Investment
web: www.deeptech.com.au <http://www.deeptech.com.au/>  ;
www.deepcareonline.com <http://www.deepcareonline.com/> 
phone: 1300 361 954
fax: +61 8 9201 2312
postal: PO BOX 1324, West Perth WA 6872

	-----Original Message-----
	From: Mikael Lönnroth [mailto:mikael.lonnroth at advancevpn.com] 
	Sent: Friday, November 23, 2001 12:14 AM
	To: Mark Burring; pptp-server at lists.schulte.org
	Subject: Re: [pptp-server] CTRL: PTY read or GRE write failed
(pty,gre)=(5,6)
	
	
	Hi, 
	 
	If you add
	 
	daemon.debug            /var/log/messages (or some other file)
	 
	...to /etc/syslog.conf and then kill -SIGHUP <syslogd process>,
you will get more verbose debugging information about what is happening.

	 
	Secondly, you can tcpdump the external port to see if there in
fact are GRE packets moving (and in what direction)
	 
	Thirdly, you can "ethereal" dump the client to check for GRE
traffic there aswell. 
	 
	Regards,
	Mikael Lönnroth
	www.advancevpn.com
	 
	 
	 
	----- Original Message ----- 

		From: Mark Burring <mailto:markb at deeptech.com.au>  
		To: pptp-server at lists.schulte.org 
		Sent: Wednesday, November 21, 2001 9:57 PM
		Subject: [pptp-server] CTRL: PTY read or GRE write
failed (pty,gre)=(5,6)

		 
		I have deplyed PopTop so several servers to replace M$
vpn capability (mainly because W2K cannot multihome without dying) and
one machine I get these errors:
		 
		Nov 22 13:52:22 perth pptpd[16100]: CTRL: Client
***.***.***.*** control connection started
		Nov 22 13:52:22 perth pptpd[16100]: CTRL: Starting call
(launching pppd, opening GRE)
		Nov 22 13:52:22 perth pptpd[16100]: GRE:
read(fd=5,buffer=804d8a0,len=8196) from PTY failed: status = -1 error =
Input/output error
		Nov 22 13:52:22 perth pptpd[16100]: CTRL: PTY read or
GRE write failed (pty,gre)=(5,6)
		Nov 22 13:52:22 perth pptpd[16100]: CTRL: Client
***.***.***.*** control connection finished
		 
		This problem is listed in the FAQ and is caused by it
being behind a firewall. However in this case, the machine is not behind
a firewall, it is the firewall.
		 
		I have
		1) added entries to the box's firewall to let 1723 and
proto 47 through (not that they were being blocked in the first place)
		2) tried flushing the box's firewall rules
		3) tried binding poptop to the external interface
		 
		The only thing of note is that the kernel is patched to
Masq pptp however its not being used in this case.
		
		 
		--
		Regards,
		 
		Mark Burring
		Internetworking Engineer
		 
		Deeptech - Intelligent Networking
		Deepcare - Caring for Your IT Investment
		web: www.deeptech.com.au <http://www.deeptech.com.au/>
; www.deepcareonline.com <http://www.deepcareonline.com/> 
		phone: 1300 361 954
		fax: +61 8 9201 2312
		postal: PO BOX 1324, West Perth WA 6872
		 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schulte.org/mailman/private/pptp-server/attachments/20011122/aa65c531/attachment.html>


More information about the pptp-server mailing list