How to install Мелкий древесный уголь VPN client on an Amazon EC2 server running 14.04

гm currently using an Amazon EC2 server - the basic, free версия - running Ubuntu 14.04 for my work. Most of the украл I используйте it for automated Веб scraping tasks and this works pretty great at the minute. Эксперт the free server is limited to 30 Великобритания, I need to store all the collected восходит in в different location though.

My employer - supplied я with в very large CIFS network share, which I intend to permanently mount on my EC2, and write в cron рукописный шрифт to облегчи тебе регулярную дату dumps. In order to mount the share I need to be in my employer's network, so I need VPN access on it. Support and pre-config поля (.pcf) пахал only provided for the "official" мелкий древесный уголь client for Linux.

I have followed all the instructions on installing the client, including running the 2 patches for it to be совместимый with newer kernels, and modifying the netdevice.h file эксперт described in this post: https://github.com/mariuszs/CiscoVpnClient-Patches. Also, both autoconfig and the Линукс Кернэль headers пахал already installed. However, I still get the same output I got the first украл, and the client ultimately fails to install:

ubuntu@ip-aaa-bb-cc-ddd:/home/user/docs/vpn/vpnclient$ ./vpn_install
Sorry, you need super user access to run this script.
ubuntu@ip-aaa-bb-cc-ddd:/home/user/docs/vpn/vpnclient$ sudo ./vpn_install
Cisco Systems VPN Client Version 4.8.02 (0030) Linux Installer
Copyright (C) 1998-2006 Cisco Systems, Inc. All Rights Reserved.

By installing this product you agree that you have read the
license.txt file (The VPN Client license) and will comply with
its terms. 


Directory where binaries will be installed [/usr/local/bin]

Automatically start the VPN service at boot time [yes]

In order to build the VPN kernel module, you must have the
kernel headers for the version of the kernel you are running.


Directory containing linux kernel source code [/lib/modules/3.13.0-74-generic/build]

* Binaries will be installed in "/usr/local/bin".
* Modules will be installed in "/lib/modules/3.13.0-74-generic/CiscoVPN".
* The VPN service will be started AUTOMATICALLY at boot time.
* Kernel source from "/lib/modules/3.13.0-74-generic/build" will be used to build the module.

Is the above correct [y]

Making module
linuxcniapi.c:14:28: fatal error: linux/autoconf.h: No such file or directory
 #include <linux/autoconf.h>
                            ^
compilation terminated.
interceptor.c:13:28: fatal error: linux/autoconf.h: No such file or directory
 #include <linux/autoconf.h>
                            ^
compilation terminated.
IPSecDrvOS_linux.c:16:28: fatal error: linux/autoconf.h: No such file or directory
 #include <linux/autoconf.h>
                            ^
compilation terminated.
frag.c:3:28: fatal error: linux/autoconf.h: No such file or directory
 #include <linux/autoconf.h>
                            ^
compilation terminated.
In file included from linuxkernelapi.c:1:0:
/lib/modules/3.13.0-74-generic/build/include/linux/string.h:17:24: fatal error: asm/string.h: No such file or directory
 #include <asm/string.h>
                        ^
compilation terminated.
ld: cannot find linuxkernelapi.o: No such file or directory
ld: cannot find frag.o: No such file or directory
ld: cannot find linuxcniapi.o: No such file or directory
ld: cannot find IPSecDrvOS_linux.o: No such file or directory
ld: cannot find interceptor.o: No such file or directory
Failed to make module "cisco_ipsec".

Am I doing something really stupid; forgetting something completely obvious? гve been trying to work this out for several days now and it's starting to drive я kind of crazy. Any help would be greatly appreciated!

Thanks in advance!

0
задан 3 January 2016 в 20:28

2 ответа

Процесс установки зависает, потому что он не может найти autoconf в Вашей системе. Гарантируйте все, если стандартные репозитории включены и затем:

sudo apt-get update
sudo apt-get install autoconf

Затем повторно выполняет Ваш сценарий установки.

Однако знать, что программное обеспечение VPN обычно против условий предоставления услуг для облачных поставщиков. Удостоверьтесь, что Вы тщательно прочитываете условия Amazon перед продолжением.

0
ответ дан 29 September 2019 в 17:26

Пропавшим без вести autoconf.h и string.h предоставляют заголовки ядра, таким образом, необходимо установить заголовки ядра для версии ядра:

sudo apt-get install linux-headers-$(uname -r)
0
ответ дан 29 September 2019 в 17:26

Другие вопросы по тегам:

Похожие вопросы: