You are not logged in.
Pages: 1
Hi Folks,
I am a longtime ubuntu user switching to Arch. Just installed Arch on my thinkpad R50p and extremely impressed with it. I have gotten almost everything working properly but setting up vpn.
I am aware that vpnc does not come with OpenSSL. Can someone guide me for building VPNC with OpenSSL? On ubuntu, I usually get the VPNC source and uncomment the OpenSSL lines, build a debian package and install it. The procedure is:
sudo apt-get update
sudo apt-get build-dep vpnc
sudo apt-get install libssl-dev
mkdir ~/src/vpnc -p
cd ~/src/vpnc
apt-get source vpnc
cd vpnc-*
sudo gedit Makefile
These two lines need to be uncommented in the makefile
OPENSSL_GPL_VIOLATION = DOPENSSL_GPL_VIOLATION
OPENSSLLIBS = -lcrypto
dpkg-buildpackage
sudo dpkg -i ../vpnc*.deb
Looking to learn how to do this on Arch - if someone can point me the right direction, I'll be grateful!
Offline
Afaik our vpnc packages comes with openssl support.
And to answer your question: Look for ABS in our wiki and documentation.
Offline
Afaik our vpnc packages comes with openssl support.
And to answer your question: Look for ABS in our wiki and documentation.
Thanks for pointing me to ABS - that's what I wanted.
And I just checked and you are right, vpnc does come with openssl support. I am able to connect now, but I get this error:
Device "eth0
eth0" does not exist.
SIOCSIFMTU: Invalid argument
There is a bug report in launchpad about this: https://bugs.launchpad.net/ubuntu/+sour … bug/382168
and changing line 93 in /etc/vpnc/cpnc-script to the following fixes the above issue:
DEV=$($IPROUTE route \
| sed -ne 's/^default.* dev \([[:alnum:]-]\+\)\(.*metric \([0-9]\+\)\)\{0,1\}.*$/\1 \3/p' \
| sort -n -k2 \
| sed -e '1{s/^\([[:alnum:]-]\+\).*$/\1/;q}')
Last edited by psrivats (2010-03-21 18:33:36)
Offline
Thanks for this, psrivats!! Solved my Problem, too.
Offline
Pages: 1