problem connecting GRE

View: New views
9 Messages — Rating Filter:   Alert me  

problem connecting GRE

by Oscar Fernandes :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I just configure poptop and I get some error messages when I try to connect:

May 11 15:51:44 nl pppd[15600]: Using interface ppp0
May 11 15:51:44 nl pppd[15600]: Connect: ppp0 <--> /dev/pts/1
May 11 15:51:44 nl pptpd[15599]: GRE: read(fd=7,buffer=80515e0,len=8260) from network failed: status = -1 error = Protocol not available
May 11 15:51:44 nl pptpd[15599]: CTRL: GRE read or PTY write failed (gre,pty)=(7,6)
May 11 15:51:44 nl pppd[15600]: Modem hangup
May 11 15:51:44 nl pppd[15600]: Connection terminated.
May 11 15:51:44 nl pppd[15600]: Exit.

Can anyone help me?

regards

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Poptop-server mailing list
Poptop-server@...
https://lists.sourceforge.net/lists/listinfo/poptop-server

Re: problem connecting GRE

by James Cameron-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, May 11, 2009 at 04:04:32PM +0200, Oscar Fernandes wrote:
>    I just configure poptop and I get some error messages when I try to
>    connect:

This is such a common problem that I've added it to the FAQ.
http://poptop.sourceforge.net/dox/qna.html#27

By the way, if anyone would like to help maintain the web site please do
so.  See my earlier post in the archives about darcs.

--
James Cameron                         http://quozl.netrek.org/
HP Open Source, Volunteer             http://opensource.hp.com/
PPTP Client Project, Release Engineer http://pptpclient.sourceforge.net/

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Poptop-server mailing list
Poptop-server@...
https://lists.sourceforge.net/lists/listinfo/poptop-server

Re: problem connecting GRE

by Michael St. Laurent :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> On Mon, May 11, 2009 at 04:04:32PM +0200, Oscar Fernandes wrote:
> >    I just configure poptop and I get some error messages when I try
to
> >    connect:
>
> This is such a common problem that I've added it to the FAQ.
> http://poptop.sourceforge.net/dox/qna.html#27
>
> By the way, if anyone would like to help maintain the web site please
do
> so.  See my earlier post in the archives about darcs.

The entry I've cut and pasted below is already in the FAQ so perhaps it
should be edited or deleted in light of your new entry:

Q. GRE: read(fd=5,buffer=804d720,len=8196) from PTY failed: status = -1
error = Input/output error

A. The log will display something like this:

Jun 22 21:48:35 linuxbox pptpd[1900]: GRE:
read(fd=5,buffer=804d720,len=8196) from PTY failed: status = -1 error =
Input/output error
Jun 22 21:48:35 linuxbox pptpd[1900]: CTRL: PTY read or GRE write failed
(pty,gre)=(5,6)

pppd failed for some reason. pptpd failed to report why pppd failed.
This is a bug, but it is not yet fixed.
You should look at why pppd failed, which is most likely your fault, not
a bug. pppd fails when it does not understand the options you entered.
Running pppd manually against your options.pptpd file would find the bad
options.

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Poptop-server mailing list
Poptop-server@...
https://lists.sourceforge.net/lists/listinfo/poptop-server

Parent Message unknown Re: problem connecting GRE

by bruno@openline.com.br :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

--- Oscar Fernandes <oscar.fernandes.bcn@...> escreveu:
> Hi!
>
> More information  from client and server side:
>
> from linux client: connection ok
> from windows xp sp2: connection ok
>
> from vista: connection failed
> from win7: connection failed

Tricky question: remembered to turn off win vista / win7 firewall?

Cheers
!3runo
from Brazil


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Poptop-server mailing list
Poptop-server@...
https://lists.sourceforge.net/lists/listinfo/poptop-server

Re: problem connecting GRE

by Oscar Fernandes :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi!

More information  from client and server side:

from linux client: connection ok
from windows xp sp2: connection ok

from vista: connection failed
from win7: connection failed

From  server side.

