Realtek RTL8187

Riconoscimento, installazione e configurazione delle periferiche.
DrSlump
Prode Principiante
Messaggi: 35
Iscrizione: venerdì 27 ottobre 2006, 9:47

Realtek RTL8187

Messaggio da DrSlump »

Ciao a tutti,
avrei bisogno di un aiuto:
vorrei installare i driver linux per la scheda wireless, in dotazione alla mia Asus P5W DH Deluxe, disponibili sul sito realtek all'indirizzo
http://www.realtek.com.tw/downloads/dow ... e#RTL8187L

Ma sinceramente non saprei come fare, visto che provando ad effettuare la compilazione del driver, ricevo solo errori :(
Obs
Prode Principiante
Messaggi: 2
Iscrizione: lunedì 21 maggio 2007, 9:17

Re: Realtek RTL8187

Messaggio da Obs »

Io ho un problema simile...
ho lo stess chipset su una penna usb che funziona normalmente con il modulo del kernel se non uso WPA...ma non funziona, o almeno non riesco a farlo funzionare, con WPA.
Ho quindi provato a compilare i driver che dici, e ricevo errori di compilazione eseguendo gli script che ci sono gia nel pacchetto.
Non so come procedere.
Qualcuno sa se il modulo del kernel di ubuntu che supporta rtl8187 supporta anche WPA o no?
Qualcuno ha installato il driver Realtek per questo chipset con successo?
Divilinux

Re: Realtek RTL8187

Messaggio da Divilinux »

@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..
Avatar utente
Bobby
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1978
Iscrizione: lunedì 15 gennaio 2007, 17:29

Re: Realtek RTL8187

Messaggio da Bobby »

@DrSlump. Io ho la stessa scheda madre. Non avendo un modem wifi non ho mai verificato il completo e totale funzionamento della scheda wireless. Però con festy viene rilevata senza installare driver e vede le reti intorno al pc.
The time is out of joint; - O cursed spite,
That even I was born to set it right! -
                                            Hamlet
Obs
Prode Principiante
Messaggi: 2
Iscrizione: lunedì 21 maggio 2007, 9:17

Re: Realtek RTL8187

Messaggio da Obs »

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
Ultima modifica di Obs il martedì 22 maggio 2007, 20:35, modificato 1 volta in totale.
Divilinux

Re: Realtek RTL8187

Messaggio da Divilinux »

error: linux/config.h: Nessun file o directory

questo e' un errore molto comune..si risolve commentando con // davanti ad #include ,in questo caso

Codice: Seleziona tutto

r8187.h
altrimenti puo' voler dire che i driver non sono per il kernel 2.6
Cmq c'e' anche un problema col subsystem ieee80211..per quello potresti installare e sovrascrivere questo vecchio modulo..con i driver ieee80211 piu' recenti  :-\
Scrivi risposta

Ritorna a “Driver e periferiche”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 10 ospiti