Se avete problemi con l'installazione e la configurazione di Slackware postate qui. Non usate questo forum per argomenti generali... per quelli usate Gnu/Linux in genere.
Regole del forum
1) Citare sempre la versione di Slackware usata, la versione del Kernel e magari anche la versione della libreria coinvolta. Questi dati aiutano le persone che possono rispondere.
2) Per evitare confusione prego inserire in questo forum solo topic che riguardano appunto Slackware, se l'argomento è generale usate il forum Gnu/Linux in genere.
3) Leggere attentamente le risposte ricevute.
4) Scrivere i messaggi con il colore di default, evitare altri colori.
5) Scrivere in Italiano o in Inglese, se possibile grammaticalmente corretto, evitate stili di scrittura poco chiari, quindi nessuna abbreviazione tipo telegramma o scrittura stile SMS o CHAT.
6) Appena registrati è consigliato presentarsi nel forum dedicato.
La non osservanza delle regole porta a provvedimenti di vari tipo da parte dello staff, in particolare la non osservanza della regola 5 porta alla cancellazione del post e alla segnalazione dell'utente. In caso di recidività l'utente rischia il ban temporaneo.
[quote="Ermes1"][quote="Ermes1"]salve a tutti. devo compilare ed installare dei driver per la mia scheda wireless che monta chip rt2500. ci sono i sorgenti per linux.
For 2.6 series kernel:
a. run 'cd STA/Module'
'cp ./2.6.x/Makefile .'
'cp ./2.6.x/load .'
b. $make -C /path/to/source SUBDIRS=$PWD modules
Where /path/to/source is the path to the source directory for the (configured and built) target kernel.
c. run '/sbin/insmod rt2500.ko' (as root)
'/sbin/ifconfig ra0 inet YOUR_IP up'
dopo aver seguito il prima passaggio (a) e vad oa compilare ho i problemi: cosa devo inserire al posto di pathtosource?
se do un semplice make senza parametri ottengo questo:
make -C /lib/modules/2.6.17.13/build SUBDIRS=/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module modules
make[1]: Entering directory `/usr/src/linux-2.6.17.13'
CC [M] /home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.o
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c: In function `RTMPHandleRxDoneInterrupt':
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c:590: warning: comparison of distinct pointer types lacks a cast
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp.h:1396: sorry, unimplemented: inlining failed in call to 'RTMPCheckRxDescriptor': function body not available
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c:180: sorry, unimplemented: called from here
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c: In function `RTMPHandleTxRingTxDoneInterrupt':
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c:693: warning: comparison of distinct pointer types lacks a cast
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c: In function `RTMPHandlePrioRingTxDoneInterrupt':
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c:795: warning: comparison of distinct pointer types lacks a cast
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c:817: warning: comparison of distinct pointer types lacks a cast
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c: In function `RTMPHandleDecryptionDoneInterrupt':
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c:1400: warning: comparison of distinct pointer types lacks a cast
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c: In function `RTMPHandleEncryptionDoneInterrupt':
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c:1505: warning: comparison of distinct pointer types lacks a cast
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c: In function `MiniportMMRequest':
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c:1785: warning: comparison of distinct pointer types lacks a cast
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c: In function `MlmeHardTransmit':
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c:1853: warning: comparison of distinct pointer types lacks a cast
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c:1861: warning: comparison of distinct pointer types lacks a cast
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c:1867: warning: comparison of distinct pointer types lacks a cast
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c:1930: warning: comparison of distinct pointer types lacks a cast
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c: In function `RTMPSendPacket':
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c:2138: warning: comparison of distinct pointer types lacks a cast
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c: In function `RTMPDeQueuePacket':
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c:2231: warning: comparison of distinct pointer types lacks a cast
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c: In function `RTMPFreeDescriptorRequest':
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c:2312: warning: comparison of distinct pointer types lacks a cast
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c:2356: warning: comparison of distinct pointer types lacks a cast
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c: In function `RTMPSendNullFrame':
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c:2465: warning: comparison of distinct pointer types lacks a cast
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c: In function `RTMPHardEncrypt':
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c:2536: warning: comparison of distinct pointer types lacks a cast
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c:2572: warning: comparison of distinct pointer types lacks a cast
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c:2619: warning: comparison of distinct pointer types lacks a cast
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c:2676: warning: comparison of distinct pointer types lacks a cast
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c:2694: warning: comparison of distinct pointer types lacks a cast
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c:2861: warning: comparison of distinct pointer types lacks a cast
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c:2877: warning: comparison of distinct pointer types lacks a cast
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c:3225: warning: comparison of distinct pointer types lacks a cast
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c: At top level:
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c:3865: fatal error: opening dependency file /home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/.rtmp_data.o.d: Permission denied
compilation terminated.
make[2]: *** [/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.o] Error 1
make[1]: *** [_module_/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.17.13'
make: *** [all] Error 2
root@theking:/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module# make
make -C /lib/modules/2.6.17.13/build SUBDIRS=/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module modules
make[1]: Entering directory `/usr/src/linux-2.6.17.13'
CC [M] /home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.o
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c: In function `RTMPHandleRxDoneInterrupt':
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c:590: warning: comparison of distinct pointer types lacks a cast
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp.h:1396: sorry, unimplemented: inlining failed in call to 'RTMPCheckRxDescriptor': function body not available
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c:180: sorry, unimplemented: called from here
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c: In function `RTMPHandleTxRingTxDoneInterrupt':
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c:693: warning: comparison of distinct pointer types lacks a cast
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c: In function `RTMPHandlePrioRingTxDoneInterrupt':
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c:795: warning: comparison of distinct pointer types lacks a cast
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c:817: warning: comparison of distinct pointer types lacks a cast
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c: In function `RTMPHandleDecryptionDoneInterrupt':
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c:1400: warning: comparison of distinct pointer types lacks a cast
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c: In function `RTMPHandleEncryptionDoneInterrupt':
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c:1505: warning: comparison of distinct pointer types lacks a cast
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c: In function `MiniportMMRequest':
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c:1785: warning: comparison of distinct pointer types lacks a cast
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c: In function `MlmeHardTransmit':
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c:1853: warning: comparison of distinct pointer types lacks a cast
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c:1861: warning: comparison of distinct pointer types lacks a cast
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c:1867: warning: comparison of distinct pointer types lacks a cast
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c:1930: warning: comparison of distinct pointer types lacks a cast
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c: In function `RTMPSendPacket':
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c:2138: warning: comparison of distinct pointer types lacks a cast
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c: In function `RTMPDeQueuePacket':
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c:2231: warning: comparison of distinct pointer types lacks a cast
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c: In function `RTMPFreeDescriptorRequest':
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c:2312: warning: comparison of distinct pointer types lacks a cast
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c:2356: warning: comparison of distinct pointer types lacks a cast
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c: In function `RTMPSendNullFrame':
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c:2465: warning: comparison of distinct pointer types lacks a cast
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c: In function `RTMPHardEncrypt':
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c:2536: warning: comparison of distinct pointer types lacks a cast
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c:2572: warning: comparison of distinct pointer types lacks a cast
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c:2619: warning: comparison of distinct pointer types lacks a cast
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c:2676: warning: comparison of distinct pointer types lacks a cast
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c:2694: warning: comparison of distinct pointer types lacks a cast
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c:2861: warning: comparison of distinct pointer types lacks a cast
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c:2877: warning: comparison of distinct pointer types lacks a cast
/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.c:3225: warning: comparison of distinct pointer types lacks a cast
make[2]: *** [/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module/rtmp_data.o] Error 1
make[1]: *** [_module_/home/matteo/Desktop/wireless/RT2500-Linux-STA-1.4.6.6/Module] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.17.13'
make: *** [all] Error 2
Niente, neanche a me ha compilato, solo che mi ha dato errori diversi dai tuoi.
Mi sono ricordato però che la tua scheda è ottima per sniffare pacchetti e per decriptare reti wireless. Così sono andato in questo sito: http://aircrack-ng.org/
e, per quanto riguarda la tua scheda, ho trovato questo driver: http://rt2x00.serialmonkey.com/rt2500-cvs-daily.tar.gz
che a me ha compilato senza errori.
si avevo letto anche io quelal pagina tempo fa e hoi deciso di prendere il chip ralink proprio perchè ha driver pienamente supportati e addirittura consigliati.. (e poi mi è costata poco); solo che il link sul sito risultava errato. ora provo poi ti faccio sapere!!
bene! per la compilazione tutto ok!! ti posso chiedere una cosa.. che tipo di file è un modulo? è un oggetto? cioè.. in sostanza cos'è che ho installato e in che directory è stato instalalto?
Ermes1 ha scritto:. che tipo di file è un modulo? è un oggetto? cioè.. in sostanza cos'è che ho installato e in che directory è stato instalalto?...
Il modulo è il risultato di una compilazione. in effetti è un object-file (precisamente un elf), infatti una volta, nei kernel precedenti aveva estensione .o, dal kernel 2.6 invece hanno introdotto il tipo di estensione .ko (kernel object).
Il tuo modulo in particolare si chiama:
dove il comando `uname -r` restituisce la versione del kernel corrente (che nel tuo caso è 2.6.17.13).
Ha inoltre creato degli alias per il nome del modulo inserendo nel file