Hi Gurus of UNIX, I have a problem when I try to install a software VPN Cisco in Laptop (HP530).
I do the following procedures:
Part 2 - VPN Client Compilation
- We will now set up the vpn client. As there is no official Cisco VPN Client for OpenSolaris X86 available, we will use vpnc.
- Install gnu make first:
# pkg install SUNWgmake
- Download the current vpnc client from http://www.unix-ag.uni-kl.de/%7Emass...c-0.5.3.tar.gz
- Gunzip and untar it to eg. /opt/build/vpnc-0.5.3
- Edit the Makefile (my preferences)
PREFIX=/opt/vpnc
ETCDIR=/opt/vpnc/etc
- In the Makefile also replace all occurences of install with ginstall
- Edit tunip.c and remove the non-posix compliant "| LOG_PERROR" on line 1061. The line should look like:
{{openlog("vpnc", LOG_PID, LOG_DAEMON);}
- We have to change all hardcoded paths in config.c
Line 156: return "/opt/vpnc/etc/ssl/certs";
Line 176: return "/opt/vpnc/etc/vpnc-script";
Line 181: return "/var/run/vpnc.pid";
Line 459: asprintf(&realname, "%s%s%s", index(name, '/') ? "" : "/opt/vpnc/etc/", name, add_dot_conf ? ".conf" : "");
- Edit vpnc-disconnect to point to the correct pid file
Line 3: pid=/var/run/vpnc.pid
- Now we can compile and install the vpnc client. Compiling with SunStudioExpress is left as an exercise for the reader
# make
# make install
This tutorial is from
Accessing a Cisco VPN with OpenSolaris - Vathorstweb
when I put the command:
#make
appear the following error
andres@opensolaris:/opt/build/vpnc-0.5.3# make install
make: Fatal error in reader: Makefile, line 36: Unexpected end of line seen
Any Guru can help me please
Regardless
Andres