Linux or xp client:
May 13 20:55:46 vpn pptpd[3248]: CTRL: Client x.x.x.34 control connection started
May 13 20:55:46 vpn pptpd[3248]: CTRL: Starting call (launching pppd, opening GRE)
May 13 20:55:46 vpn pppd[3250]: pppd 2.4.4 started by root, uid 0
May 13 20:55:46 vpn pppd[3250]: Using interface ppp0
May 13 20:55:46 vpn pppd[3250]: Connect: ppp0 <--> /dev/pts/0
May 13 20:55:49 vpn pptpd[3248]: CTRL: Ignored a SET LINK INFO packet with real ACCMs!
May 13 20:55:50 vpn pppd[3250]: MPPE 128-bit stateless compression enabled
May 13 20:55:52 vpn pppd[3250]: found interface eth0 for proxy arp
May 13 20:55:52 vpn pppd[3250]: local  IP address x.x.x.35
May 13 20:55:52 vpn pppd[3250]: remote IP address x.x.x.50
May 13 21:02:14 vpn pptpd[3248]: CTRL: Reaping child PPP[3250]
May 13 21:02:14 vpn pppd[3250]: Modem hangup
May 13 21:02:14 vpn pppd[3250]: Connect time 6.4 minutes.
May 13 21:02:14 vpn pppd[3250]: Sent 1154965 bytes, received 168574 bytes.
May 13 21:02:14 vpn pppd[3250]: MPPE disabled
May 13 21:02:14 vpn pppd[3250]: Connection terminated.
May 13 21:02:14 vpn pppd[3250]: Exit.

Vista:

May 13 21:55:53 vpn pptpd[3275]: CTRL: Client x.x.x.76 control connection started
May 13 21:55:53 vpn pptpd[3275]: CTRL: Starting call (launching pppd, opening GRE)
May 13 21:55:53 vpn pppd[3277]: pppd 2.4.4 started by root, uid 0
May 13 21:55:53 vpn pppd[3277]: Using interface ppp0
May 13 21:55:53 vpn pppd[3277]: Connect: ppp0 <--> /dev/pts/0
May 13 21:55:53 vpn pptpd[3275]: GRE: read(fd=7,buffer=80505a0,len=8260) from network failed: status = -1 error = Protocol not available
May 13 21:55:53 vpn pptpd[3275]: CTRL: GRE read or PTY write failed (gre,pty)=(7,6)
May 13 21:55:53 vpn pppd[3277]: Modem hangup
May 13 21:55:53 vpn pppd[3277]: Connection terminated.
May 13 21:55:53 vpn pptpd[3275]: CTRL: Reaping child PPP[3277]
May 13 21:55:53 vpn pppd[3277]: Exit.

Win7
May 13 21:55:53 vpn pptpd[3275]: CTRL: Client x.x.x.76 control connection finished
May 13 21:56:12 vpn pptpd[3284]: CTRL: Clientx.x.x.76 control connection started
May 13 21:56:12 vpn pptpd[3284]: CTRL: Starting call (launching pppd, opening GRE)
May 13 21:56:12 vpn pppd[3285]: pppd 2.4.4 started by root, uid 0
May 13 21:56:12 vpn pppd[3285]: Using interface ppp0
May 13 21:56:12 vpn pppd[3285]: Connect: ppp0 <--> /dev/pts/0
May 13 21:56:13 vpn pptpd[3284]: GRE: read(fd=7,buffer=80505a0,len=8260) from network failed: status = -1 error = Protocol not available
May 13 21:56:13 vpn pptpd[3284]: CTRL: GRE read or PTY write failed (gre,pty)=(7,6)
May 13 21:56:13 vpn pptpd[3284]: CTRL: Reaping child PPP[3285]
May 13 21:56:13 vpn pppd[3285]: Modem hangup
May 13 21:56:13 vpn pppd[3285]: Connection terminated.
May 13 21:56:13 vpn pppd[3285]: Exit.

Other vista laptop
May 13 22:36:23 vpn pptpd[3305]: CTRL: Client x.x.x14 control connection started
May 13 22:36:23 vpn pptpd[3305]: CTRL: Starting call (launching pppd, opening GRE)
May 13 22:36:23 vpn pppd[3307]: pppd 2.4.4 started by root, uid 0
May 13 22:36:23 vpn pppd[3307]: Using interface ppp0
May 13 22:36:23 vpn pppd[3307]: Connect: ppp0 <--> /dev/pts/1
May 13 22:36:23 vpn pptpd[3305]: GRE: read(fd=7,buffer=80505a0,len=8260) from network failed: status = -1 error = Protocol not available
May 13 22:36:23 vpn pptpd[3305]: CTRL: GRE read or PTY write failed (gre,pty)=(7,6)
May 13 22:36:23 vpn pptpd[3305]: CTRL: Reaping child PPP[3307]
May 13 22:36:23 vpn pppd[3307]: Modem hangup
May 13 22:36:23 vpn pppd[3307]: Connection terminated.
May 13 22:36:23 vpn pppd[3307]: Exit.

regards

2009/5/13 Michael St. Laurent <mikes@...>
> On Mon, May 11, 2009 at 04:04:32PM +0200, Oscar Fernandes wrote:
> >    I just configure poptop and I get some error messages when I try
to
> >    connect:
>
> This is such a common problem that I've added it to the FAQ.
> http://poptop.sourceforge.net/dox/qna.html#27
>
> By the way, if anyone would like to help maintain the web site please
do
> so.  See my earlier post in the archives about darcs.

