From: James C. <qu...@la...> - 2017-01-24 19:05:19
|
Yes, it sounds like a race condition. In my tests it works fine, but results must depend on how quickly the eth0 interface and DNS become available, especially if DNS is required. Please try; - use an IP address instead of a host name, or; - add "post-up /sbin/ifup tunnel" and "pre-down /sbin/ifdown tunnel" to the eth0 interface, and remove "auto tunnel", or; - use Network Manager. On Tue, Jan 24, 2017 at 02:43:00PM -0300, Hugo Lía wrote: > The tunnel definition is right. Using the "pon" command the tunnel come up > manually without problem. > > I think the problem with Sarge and later procedure is that ppp port is trying > to come up before the eth0 port is ready. > > Hugo > > El ene. 24, 2017 3:10, "James Cameron" <[1]qu...@la...> escribió: > > On Tue, Jan 24, 2017 at 01:57:58PM +1100, James Cameron wrote: > > On Mon, Jan 23, 2017 at 11:36:22PM -0300, Hugo wrote: > > > On Tue, 2017-01-24 at 10:21 +1100, James Cameron wrote: > > > > > > On Mon, Jan 23, 2017 at 07:10:19PM -0300, Hugo wrote: > > > > ... [1][2]http://pptpclient.sourceforge.net/howto-debian.phtml > > > > > > > > The problem is that on point 9 "To have the tunnel started on > system boot" > > > > there is no instructions for Debian Jessie. > > > > > > You would have had to look at the list of Debian release names and > > > deduce that Debian Jessie matches the condition "Debian Sarge and > > > later". > > > > > > I'm not sure I want to keep adding release names. So I shall > remove > > > the old information. > > > > > > I've tried the Sarge instructions and it didn't connect. > > > > Thanks for letting me know, I've removed that step of the > > instructions. Let me know if you find out how to make it > > automatically connect. > > I've put this step back into the instructions after testing it. There > were no problems. > > I've also added Network Manager instructions. > > [3]http://pptpclient.sourceforge.net/howto-debian.phtml > > > > Configuring the PPTP client as for Debian Sarge and later the following > line in > > > is logged in /var/log/ppp-connect-errors > > > "anon fatal[get_ip_address:pptp.c:437]: getaddrinfo(): Name or service > not > > > known" > > > > > > This log entry appears any time the networking service is started. > > > > You might try Network Manager instead; it has a pptp plugin package. > > Check that you are passing the IP address or host name to the pptp > program. In the configuring-by-hand instructions, that's the pty > option in the /etc/ppp/peers/$TUNNEL file. > > -- > James Cameron > [4]http://quozl.netrek.org/ > > References: > > [1] mailto:qu...@la... > [2] http://pptpclient.sourceforge.net/howto-debian.phtml > [3] http://pptpclient.sourceforge.net/howto-debian.phtml > [4] http://quozl.netrek.org/ -- James Cameron http://quozl.netrek.org/ |