Michele Baraglia "AlfatangoXT" wrote:
Ciao raga , dopo le vostre info su cosa prendere ho preso una scheda di rete wireless con chipset ralink "nome scheda KRAUL" 30€ :). Adesso viene il bello ho trovato diverse guide che vi posto "http://www.sistemistiindipendenti.org/modules/news/article.php?storyid=190&title=RaLink%20Wireless%20PCI%20Card%20sotto%20Linux" questo e il primo e in italiano in formato pdf , ottimo e ben fatto, poi ho trovato anche questo girando un po : "http://forum.debian-fr.org/viewtopic.php?t=6135" che e in francese cmq si capisce bene . Ecco fin qui ci siamo , il mio problema salta fuori quando vado a far compilare il modulo per il driver , ecco l'output del mio errore:mannaggia ragazzi mi correggo da solo LOL o capito l'errore ce nel file in Module " rtmp_main.c "michele@alfaxt:~/rt61/RT61_Linux_STA_Drv1.1.0.0/Module$ make allmake -C /lib/modules/2.6.21-2-686/build SUBDIRS=/home/michele/rt61/RT61_Linux_STA_Drv1.1.0.0/Module modulesmake[1]: Entering directory `/usr/src/linux-headers-2.6.21-2-686' CC [M] /home/michele/rt61/RT61_Linux_STA_Drv1.1.0.0/Module/rtmp_main.o/home/michele/rt61/RT61_Linux_STA_Drv1.1.0.0/Module/rtmp_main.c: In function 'RT61_probe': /home/michele/rt61/RT61_Linux_STA_Drv1.1.0.0/Module/rtmp_main.c:197: error: 'struct net_device' has no member named 'get_wireless_stats' /home/michele/rt61/RT61_Linux_STA_Drv1.1.0.0/Module/rtmp_main.c: In function 'RT61_open': /home/michele/rt61/RT61_Linux_STA_Drv1.1.0.0/Module/rtmp_main.c:326: warning: passing argument 2 of 'request_irq' from incompatible pointer type make[2]: *** [/home/michele/rt61/RT61_Linux_STA_Drv1.1.0.0/Module/rtmp_main.o] Error 1 make[1]: *** [_module_/home/michele/rt61/RT61_Linux_STA_Drv1.1.0.0/Module] Error 2make[1]: Leaving directory `/usr/src/linux-headers-2.6.21-2-686' make: *** [all] Error 2non capisco dove sia l'errore ho seguito le guide alla lettera :(
la fila 197 e da correggere : anziche questa :
#if WIRELESS_EXT >= 12 net_dev->get_wireless_stats = RT61_get_wireless_stats;net_dev->wireless_handlers = (struct iw_handler_def *) &rt61_iw_handler_def;#endif
mettere cosi:
#if WIRELESS_EXT >= 12 // net_dev->get_wireless_stats = RT61_get_wireless_stats;net_dev->wireless_handlers = (struct iw_handler_def *) &rt61_iw_handler_def; #endif
ed la compilazione va a termine :) OK spero serva a qlc come consiglio ciao raga :D