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

Mark Burring markb at deeptech.com.au
Thu Nov 22 00:29:40 CST 2001


No problem
 
1) 2 NIC's
 
eth0 - internal
eth1 - external
 
2) done so, I always compile pty support into the kernel and its
definitely there (my ssh logins are producing pty's as we speak)
 
3) 
pptpd.conf {
debug
option /etc/ppp/options.pptp
localip 192.168.xxx.xxx-xxx
remoteip 192.168.xxx.xxx-xxx
}
 
options {
asyncmap 0
crtscts
proxyarp
lock
ttyS1
}
 
ioptions {
}
 
options.pptp {
lock
debug
proxyarp
+chap
+chapms
+chapms-v2
mppe-40
mppe-128
mppe-stateless
auth
require-chap
+chap
ms-dns 192.168.xxx.xxx
ms-wins 192.168.xxx.xxx
name xxxxxx
}
 
/proc/modules {
mppe                   21696   0 (unused)
ppp                    20336   0 [mppe]
slhc                    4544   0 [ppp]
}
 
4)
 
typically the setup is this
 
           |---------eth1<->internet
         linux
           |---------eth0<->intranet
 
--
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: Murali K. Vemuri [mailto:muralivemuri at multitech.co.in] 
	Sent: Thursday, November 22, 2001 2:14 PM
	To: Mark Burring
	Cc: pptp-server at lists.schulte.org
	Subject: Re: [pptp-server] CTRL: PTY read or GRE write failed
(pty,gre)=(5,6)
	
	
	hi, 
	can you give this info?
	1. how many ether net cards do you have?
	2. double-- literally double ensure that when you compiled the
kernel, you enable unix pty support. 
	3. this error could also be because of different network
addresses. check your settings. 
	if you still get the problem, it would be convenient if you can
provide the following files: 
	/etc/ppp/options 
	/etc/ppp/ioptions 
	/etc/pptpd.conf 
	/etc/modules.conf 
	/var/log/pptpd.log 
	and a typical diagram of your setup( along with ip addresses) 
	regards 
	murali 
	Mark Burring wrote: 

		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 finishedThis 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 have1) 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 rules3) tried binding poptop to the external interfaceThe 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/46788e92/attachment.html>


More information about the pptp-server mailing list