[FoLUG] aiuto con Cisco vpn client per Ubuntu 9.10

Ilaria °°° illykk@yahoo.it
Ven 14 Ott 2011 11:12:54 CEST


grande! grazie mille Ivan!!
Infatti ha funzionato come hai detto tu. In realtà ho estratto la cartella con i metodi non da Terminale perchè non ci riuscivo, e poi ho fatto:

ilaria@ilaria-laptop:~$ cd $HOME/Scaricati cd vpnclient
ilaria@ilaria-laptop:~/Scaricati$ cd vpnclient
ilaria@ilaria-laptop:~/Scaricati/vpnclient$ sudo ./vpn_install
Cisco Systems VPN Client Version 4.8.00 (0490) Linux Installer
Copyright (C) 1998-2005 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/2.6.31-23-generic/build]

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

Is the above correct [y]

Making module
make -C /lib/modules/2.6.31-23-generic/build SUBDIRS=/home/ilaria/Scaricati/vpnclient modules

make[1]: ingresso nella directory «/usr/src/linux-headers-2.6.31-23-generic»
  CC [M]  /home/ilaria/Scaricati/vpnclient/linuxcniapi.o
/home/ilaria/Scaricati/vpnclient/linuxcniapi.c:12:26: error: linux/config.h: Nessun file o directory
In file included from /home/ilaria/Scaricati/vpnclient/Cniapi.h:15,
                 from /home/ilaria/Scaricati/vpnclient/linuxcniapi.c:27:
/home/ilaria/Scaricati/vpnclient/GenDefs.h:113: error: conflicting types for ‘uintptr_t’
include/linux/types.h:41: note: previous declaration of ‘uintptr_t’ was here
/home/ilaria/Scaricati/vpnclient/linuxcniapi.c: In function ‘CniInjectReceive’:
/home/ilaria/Scaricati/vpnclient/linuxcniapi.c:297: error: implicit declaration of function ‘skb_set_timestamp’
/home/ilaria/Scaricati/vpnclient/linuxcniapi.c:331: error: ‘struct sk_buff’ has no member named ‘nh’
/home/ilaria/Scaricati/vpnclient/linuxcniapi.c:332: error: ‘struct sk_buff’ has no member named ‘mac’
/home/ilaria/Scaricati/vpnclient/linuxcniapi.c: In function ‘CniInjectSend’:
/home/ilaria/Scaricati/vpnclient/linuxcniapi.c:454: error: ‘struct sk_buff’ has no member named ‘mac’
/home/ilaria/Scaricati/vpnclient/linuxcniapi.c:455: error: ‘struct sk_buff’ has no member named ‘nh’
/home/ilaria/Scaricati/vpnclient/linuxcniapi.c:458: error: ‘struct sk_buff’ has no member named ‘h’
/home/ilaria/Scaricati/vpnclient/linuxcniapi.c:458: error: ‘struct sk_buff’ has no member named ‘nh’
make[2]: *** [/home/ilaria/Scaricati/vpnclient/linuxcniapi.o] Errore 1
make[1]: *** [_module_/home/ilaria/Scaricati/vpnclient] Errore 2
make[1]: uscita dalla directory «/usr/src/linux-headers-2.6.31-23-generic»
make: *** [default] Errore 2
Failed to make module "cisco_ipsec.ko".
ilaria@ilaria-laptop:~/Scaricati/vpnclient$ 

e quindi mi sono piantata! che cosa è successo di sbagliato?

grazie e scusa per il disturbo...non vorrei intasare la lista:(

P.S. ho bisogno di una patch aggiuntiva? perchè ho letto che il 9.10 crea dei problemi con vpnclient dunque avrei pure una fixes.patch





________________________________
Da: Ivan Fabris <i.f-ml01@darthxiong.net>
A: Forlí Linux User Group <folug@lists.linux.it>
Inviato: Venerdì 14 Ottobre 2011 10:42
Oggetto: Re: [FoLUG] aiuto con Cisco vpn client per Ubuntu 9.10

On Friday 14 October 2011 10:09:36 Ilaria °°° wrote:
> ciao a tutti!

ciao

> tar zxf vpnclient-linux-x86_64-4.8.02.0030-k9.tar.gz
> ilaria@ilaria-laptop:~$ tar zxf
> vpnclient-linux-x86_64-4.8.02.0030-k9.tar.gz tar:
> vpnclient-linux-x86_64-4.8.02.0030-k9.tar.gz: funzione "open" non
> riuscita: Nessun file o directory tar: Errore irrimediabile: uscita
> immediata
> tar: Child returned status 2

questo e' l' errore del tar che non trova il file da aprire. vuol dire che il 
posto in cui dai il comando non e' quello in cui si trova il file.

non ho ben presente i grovigli di ubuntu, ma cosi' a occhio direi che uno di 
questi 4 comandi ti risolvera' il problema :

cd $HOME/Download
cd $HOME/Scaricati
cd $HOME/Scrivania
cd $HOME/Desktop

ne dai uno e poi provi tar zxvf vpncl..... se non funziona provi il successivo

se nessuno dei 4 va, prova con 
find $HOME | grep vpnclient
il comando ti dara' il percorso completo del file da dare in pasto al tar

> Ho provato anche a installarlo direttamente, facendo 
> cd vpnclient
> sudo ./vpn_install

questi solo dopo che avrai etratto il client col tar. 

-- 
  (@_ Ivan Fabris, S. Sofia (FC,it) PowerPC e Debian GNU/linux SID _*)
  //\         www.folug.org      lunga vita e prosperita'          /\\
  V_/_  pgp id 9E12 1AB8 E094 162C 1936 E29D 0700 3B4D B432 2931  _\_V

_______________________________________________
FoLUG mailing list
FoLUG@lists.linux.it
http://lists.linux.it/listinfo/folug per cancellarsi dalla lista


Maggiori informazioni sulla lista FoLUG