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

Murali K. Vemuri muralivemuri at multitech.co.in
Thu Nov 22 01:01:43 CST 2001


hi,
the best i can help you is :
delete the line : proxyarp
from /etc/ppp/options.pptp
and for localip, put only one ip address and put range only for remote
ip.
and be sure that remote range excludes the local ip .
typically, localip 192.168.1.1
and remoteip 192.168.1.2-254
or some thing like this should work.
and this worked for me.
regds
murali
Mark Burring wrote:

> No problem1) 2 NIC'seth0 - internaleth1 - external2) 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 ; 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 EngineerDeeptech - Intelligent Networking
>     > Deepcare - Caring for Your IT Investment
>     > web: www.deeptech.com.au ; 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/d3b35858/attachment.html>


More information about the pptp-server mailing list