* Re: pptponfig centos 5.4
2011-03-10 14:22 pptponfig centos 5.4 tony.chamberlain
@ 2011-03-10 14:38 ` Jan Just Keijser
2011-03-10 14:49 ` tony.chamberlain
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: Jan Just Keijser @ 2011-03-10 14:38 UTC (permalink / raw)
To: linux-ppp
tony.chamberlain@lemko.com wrote:
> Hi
>
> I remember one of the James's wrote pptpconfig ;-)
>
> You remember before I was having problems with installation because http
> or yum or rpm would lock up over the web. I had to do this in sysctl:
>
> net.ipv4.tcp_rmem = 4096 87380 174760
> net.ipv4.tcp_wmem = 4096 16384 131072
>
> and then a sysctl -p. Now everything works web wise. But when I try to
> install pptpconfig with yum it tells me libxml and libglade.so.0 are
> dependencies. libxml is no problem. I installed a libglade and did a
> symvolic link from the libglade.so (.7 I believe) to libglade.so.0 but
> it still tells me libglade.so.0 is required. I downloaded
> libglade-0.17-19.i386.rpm and tried to install but it had a whole lot
> more dependencies.
>
> I guess my main questions about centos 5.4 vs. 4.5
>
> 1. Is there a different install method?
> 2. Should I be using
> rpm -Uvh http://pptpclient.sourceforge.net/yum/stable/fc6/pptp-release-current.noarch.rpm
>
> or a different location to get the repository?
>
>
I'd use the rpmforge version (1.7.2)
rpmforge.repo:
[rpmforge]
name = RHEL $releasever - RPMforge.net - dag
baseurl = http://apt.sw.be/redhat/el5/en/$basearch/rpmforge
mirrorlist = http://apt.sw.be/redhat/el5/en/mirrors-rpmforge
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge
enabled = 1
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1
then do a
yum install pptp
HTH,
JJK
^ permalink raw reply [flat|nested] 11+ messages in thread* Re: pptponfig centos 5.4
2011-03-10 14:22 pptponfig centos 5.4 tony.chamberlain
2011-03-10 14:38 ` Jan Just Keijser
@ 2011-03-10 14:49 ` tony.chamberlain
2011-03-10 15:19 ` tony.chamberlain
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: tony.chamberlain @ 2011-03-10 14:49 UTC (permalink / raw)
To: linux-ppp
Some kind of error:
Install 1 Package(s)
Update 1 Package(s)
Remove 0 Package(s)
Total size: 76 k
Is this ok [y/N]: y
Downloading Packages:
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 6b8d79e6
GPG key retrieval failed: [Errno 5] OSError: [Errno 2] No such file or directory: '/etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag'
-----Original Message-----
From: Jan Just Keijser [mailto:jan.just.keijser@gmail.com]
Sent: Thursday, March 10, 2011 08:38 AM
To: tony.chamberlain@lemko.com
Cc: 'ppp Linux'
Subject: Re: pptponfig centos 5.4
tony.chamberlain@lemko.com wrote:
> Hi
>
> I remember one of the James's wrote pptpconfig ;-)
>
> You remember before I was having problems with installation because http
> or yum or rpm would lock up over the web. I had to do this in sysctl:
>
> net.ipv4.tcp_rmem = 4096 87380 174760
> net.ipv4.tcp_wmem = 4096 16384 131072
>
> and then a sysctl -p. Now everything works web wise. But when I try to
> install pptpconfig with yum it tells me libxml and libglade.so.0 are
> dependencies. libxml is no problem. I installed a libglade and did a
> symvolic link from the libglade.so (.7 I believe) to libglade.so.0 but
> it still tells me libglade.so.0 is required. I downloaded
> libglade-0.17-19.i386.rpm and tried to install but it had a whole lot
> more dependencies.
>
> I guess my main questions about centos 5.4 vs. 4.5
>
> 1. Is there a different install method?
> 2. Should I be using
> rpm -Uvh http://pptpclient.sourceforge.net/yum/stable/fc6/pptp-release-current.noarch.rpm
>
> or a different location to get the repository?
>
>
I'd use the rpmforge version (1.7.2)
rpmforge.repo:
[rpmforge]
name = RHEL $releasever - RPMforge.net - dag
baseurl = http://apt.sw.be/redhat/el5/en/$basearch/rpmforge
mirrorlist = http://apt.sw.be/redhat/el5/en/mirrors-rpmforge
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge
enabled = 1
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1
then do a
yum install pptp
HTH,
JJK
--
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 11+ messages in thread* Re: pptponfig centos 5.4
2011-03-10 14:22 pptponfig centos 5.4 tony.chamberlain
2011-03-10 14:38 ` Jan Just Keijser
2011-03-10 14:49 ` tony.chamberlain
@ 2011-03-10 15:19 ` tony.chamberlain
2011-03-10 21:19 ` James Cameron
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: tony.chamberlain @ 2011-03-10 15:19 UTC (permalink / raw)
To: linux-ppp
I did and it installs, but now it keeps closing with a read 0.
We have a Linksys router and I suspect it may not be allowing
pptp or gre or whatever is needed?
-----Original Message-----
From: Jan Just Keijser [mailto:jan.just.keijser@gmail.com]
Sent: Thursday, March 10, 2011 08:51 AM
To: tony.chamberlain@lemko.com
Cc: 'ppp Linux'
Subject: Re: pptponfig centos 5.4
tony.chamberlain@lemko.com wrote:
> Some kind of error:
>
> Install 1 Package(s)
> Update 1 Package(s)
> Remove 0 Package(s)
>
> Total size: 76 k
> Is this ok [y/N]: y
> Downloading Packages:
> warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 6b8d79e6
>
>
> GPG key retrieval failed: [Errno 5] OSError: [Errno 2] No such file or directory: '/etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag'
>
>
whoops, you need to install the rpmforge repo key as well... or, if you
trust the site, set
gpgcheck=0
in the repo file and try again.
HTH,
JJK
> -----Original Message-----
> From: Jan Just Keijser [mailto:jan.just.keijser@gmail.com]
> Sent: Thursday, March 10, 2011 08:38 AM
> To: tony.chamberlain@lemko.com
> Cc: 'ppp Linux'
> Subject: Re: pptponfig centos 5.4
>
> tony.chamberlain@lemko.com wrote:
>
>> Hi
>>
>> I remember one of the James's wrote pptpconfig ;-)
>>
>> You remember before I was having problems with installation because http
>> or yum or rpm would lock up over the web. I had to do this in sysctl:
>>
>> net.ipv4.tcp_rmem = 4096 87380 174760
>> net.ipv4.tcp_wmem = 4096 16384 131072
>>
>> and then a sysctl -p. Now everything works web wise. But when I try to
>> install pptpconfig with yum it tells me libxml and libglade.so.0 are
>> dependencies. libxml is no problem. I installed a libglade and did a
>> symvolic link from the libglade.so (.7 I believe) to libglade.so.0 but
>> it still tells me libglade.so.0 is required. I downloaded
>> libglade-0.17-19.i386.rpm and tried to install but it had a whole lot
>> more dependencies.
>>
>> I guess my main questions about centos 5.4 vs. 4.5
>>
>> 1. Is there a different install method?
>> 2. Should I be using
>> rpm -Uvh http://pptpclient.sourceforge.net/yum/stable/fc6/pptp-release-current.noarch.rpm
>>
>> or a different location to get the repository?
>>
>>
>>
> I'd use the rpmforge version (1.7.2)
>
> rpmforge.repo:
> [rpmforge]
> name = RHEL $releasever - RPMforge.net - dag
> baseurl = http://apt.sw.be/redhat/el5/en/$basearch/rpmforge
> mirrorlist = http://apt.sw.be/redhat/el5/en/mirrors-rpmforge
> #mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge
> enabled = 1
> protect = 0
> gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
> gpgcheck = 1
>
> then do a
> yum install pptp
>
> HTH,
>
> JJK
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>
>
>
^ permalink raw reply [flat|nested] 11+ messages in thread* Re: pptponfig centos 5.4
2011-03-10 14:22 pptponfig centos 5.4 tony.chamberlain
` (2 preceding siblings ...)
2011-03-10 15:19 ` tony.chamberlain
@ 2011-03-10 21:19 ` James Cameron
2011-03-11 3:09 ` tony.chamberlain
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: James Cameron @ 2011-03-10 21:19 UTC (permalink / raw)
To: linux-ppp
On Thu, Mar 10, 2011 at 02:22:38PM +0000, tony.chamberlain@lemko.com wrote:
> I remember one of the James's wrote pptpconfig ;-)
My name is on it. The regret lingers on. "PHP-GTK, why?", I ask
myself.
> I guess my main questions about centos 5.4 vs. 4.5
>
> 1. Is there a different install method?
> 2. Should I be using
> rpm -Uvh http://pptpclient.sourceforge.net/yum/stable/fc6/pptp-release-current.noarch.rpm
>
> or a different location to get the repository?
I don't know.
Alternatives, should you still require them ...
1. pptpsetup is included in pptp, and is a non-GUI for achieving the
same thing as pptpconfig,
2. Network Manager has a pptp plugin which does the same and more.
--
James Cameron
http://quozl.linux.org.au/
^ permalink raw reply [flat|nested] 11+ messages in thread* Re: pptponfig centos 5.4
2011-03-10 14:22 pptponfig centos 5.4 tony.chamberlain
` (3 preceding siblings ...)
2011-03-10 21:19 ` James Cameron
@ 2011-03-11 3:09 ` tony.chamberlain
2011-03-11 3:45 ` James Cameron
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: tony.chamberlain @ 2011-03-11 3:09 UTC (permalink / raw)
To: linux-ppp
Yeah I did pptpsetup -whatever (i put all the parameters in and called the
connection "hill" Then I did "pppd call hill". That connected, set up
my IP and routes and I had ppp connections for a few minutes (5 or so) but
then it would disconnect again
-----Original Message-----
From: James Cameron [mailto:quozl@laptop.org]
Sent: Thursday, March 10, 2011 03:19 PM
To: linux-ppp@vger.kernel.org
Subject: Re: pptponfig centos 5.4
On Thu, Mar 10, 2011 at 02:22:38PM +0000, tony.chamberlain@lemko.com wrote:
> I remember one of the James's wrote pptpconfig ;-)
My name is on it. The regret lingers on. "PHP-GTK, why?", I ask
myself.
> I guess my main questions about centos 5.4 vs. 4.5
>
> 1. Is there a different install method?
> 2. Should I be using
> rpm -Uvh http://pptpclient.sourceforge.net/yum/stable/fc6/pptp-release-current.noarch.rpm
>
> or a different location to get the repository?
I don't know.
Alternatives, should you still require them ...
1. pptpsetup is included in pptp, and is a non-GUI for achieving the
same thing as pptpconfig,
2. Network Manager has a pptp plugin which does the same and more.
--
James Cameron
http://quozl.linux.org.au/
--
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 11+ messages in thread* Re: pptponfig centos 5.4
2011-03-10 14:22 pptponfig centos 5.4 tony.chamberlain
` (4 preceding siblings ...)
2011-03-11 3:09 ` tony.chamberlain
@ 2011-03-11 3:45 ` James Cameron
2011-03-14 13:05 ` tony.chamberlain
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: James Cameron @ 2011-03-11 3:45 UTC (permalink / raw)
To: linux-ppp
On Fri, Mar 11, 2011 at 03:09:19AM +0000, tony.chamberlain@lemko.com wrote:
> Yeah I did pptpsetup -whatever (i put all the parameters in and called
> the connection "hill" Then I did "pppd call hill". That connected,
> set up my IP and routes and I had ppp connections for a few minutes (5
> or so) but then it would disconnect again
common symptom. further diagnosis would involve pppd debug logs most
likely.
--
James Cameron
http://quozl.linux.org.au/
^ permalink raw reply [flat|nested] 11+ messages in thread* Re: pptponfig centos 5.4
2011-03-10 14:22 pptponfig centos 5.4 tony.chamberlain
` (5 preceding siblings ...)
2011-03-11 3:45 ` James Cameron
@ 2011-03-14 13:05 ` tony.chamberlain
2011-03-14 21:46 ` James Cameron
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: tony.chamberlain @ 2011-03-14 13:05 UTC (permalink / raw)
To: linux-ppp
Using the Windows pptp when I connect it allows the remote host to set
my routes for the PPTP vpn. Is there a way to do this in Linux too?
If I want to make a general tool to connect I would like to use it in
/etc/ppp/ip-up.local. For instance, in one connection I want to do
ip route replace 10.0.0.0/8 dev ppp0
but in another connection I want to do
ip route replace 192.168.0.0/24 dev ppp0
I'd like to make a generic thing that would always set the correct route
(best thing to let the VPN server set my routes). I suppose I could make
an interface and look up the tunnel in a text file and return the routes
but that is an extra step.
Tony
-----Original Message-----
From: James Cameron [mailto:quozl@laptop.org]
Sent: Thursday, March 10, 2011 04:19 PM
To: linux-ppp@vger.kernel.org
Subject: Re: pptponfig centos 5.4
On Thu, Mar 10, 2011 at 02:22:38PM +0000, tony.chamberlain@lemko.com wrote:
> I remember one of the James's wrote pptpconfig ;-)
My name is on it. The regret lingers on. "PHP-GTK, why?", I ask
myself.
> I guess my main questions about centos 5.4 vs. 4.5
>
> 1. Is there a different install method?
> 2. Should I be using
> rpm -Uvh http://pptpclient.sourceforge.net/yum/stable/fc6/pptp-release-current.noarch.rpm
>
> or a different location to get the repository?
I don't know.
Alternatives, should you still require them ...
1. pptpsetup is included in pptp, and is a non-GUI for achieving the
same thing as pptpconfig,
2. Network Manager has a pptp plugin which does the same and more.
--
James Cameron
http://quozl.linux.org.au/
--
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 11+ messages in thread* Re: pptponfig centos 5.4
2011-03-10 14:22 pptponfig centos 5.4 tony.chamberlain
` (6 preceding siblings ...)
2011-03-14 13:05 ` tony.chamberlain
@ 2011-03-14 21:46 ` James Cameron
2011-03-15 0:21 ` tony.chamberlain
2011-03-15 11:03 ` James Cameron
9 siblings, 0 replies; 11+ messages in thread
From: James Cameron @ 2011-03-14 21:46 UTC (permalink / raw)
To: linux-ppp
On Mon, Mar 14, 2011 at 01:05:26PM +0000, tony.chamberlain@lemko.com wrote:
> Using the Windows pptp when I connect it allows the remote host to set
> my routes for the PPTP vpn.
Is there a protocol specification for how this is achieved?
> Is there a way to do this in Linux too?
Not to my knowledge. It would imply a communication of routing policy
over the PPP link, and some way to know if it is trusted.
A common way to achieve this is to use /etc/ppp/ip-up.d scripts on the
client side that recognise the tunnel in some way.
--
James Cameron
http://quozl.linux.org.au/
^ permalink raw reply [flat|nested] 11+ messages in thread* Re: pptponfig centos 5.4
2011-03-10 14:22 pptponfig centos 5.4 tony.chamberlain
` (7 preceding siblings ...)
2011-03-14 21:46 ` James Cameron
@ 2011-03-15 0:21 ` tony.chamberlain
2011-03-15 11:03 ` James Cameron
9 siblings, 0 replies; 11+ messages in thread
From: tony.chamberlain @ 2011-03-15 0:21 UTC (permalink / raw)
To: linux-ppp
That is what I do, James. ip-up.lcaol but for each server I have to change
it. I know openvpn will set the routes for you. Maybe the windows thing
just did a default route?
-----Original Message-----
From: James Cameron [mailto:quozl@laptop.org]
Sent: Monday, March 14, 2011 04:46 PM
To: linux-ppp@vger.kernel.org
Subject: Re: pptponfig centos 5.4
On Mon, Mar 14, 2011 at 01:05:26PM +0000, tony.chamberlain@lemko.com wrote:
> Using the Windows pptp when I connect it allows the remote host to set
> my routes for the PPTP vpn.
Is there a protocol specification for how this is achieved?
> Is there a way to do this in Linux too?
Not to my knowledge. It would imply a communication of routing policy
over the PPP link, and some way to know if it is trusted.
A common way to achieve this is to use /etc/ppp/ip-up.d scripts on the
client side that recognise the tunnel in some way.
--
James Cameron
http://quozl.linux.org.au/
--
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 11+ messages in thread* Re: pptponfig centos 5.4
2011-03-10 14:22 pptponfig centos 5.4 tony.chamberlain
` (8 preceding siblings ...)
2011-03-15 0:21 ` tony.chamberlain
@ 2011-03-15 11:03 ` James Cameron
9 siblings, 0 replies; 11+ messages in thread
From: James Cameron @ 2011-03-15 11:03 UTC (permalink / raw)
To: linux-ppp
Then I don't understand what you are asking, sorry.
On Tue, Mar 15, 2011 at 12:21:15AM +0000, tony.chamberlain@lemko.com wrote:
> That is what I do, James. ip-up.lcaol but for each server I have to change
> it. I know openvpn will set the routes for you. Maybe the windows thing
> just did a default route?
>
> -----Original Message-----
> From: James Cameron [mailto:quozl@laptop.org]
> Sent: Monday, March 14, 2011 04:46 PM
> To: linux-ppp@vger.kernel.org
> Subject: Re: pptponfig centos 5.4
>
> On Mon, Mar 14, 2011 at 01:05:26PM +0000, tony.chamberlain@lemko.com wrote:
> > Using the Windows pptp when I connect it allows the remote host to set
> > my routes for the PPTP vpn.
>
> Is there a protocol specification for how this is achieved?
>
> > Is there a way to do this in Linux too?
>
> Not to my knowledge. It would imply a communication of routing policy
> over the PPP link, and some way to know if it is trusted.
>
> A common way to achieve this is to use /etc/ppp/ip-up.d scripts on the
> client side that recognise the tunnel in some way.
>
> --
> James Cameron
> http://quozl.linux.org.au/
> --
> To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
James Cameron
http://quozl.linux.org.au/
^ permalink raw reply [flat|nested] 11+ messages in thread