From: Hugo <hu...@gm...> - 2017-01-23 22:10:14
|
I have succesfully configure a PPTP-client connection from a Debian Jessie (8.7) server. I followed the instructions on 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. I tried the instructions for Debian Woody but there is no "/etc/ppp/no_ppp_on_boot" after the installation. I created the file from scratch (using a sample I found on internet) but the tunnel does not come up either. Can someone please tell me how to do it? Thanks Hugo |
From: Christoph B. <sou...@ma...> - 2017-01-23 23:17:08
|
Hugo wrote... > I have succesfully configure a PPTP-client connection from a Debian > Jessie (8.7) server. > I followed the instructions on > 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. > > I tried the instructions for Debian Woody but there is no > "/etc/ppp/no_ppp_on_boot" after the installation. I created the file > from scratch (using a sample I found on internet) but the tunnel does > not come up either. Have you tried the "for Debian Sarge and later" way? That one is applicable for jessie as well. Christoph |
From: James C. <qu...@la...> - 2017-01-23 23:21:31
|
On Mon, Jan 23, 2017 at 07:10:19PM -0300, Hugo wrote: > ... 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. -- James Cameron http://quozl.netrek.org/ |
From: Hugo <hu...@gm...> - 2017-01-24 02:36:17
|
On Tue, 2017-01-24 at 10:21 +1100, James Cameron wrote: > On Mon, Jan 23, 2017 at 07:10:19PM -0300, Hugo wrote: > > ... 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. 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. Hugo |
From: James C. <qu...@la...> - 2017-01-24 02:58:15
|
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]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. > 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. -- James Cameron http://quozl.netrek.org/ |
From: James C. <qu...@la...> - 2017-01-24 06:10:32
|
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]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. 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 http://quozl.netrek.org/ |
From: Hugo L. <hu...@gm...> - 2017-01-24 17:43:07
|
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" <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]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. > > 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 > http://quozl.netrek.org/ > |
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/ |
From: Hugo <hu...@gm...> - 2017-01-26 00:34:48
|
James: Thanks! I set up the post-up and pre-down sentences on the /etc/network/interfaces file, and now the pptp tunnel comes up automatically at power on. Hugo |
From: James C. <qu...@la...> - 2017-01-26 01:25:53
|
On Wed, Jan 25, 2017 at 09:34:51PM -0300, Hugo wrote: > James: > Thanks! > I set up the post-up and pre-down sentences on the /etc/network/interfaces > file, and now the pptp tunnel comes up automatically at power on. That's good. I've updated the documentation. Let me know what you think. http://pptpclient.sourceforge.net/howto-debian.phtml -- James Cameron http://quozl.netrek.org/ |