Newsgroup: it.comp.os.linux.sys
Titolo: [help] MDK 9.1 e IPsec -> non va! :-/

Salve, uso la mandrake 9.1 e vorrei criptare la mia Lan wireless tramite 
un'implementazione Ipsec ( o meglio FreeSWAN).
Ho installato quella fornita da Mandrake la versione 1.99 ma purtroppo 
non si avvia !
Qualcuna ha il mio stesso problema? Grazie anticipate per i consigli !
[x]Il mio kernel non ricompilato č:
___________________
#uname -r
#2.4.21-0.13mdk
___________________
[x]L'errore di IPsec :
_________________________________________________________________________
# ipsec verify
Checking your system to see if IPsec got installed and started correctly
Version check and ipsec on-path                             [OK]
Checking for KLIPS support in kernel                        [FAILED]
Checking for RSA private key (/etc/freeswan/ipsec.secrets)  [OK]
Checking that pluto is running                              whack: Pluto 
is not running (no "/var/run/pluto.ctl")
[FAILED]
DNS checks.
Looking for forward key for PCportatile.Bimbo               [OK]
Does the machine have at least one non-private address      [OK]
__________________________________________________________________________
[x]Sembrerebbe che il kernel non sia adeguato,come posso far?
[x]All'avvio del servizio ho anche questi log !
__________________________________________________________________________
#cat /var/log/messages | grep -i "ipsec"
lug 29 16:11:09 PCportatile ipsec_setup: Starting FreeS/WAN IPsec 1.99...
lug 29 16:11:10 PCportatile ipsec_setup: 
/lib/modules/2.4.21-0.13mdk/kernel/net/ipsec/ipsec.o.gz: The module you 
are trying to load 
(/lib/modules/2.4.21-0.13mdk/kernel/net/ipsec/ipsec.o.gz) is compiled 
with a gcc
lug 29 16:11:10 PCportatile ipsec_setup: version 2 compiler, while the 
kernel you are running is compiled with
lug 29 16:11:10 PCportatile ipsec_setup: a gcc version 3 compiler. This 
is known to not work.
lug 29 16:11:10 PCportatile ipsec_setup: Using 
/lib/modules/2.4.21-0.13mdk/kernel/net/ipsec/ipsec.o.gz
lug 29 16:11:15 PCportatile ipsec_setup: /sbin/insmod 
/lib/modules/2.4.21-0.13mdk/kernel/net/ipsec/ipsec.o.gz
lug 29 16:11:15 PCportatile ipsec_setup: 
/lib/modules/2.4.21-0.13mdk/kernel/net/ipsec/ipsec.o.gz: The module you 
are trying to load 
(/lib/modules/2.4.21-0.13mdk/kernel/net/ipsec/ipsec.o.gz) is compiled 
with a gcc
lug 29 16:11:15 PCportatile ipsec_setup: version 2 compiler, while the 
kernel you are running is compiled with
lug 29 16:11:15 PCportatile ipsec_setup: a gcc version 3 compiler. This 
is known to not work.
lug 29 16:11:15 PCportatile ipsec_setup: modprobe: insmod 
/lib/modules/2.4.21-0.13mdk/kernel/net/ipsec/ipsec.o.gz failed
lug 29 16:11:15 PCportatile ipsec_setup: modprobe: insmod ipsec failed
lug 29 16:11:15 PCportatile ipsec_setup: kernel appears to lack KLIPS
lug 29 16:11:15 PCportatile ipsec_setup: OOPS, should have aborted! 
Broken shell!
lug 29 16:11:15 PCportatile ipsec: Avvio di Ipsec failed
______________________________________________________________________________

 non si avvia !
Sostituisci la stringa gcc2_compiled con gcc3_compiled nel ipsec.o e dopo 
dovrebbe caricarsi. L'ultimo kernel cooker dovrebbe essere a posto ma non
l'ho ancora provato. E' un problema che si e' trascinato attraverso tutto
il beta testing e le rcX fino alla release finale, senza mai essere stato
risolto.
Fabio

 dovrebbe caricarsi.
Grazie Fabio, ci provo subito!