Divilinux ha scritto:
@obs
il supporto o meno del wpa dipende dalla scheda wifi... :-\
non e' escluso pero' che possa anche dipendere dai driver..
puoi postare l'errore della compilazione?..i driver realtek sono notoriamente in bug perenne (quelli per linux) ricordo le nottate passate a patchare quelli per la mia scheda di rete..
La penna usb che ho suporta benissimo WPA (su vista nessun problema), ma non sono riuscito a far funzionare WPA con il modulo standard contenuto nel kernel quindi ho pensato che fosse il modulo, l'alternativa sarebbe che sia io a sbagliare qualcosa nella confirazione e nell'uso di wpa_supplicant..
Ora io ho fatto tutto su desktop, ma avevo provato anche sotto etc...
copio qui l'output dello script ./makdrv per l'installazione dei driver realtek.
Codice: Seleziona tutto
ieee80211/
ieee80211/license
ieee80211/ieee80211_crypt.c
ieee80211/ieee80211_tx.c
tar: ieee80211/ieee80211_tx.c: time stamp 2007-12-05 09:53:21 is 16986236.052843204 s in the future
ieee80211/ieee80211_softmac.c
tar: ieee80211/ieee80211_softmac.c: time stamp 2007-12-05 09:26:56 is 16984651.03549165 s in the future
ieee80211/ieee80211_softmac_wx.c
ieee80211/ieee80211_module.c
tar: ieee80211/ieee80211_module.c: time stamp 2007-12-03 10:07:33 is 16814288.034652375 s in the future
ieee80211/ieee80211_crypt_ccmp.c
ieee80211/ieee80211_rx.c
ieee80211/tags
tar: ieee80211/tags: time stamp 2007-12-03 10:06:42 is 16814237.031778591 s in the future
ieee80211/ieee80211_crypt_tkip.c
ieee80211/Makefile
ieee80211/readme
ieee80211/.tmp_versions/
ieee80211/.tmp_versions/ieee80211-rtl.mod
ieee80211/.tmp_versions/ieee80211_crypt_wep-rtl.mod
ieee80211/.tmp_versions/ieee80211_crypt_tkip-rtl.mod
ieee80211/.tmp_versions/ieee80211_crypt-rtl.mod
ieee80211/.tmp_versions/ieee80211_crypt_ccmp-rtl.mod
ieee80211/ieee80211_crypt_wep.c
ieee80211/ieee80211.h
tar: ieee80211/ieee80211.h: time stamp 2007-12-05 09:27:45 is 16984700.029699047 s in the future
ieee80211/ieee80211_wx.c
ieee80211/ieee80211_crypt.h
rtl8187/
rtl8187/license
rtl8187/r8180_rtl8225z2.c
rtl8187/r8180_rtl8225.h
rtl8187/r8187_led.c
rtl8187/r8180_93cx6.h
rtl8187/r8180_wx.h
rtl8187/r8180_hw.h
tar: rtl8187/r8180_hw.h: time stamp 2007-12-03 12:30:10 is 16822844.970757965 s in the future
rtl8187/copying
rtl8187/r8187_led.h
rtl8187/r8180_pm.h
rtl8187/tags
tar: rtl8187/tags: time stamp 2007-12-05 04:59:01 is 16968575.957531221 s in the future
rtl8187/r8187.h
tar: rtl8187/r8187.h: time stamp 2007-12-05 04:22:20 is 16966374.913873436 s in the future
rtl8187/Makefile
rtl8187/r8180_rtl8225.c
rtl8187/readme
rtl8187/install
rtl8187/.tmp_versions/
rtl8187/.tmp_versions/r8187.mod
rtl8187/changes
rtl8187/r8180_wx.c
rtl8187/r8180_pm.c
rtl8187/r8187_core.c
rtl8187/r8180_93cx6.c
rtl8187/authors
rtl8187/ieee80211.h
tar: rtl8187/ieee80211.h: time stamp 2007-12-05 09:50:41 is 16986075.909462252 s in the future
rtl8187/ieee80211_crypt.h
rm -f *.mod.c *.mod *.o .*.cmd *.ko *~
rm -rf /home/obs/Desktop/rtl8187_linux_26.1025.0328.2007/ieee80211/tmp
make -C /lib/modules/2.6.20-15-generic/build M=/home/obs/Desktop/rtl8187_linux_26.1025.0328.2007/ieee80211 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.20-15-generic'
make[2]: Warning: File `/home/obs/Desktop/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c' has modification time 1,7e+07 s in the future
CC [M] /home/obs/Desktop/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.o
/home/obs/Desktop/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_softmac_scan_wq’:
/home/obs/Desktop/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:421: warning: passing argument 2 of ‘queue_delayed_work’ from incompatible pointer type
/home/obs/Desktop/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_softmac_stop_scan’:
/home/obs/Desktop/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:495: warning: passing argument 1 of ‘cancel_delayed_work’ from incompatible pointer type
/home/obs/Desktop/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_associate_abort’:
/home/obs/Desktop/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:915: warning: passing argument 2 of ‘queue_delayed_work’ from incompatible pointer type
/home/obs/Desktop/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_stop_protocol_rtl’:
/home/obs/Desktop/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2120: warning: passing argument 1 of ‘cancel_delayed_work’ from incompatible pointer type
/home/obs/Desktop/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2229:78: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/obs/Desktop/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_softmac_init’:
/home/obs/Desktop/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2229: error: ‘INIT_WORK’ undeclared (first use in this function)
/home/obs/Desktop/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2229: error: (Each undeclared identifier is reported only once
/home/obs/Desktop/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2229: error: for each function it appears in.)
/home/obs/Desktop/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2230:88: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/obs/Desktop/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2231:94: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/obs/Desktop/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2232:96: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/obs/Desktop/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2233:82: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/obs/Desktop/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2234:82: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/obs/Desktop/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_softmac_free’:
/home/obs/Desktop/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2255: warning: passing argument 1 of ‘cancel_delayed_work’ from incompatible pointer type
make[2]: *** [/home/obs/Desktop/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.o] Error 1
make[1]: *** [_module_/home/obs/Desktop/rtl8187_linux_26.1025.0328.2007/ieee80211] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-15-generic'
make: *** [modules] Error 2
rm -f *.mod.c *.mod *.o .*.cmd *.ko *~
rm -rf /home/obs/Desktop/rtl8187_linux_26.1025.0328.2007/rtl8187/tmp
make -C /lib/modules/2.6.20-15-generic/build M=/home/obs/Desktop/rtl8187_linux_26.1025.0328.2007/rtl8187 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.20-15-generic'
CC [M] /home/obs/Desktop/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.o
In file included from /home/obs/Desktop/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:64:
/home/obs/Desktop/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187.h:29:26: error: linux/config.h: Nessun file o directory
/home/obs/Desktop/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c: In function ‘rtl8187_rx_urbsubmit’:
/home/obs/Desktop/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:730: warning: passing argument 6 of ‘usb_fill_bulk_urb’ from incompatible pointer type
/home/obs/Desktop/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c: In function ‘rtl8180_tx’:
/home/obs/Desktop/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:1648: warning: passing argument 6 of ‘usb_fill_bulk_urb’ from incompatible pointer type
/home/obs/Desktop/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2053:64: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/obs/Desktop/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c: In function ‘rtl8180_init’:
/home/obs/Desktop/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2053: error: ‘INIT_WORK’ undeclared (first use in this function)
/home/obs/Desktop/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2053: error: (Each undeclared identifier is reported only once
/home/obs/Desktop/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2053: error: for each function it appears in.)
/home/obs/Desktop/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2054:77: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/obs/Desktop/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2055:88: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/obs/Desktop/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2056:80: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/obs/Desktop/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2057:78: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/obs/Desktop/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c: In function ‘rtl8187_usb_probe’:
/home/obs/Desktop/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2956: error: ‘struct net_device’ has no member named ‘get_wireless_stats’
make[2]: *** [/home/obs/Desktop/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.o] Error 1
make[1]: *** [_module_/home/obs/Desktop/rtl8187_linux_26.1025.0328.2007/rtl8187] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-15-generic'
make: *** [modules] Error 2
Grazie mille
Obs