The entry I've cut and pasted below is already in the FAQ so perhaps it
should be edited or deleted in light of your new entry:

Q. GRE: read(fd=5,buffer=804d720,len=8196) from PTY failed: status = -1
error = Input/output error

A. The log will display something like this:

Jun 22 21:48:35 linuxbox pptpd[1900]: GRE:
read(fd=5,buffer=804d720,len=8196) from PTY failed: status = -1 error =
Input/output error
Jun 22 21:48:35 linuxbox pptpd[1900]: CTRL: PTY read or GRE write failed
(pty,gre)=(5,6)

pppd failed for some reason. pptpd failed to report why pppd failed.
This is a bug, but it is not yet fixed.
You should look at why pppd failed, which is most likely your fault, not
a bug. pppd fails when it does not understand the options you entered.
Running pppd manually against your options.pptpd file would find the bad
options.

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Poptop-server mailing list
Poptop-server@...
https://lists.sourceforge.net/lists/listinfo/poptop-server


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Poptop-server mailing list
Poptop-server@...
https://lists.sourceforge.net/lists/listinfo/poptop-server

Re: problem connecting GRE

by Oscar Fernandes :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Firewall full disconected (turned off on a fresh install)

Regards :)

My config: (all ips are public ips)

vpn:~# cat /etc/pptpd.conf
option /etc/ppp/options.pptpd
localip  x.x.x.35
remoteip x.x.x.50-61
netmask 255.255.255.0
vpn:~#

vpn:~# cat /etc/ppp/options.pptpd
name pptpd
refuse-pap
refuse-chap
refuse-mschap
require-mschap-v2
require-mppe-128
ms-dns x.x.x.33
ms-dns x.x.x.34
proxyarp
lock
#nobsdcomp
novj
novjccomp
nologfd

Regards
 
OFR

2009/5/13 Bruno@... <Bruno@...>
--- Oscar Fernandes <oscar.fernandes.bcn@...> escreveu:
> Hi!
>
> More information  from client and server side:
>
> from linux client: connection ok
> from windows xp sp2: connection ok
>
> from vista: connection failed
> from win7: connection failed

Tricky question: remembered to turn off win vista / win7 firewall?

Cheers
!3runo
from Brazil


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Poptop-server mailing list
Poptop-server@...
https://lists.sourceforge.net/lists/listinfo/poptop-server


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Poptop-server mailing list
Poptop-server@...
https://lists.sourceforge.net/lists/listinfo/poptop-server

Parent Message unknown Re: problem connecting GRE

by bruno@openline.com.br :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

--- Oscar Fernandes <oscar.fernandes.bcn@...> escreveu:
> Firewall full disconected (turned off on a fresh install)
> My config: (all ips are public ips)
> vpn:~# cat /etc/ppp/options.pptpd
> refuse-pap
> refuse-chap
> refuse-mschap
> require-mschap-v2
> require-mppe-128

As you said linux and xp worked, I'd say that there is something
missing on vista or win7 clients

As you stated their firewall is off, did you checked if the above
configs are ok on vista and win7 clients? M$ tend to modify them
from version to version of ther "o.s."

Cheesrs
!3runo
from Brazol

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Poptop-server mailing list
Poptop-server@...
https://lists.sourceforge.net/lists/listinfo/poptop-server

Re: problem connecting GRE

by James Cameron-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, May 13, 2009 at 10:38:35PM +0200, Oscar Fernandes wrote:
>    May 13 21:55:53 vpn pptpd[3275]: GRE: read(fd=7,buffer=80505a0,len=8260) from network failed: status = -1 error = Protocol not available

Again, use tcpdump or wireshark to discover where the ICMP destination
unreachable protocol unreachable message is coming from.

--
James Cameron
http://ftp.hp.com.au/sigs/jc/

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Poptop-server mailing list
Poptop-server@...
https://lists.sourceforge.net/lists/listinfo/poptop-server

Re: problem connecting GRE

by James Cameron-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, May 13, 2009 at 12:40:26PM -0700, Michael St. Laurent wrote:
> The entry I've cut and pasted below is already in the FAQ so perhaps
> it should be edited or deleted in light of your new entry:

Yes, it should, but it is EIO "Input/output error" and not EPROTO
"Protocol not available".  EPROTO is what the original poster
experienced.

I've changed it.  See
http://poptop.sourceforge.net/dox/qna.html#23

--
James Cameron                         http://quozl.netrek.org/
HP Open Source, Volunteer             http://opensource.hp.com/
PPTP Client Project, Release Engineer http://pptpclient.sourceforge.net/

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Poptop-server mailing list
Poptop-server@...
https://lists.sourceforge.net/lists/listinfo/poptop-server