Я должен подключиться к Cisco VPN с Ubuntu 14.04, начиная с файла конфигурации pcf и учетных данных пользователя. Я установил network-manager-vpnc, создал новое соединение, импортировав сохраненный файл конфигурации, и заполнил форму учетными данными пользователя. При попытке подключения я получил сообщение о сбое подключения.
Я проделал ту же процедуру на компьютере с Windows, установив этот клиент http://www.asc.edu/downloads/CiscoVPN/Windows/, и он работал отлично.
Я попытался увидеть, какие различия существуют между конфигурациями двух программ. Чего не хватает в настройках параметров Ubuntu, так это «включить прозрачное туннелирование - IpSec через UDP (NAT / PAT). У меня нет ничего подобного в сетевом менеджере Ubuntu. Я даже не уверен, является ли это причиной сбоя.
Я также попытался установить «официальный» клиент для Linux, найденный здесь http://www.asc.edu/downloads/CiscoVPN/Linux/, но я даже не могу установить его, потому что, похоже, у меня проблемы с путями
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-35-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".
Есть ли какое-нибудь решение на Ubuntu 14.04?
Обновление 1:
@MariusMatutiae
Кажется, как и прежде
dario@dario-70A4000MIT:~/Programs/vpnclient$ sudo apt-get install build-essential linux-headers-generic
[sudo] password for dario:
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-headers-generic is already the newest version.
The following extra packages will be installed:
dpkg-dev g++ g++-4.8 libalgorithm-diff-perl libalgorithm-diff-xs-perl
libalgorithm-merge-perl libstdc++-4.8-dev
Suggested packages:
debian-keyring g++-multilib g++-4.8-multilib gcc-4.8-doc libstdc++6-4.8-dbg
libstdc++-4.8-doc
The following NEW packages will be installed:
build-essential dpkg-dev g++ g++-4.8 libalgorithm-diff-perl
libalgorithm-diff-xs-perl libalgorithm-merge-perl libstdc++-4.8-dev
0 upgraded, 8 newly installed, 0 to remove and 6 not upgraded.
Need to get 8.896 kB of archives.
After this operation, 31,7 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://it.archive.ubuntu.com/ubuntu/ trusty/main libstdc++-4.8-dev amd64 4.8.2-19ubuntu1 [1.050 kB]
Get:2 http://it.archive.ubuntu.com/ubuntu/ trusty/main g++-4.8 amd64 4.8.2-19ubuntu1 [7.038 kB]
Get:3 http://it.archive.ubuntu.com/ubuntu/ trusty/main g++ amd64 4:4.8.2-1ubuntu6 [1.490 B]
Get:4 http://it.archive.ubuntu.com/ubuntu/ trusty-updates/main dpkg-dev all 1.17.5ubuntu5.3 [726 kB]
Get:5 http://it.archive.ubuntu.com/ubuntu/ trusty/main build-essential amd64 11.6ubuntu6 [4.838 B]
Get:6 http://it.archive.ubuntu.com/ubuntu/ trusty/main libalgorithm-diff-perl all 1.19.02-3 [50,0 kB]
Get:7 http://it.archive.ubuntu.com/ubuntu/ trusty/main libalgorithm-diff-xs-perl amd64 0.04-2build4 [12,6 kB]
Get:8 http://it.archive.ubuntu.com/ubuntu/ trusty/main libalgorithm-merge-perl all 0.08-2 [12,7 kB]
Fetched 8.896 kB in 8s (1.042 kB/s)
Selecting previously unselected package libstdc++-4.8-dev:amd64.
(Reading database ... 396766 files and directories currently installed.)
Preparing to unpack .../libstdc++-4.8-dev_4.8.2-19ubuntu1_amd64.deb ...
Unpacking libstdc++-4.8-dev:amd64 (4.8.2-19ubuntu1) ...
Selecting previously unselected package g++-4.8.
Preparing to unpack .../g++-4.8_4.8.2-19ubuntu1_amd64.deb ...
Unpacking g++-4.8 (4.8.2-19ubuntu1) ...
Selecting previously unselected package g++.
Preparing to unpack .../g++_4%3a4.8.2-1ubuntu6_amd64.deb ...
Unpacking g++ (4:4.8.2-1ubuntu6) ...
Selecting previously unselected package dpkg-dev.
Preparing to unpack .../dpkg-dev_1.17.5ubuntu5.3_all.deb ...
Unpacking dpkg-dev (1.17.5ubuntu5.3) ...
Selecting previously unselected package build-essential.
Preparing to unpack .../build-essential_11.6ubuntu6_amd64.deb ...
Unpacking build-essential (11.6ubuntu6) ...
Selecting previously unselected package libalgorithm-diff-perl.
Preparing to unpack .../libalgorithm-diff-perl_1.19.02-3_all.deb ...
Unpacking libalgorithm-diff-perl (1.19.02-3) ...
Selecting previously unselected package libalgorithm-diff-xs-perl.
Preparing to unpack .../libalgorithm-diff-xs-perl_0.04-2build4_amd64.deb ...
Unpacking libalgorithm-diff-xs-perl (0.04-2build4) ...
Selecting previously unselected package libalgorithm-merge-perl.
Preparing to unpack .../libalgorithm-merge-perl_0.08-2_all.deb ...
Unpacking libalgorithm-merge-perl (0.08-2) ...
Processing triggers for man-db (2.6.7.1-1) ...
Setting up libstdc++-4.8-dev:amd64 (4.8.2-19ubuntu1) ...
Setting up g++-4.8 (4.8.2-19ubuntu1) ...
Setting up g++ (4:4.8.2-1ubuntu6) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
Setting up dpkg-dev (1.17.5ubuntu5.3) ...
Setting up build-essential (11.6ubuntu6) ...
Setting up libalgorithm-diff-perl (1.19.02-3) ...
Setting up libalgorithm-diff-xs-perl (0.04-2build4) ...
Setting up libalgorithm-merge-perl (0.08-2) ...
dario@dario-70A4000MIT:~/Programs/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-35-generic/build]
* Binaries will be installed in "/usr/local/bin".
* Modules will be installed in "/lib/modules/3.13.0-35-generic/CiscoVPN".
* The VPN service will be started AUTOMATICALLY at boot time.
* Kernel source from "/lib/modules/3.13.0-35-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-35-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".