Thursday, September 17, 2009

pptpconfig on ubuntu

One thing that fedora does better out of the box than ubuntu is PPTP VPN configuration. That dang Network Manager just doesn't work. pptpconfig does, and on FC8 yum installs it no problem. No such luck in Ubuntu 9.04. I was able to work around it all, but it wasn't easy. I retrieved the following:

http://sourceforge.net/projects/pptpclient/files/pptpconfig/pptpconfig-20060821/pptpconfig-20060821-1.noarch.rpm/download
http://sourceforge.net/projects/pptpclient/files/pptpconfig%20dependencies/php4-pcntl-4.4.1-2/php4-pcntl-4.4.1-2.i386.rpm/download
http://sourceforge.net/projects/pptpclient/files/pptpconfig%20dependencies/php4-pcntl-gtk-1.0.2-2/php4-pcntl-gtk-1.0.2-2.i386.rpm/download

Did "sudo alien" and "dpkg --install" for each. Same thing for both of:

ftp://195.220.108.108/linux/ASPLinux/i386/RPMS.7.3/libglade-0.17-5.i386.rpm
ftp://195.220.108.108/linux/ASPLinux/i386/updates/9.1/i386/libxml-1.8.17-9.2.i386.rpm

Used synaptics to install libgtk1.2. Did "sudo pptpconfig" and was off and running, except I had to add a route by hand:

sudo route add -net 192.168.1.0 netmask 255.255.255.0 dev ppp0

Really shouldn't have been that hard...

No comments: