Trying to get VPN working in Slacko 5.6
Trying to get VPN working in Slacko 5.6
Trying to get VPN (PIA) working in Slacko
I've followed everything here
Everything seem fine up to and including "route add default dev ppp0" but browser just hangs.
Can anyone give me (a non technical user)a simple step by step guide to get working?
Thanks
I've followed everything here
Everything seem fine up to and including "route add default dev ppp0" but browser just hangs.
Can anyone give me (a non technical user)a simple step by step guide to get working?
Thanks
I don't have a PIA account so I can't really test.
Give this top post a read and see if it helps:
http://murga-linux.com/puppy/viewtopic.php?t=41929
If you have an account I could use for testing I'd be happy to help further.
Give this top post a read and see if it helps:
http://murga-linux.com/puppy/viewtopic.php?t=41929
If you have an account I could use for testing I'd be happy to help further.
-
- Posts: 5464
- Joined: Fri 10 Jun 2005, 05:12
- Location: Australia
I have access to a PPTP VPN server, and I just tried Gpptp now:
- it works fine in Lucid Puppy 5.1/5.2.x
- but it fails in Slacko 5.4 and 5.6. I even tried creating a symlink from /sbin/ip to /bin/ip. No luck.
Then I tried the same manual commands I used back in 2006 -
http://www.murga-linux.com/puppy/viewto ... 2140#42140
Under Slacko this works fine.
So there's something about Gpptp in Slacko which is broken.
- it works fine in Lucid Puppy 5.1/5.2.x
- but it fails in Slacko 5.4 and 5.6. I even tried creating a symlink from /sbin/ip to /bin/ip. No luck.
Then I tried the same manual commands I used back in 2006 -
http://www.murga-linux.com/puppy/viewto ... 2140#42140
Under Slacko this works fine.
So there's something about Gpptp in Slacko which is broken.
Ok, I figured out what the problem is. It's back to the problem 4.xx puppies had. The route command isn't able set the default route to ppp0.
You can set any non-default route and it will work.
As I recall at the time it seemed it had to do with the BusyBox "route" command. At any rate, It worked just fine in the Lucid puppies.
I'll try to dig into it again, but understand it isn't the Gpptp app doing this. Gpptp is just a front-end for pptp/pppd. The tunnel gets created ok, it's just that the route command is failing for some reason.
You can set any non-default route and it will work.
As I recall at the time it seemed it had to do with the BusyBox "route" command. At any rate, It worked just fine in the Lucid puppies.
I'll try to dig into it again, but understand it isn't the Gpptp app doing this. Gpptp is just a front-end for pptp/pppd. The tunnel gets created ok, it's just that the route command is failing for some reason.
Last edited by jafadmin on Sat 15 Mar 2014, 13:10, edited 1 time in total.
Running the following commands works:
The tunnel is up and working, and all traffic gets to those networks just fine.
We just can't get it to work when we set the "default" route to it (or ppp0). It just freezes everything up. I've tried entering the default route in a dozen different ways and it makes no difference.
For some reason the busybox route command under Slacko will not set the default route to a pppX properly, and of course, shows no errors either.
If anyone can help shed some light on this it would really help.
Code: Select all
# Route all rfc 1918 ip requests to the vpn tunnel so we can access all possible
# subnets where we're connecting.
route add -net 192.168.0.0 netmask 255.255.0.0 gw $MYVPNIPADDR
route add -net 172.16.0.0 netmask 255.240.0.0 gw $MYVPNIPADDR
route add -net 10.0.0.0 netmask 255.0.0.0 gw $MYVPNIPADDR
We just can't get it to work when we set the "default" route to it (or ppp0). It just freezes everything up. I've tried entering the default route in a dozen different ways and it makes no difference.
For some reason the busybox route command under Slacko will not set the default route to a pppX properly, and of course, shows no errors either.
If anyone can help shed some light on this it would really help.
- nilsonmorales
- Posts: 972
- Joined: Fri 15 Apr 2011, 14:39
- Location: El Salvador
morochos localize busybox first
then
Code: Select all
[fixerdog ~] $ which busybox
/bin/busybox
Code: Select all
[fixerdog ~] $ ln -s /bin/busybox /bin/ip
[b][url=http://nilsonmorales.blogspot.com/]My blog |[/url][/b][b][url=https://github.com/woofshahenzup]| Github[/url][/b]
[img]https://i.postimg.cc/5tz5vrrX/imag018la6.gif[/img]
[img]http://s5.postimg.org/7h2fid8pz/botones_logos3.png[/img]
[img]https://i.postimg.cc/5tz5vrrX/imag018la6.gif[/img]
[img]http://s5.postimg.org/7h2fid8pz/botones_logos3.png[/img]