Driver e moduli scheda wireless
Inviato: venerdì 17 aprile 2009, 16:35
Ciao a tutti e complimenti per la community,
vorrei sapere se è possibile sapere con certezza il chipset della mia linksys wmp54g e capire come installare il driver e il modulo.
ho questo pacchetto rt2500-cvs-20051112.tgz
ho una scheda pcmi linksys wmp54g e presumo abbia un chipset ralink rt 2500, presumo....
sono collegate via ethernet con fastweb adsl
se digito ifocnfig:
sergio@ubuntu:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:1d:60:36:b4:98
inet addr:39.235.37.155 Bcast:39.235.39.255 Mask:255.255.248.0
inet6 addr: fe80::21d:60ff:fe36:b498/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:12518 errors:0 dropped:0 overruns:0 frame:0
TX packets:12419 errors:0 dropped:0 overruns:0 carrier:2
collisioni:1148 txqueuelen:1000
Byte RX:12871210 (12.8 MB) Byte TX:1772505 (1.7 MB)
lo Link encap:Loopback locale
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisioni:0 txqueuelen:0
Byte RX:100 (100.0 B) Byte TX:100 (100.0 B)
mon0 Link encap:UNSPEC HWaddr 00-12-17-91-06-13-00-00-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:32328 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisioni:0 txqueuelen:1000
Byte RX:3235481 (3.2 MB) Byte TX:0 (0.0 B)
wlan0 Link encap:UNSPEC HWaddr 00-12-17-91-06-13-00-00-00-00-00-00-00-00-00-00
UP BROADCAST NOTRAILERS PROMISC ALLMULTI MTU:1500 Metric:1
RX packets:32328 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisioni:0 txqueuelen:1000
Byte RX:3235481 (3.2 MB) Byte TX:0 (0.0 B)
wmaster0 Link encap:UNSPEC HWaddr 00-12-17-91-06-13-00-00-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisioni:0 txqueuelen:1000
Byte RX:0 (0.0 B) Byte TX:0 (0.0 B)
sergio@ubuntu:~$
inoltre:
sergio@ubuntu:~$ lsmod |grep rt2500
rt2500pci 26368 0
rt2x00pci 16256 1 rt2500pci
rt2x00lib 40576 2 rt2500pci,rt2x00pci
eeprom_93cx6 10752 1 rt2500pci
sergio@ubuntu:~$ modinfo rt2500
modinfo: could not find module rt2500
infine
sergio@ubuntu:~$ iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wmaster0 no wireless extensions.
wlan0 IEEE 802.11bg ESSID:""
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Tx-Power=23 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
pan0 no wireless extensions.
se provo a compilare il driver:
sergio@ubuntu:/usr/src/rt2500-cvs-20051112/Module$ ls
2.4.x docs md5.h rt_config.h rtmp_tkip.c wpa.c
2.6.x eeprom.c mlme.c rtmp_data.c rtmp_type.h wpa.h
assoc.c ifcfg-ra0 mlme.h rtmp_def.h rtmp_wep.c
auth.c iwpriv_usage.txt oid.h rtmp.h sanity.c
auth_rsp.c load README rtmp_info.c sync.c
connect.c Makefile RT2500STA.dat rtmp_init.c TESTING
CVS md5.c rt2560.h rtmp_main.c unload
sergio@ubuntu:/usr/src/rt2500-cvs-20051112/Module$ make
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-11-generic'
mkdir: impossibile creare la directory `/usr/src/rt2500-cvs-20051112/Module/.tmp_versions': Permesso negato
CC [M] /usr/src/rt2500-cvs-20051112/Module/rtmp_main.o
Assembler messages:
Fatal error: can't create /usr/src/rt2500-cvs-20051112/Module/.tmp_rtmp_main.o: Permission denied
In file included from /usr/src/rt2500-cvs-20051112/Module/rtmp_main.c:50:
/usr/src/rt2500-cvs-20051112/Module/rt_config.h:58:40: error: linux/config.h: Nessun file o directory
/usr/src/rt2500-cvs-20051112/Module/rtmp_main.c:57: error: expected ‘)’ before string constant
/usr/src/rt2500-cvs-20051112/Module/rtmp_main.c:61: error: expected ‘)’ before string constant
/usr/src/rt2500-cvs-20051112/Module/rtmp_main.c: In function ‘RT2500_probe’:
/usr/src/rt2500-cvs-20051112/Module/rtmp_main.c:120: error: implicit declaration of function ‘SET_MODULE_OWNER’
/usr/src/rt2500-cvs-20051112/Module/rtmp_main.c:172: error: ‘struct net_device’ has no member named ‘get_wireless_stats’
/usr/src/rt2500-cvs-20051112/Module/rtmp_main.c: In function ‘RT2500_open’:
/usr/src/rt2500-cvs-20051112/Module/rtmp_main.c:259: error: ‘SA_SHIRQ’ undeclared (first use in this function)
/usr/src/rt2500-cvs-20051112/Module/rtmp_main.c:259: error: (Each undeclared identifier is reported only once
/usr/src/rt2500-cvs-20051112/Module/rtmp_main.c:259: error: for each function it appears in.)
/usr/src/rt2500-cvs-20051112/Module/rtmp_main.c:259: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
/usr/src/rt2500-cvs-20051112/Module/rtmp_main.c: In function ‘rt2500_set_mac_address’:
/usr/src/rt2500-cvs-20051112/Module/rtmp_main.c:561: warning: pointer targets in passing argument 1 of ‘is_valid_ether_addr’ differ in signedness
/usr/src/rt2500-cvs-20051112/Module/rtmp_main.c: At top level:
/usr/src/rt2500-cvs-20051112/Module/rtmp_main.c:893: warning: initialization from incompatible pointer type
/usr/src/rt2500-cvs-20051112/Module/rtmp_main.c: In function ‘rt2500_init_module’:
/usr/src/rt2500-cvs-20051112/Module/rtmp_main.c:911: error: implicit declaration of function ‘pci_module_init’
make[2]: *** [/usr/src/rt2500-cvs-20051112/Module/rtmp_main.o] Error 2
make[1]: *** [_module_/usr/src/rt2500-cvs-20051112/Module] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-11-generic'
rt2500.ko failed to build!
make: *** [module] Error 1
sergio@ubuntu:/usr/src/rt2500-cvs-20051112/Module$ ls
Grazie
vorrei sapere se è possibile sapere con certezza il chipset della mia linksys wmp54g e capire come installare il driver e il modulo.
ho questo pacchetto rt2500-cvs-20051112.tgz
ho una scheda pcmi linksys wmp54g e presumo abbia un chipset ralink rt 2500, presumo....
sono collegate via ethernet con fastweb adsl
se digito ifocnfig:
sergio@ubuntu:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:1d:60:36:b4:98
inet addr:39.235.37.155 Bcast:39.235.39.255 Mask:255.255.248.0
inet6 addr: fe80::21d:60ff:fe36:b498/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:12518 errors:0 dropped:0 overruns:0 frame:0
TX packets:12419 errors:0 dropped:0 overruns:0 carrier:2
collisioni:1148 txqueuelen:1000
Byte RX:12871210 (12.8 MB) Byte TX:1772505 (1.7 MB)
lo Link encap:Loopback locale
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisioni:0 txqueuelen:0
Byte RX:100 (100.0 B) Byte TX:100 (100.0 B)
mon0 Link encap:UNSPEC HWaddr 00-12-17-91-06-13-00-00-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:32328 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisioni:0 txqueuelen:1000
Byte RX:3235481 (3.2 MB) Byte TX:0 (0.0 B)
wlan0 Link encap:UNSPEC HWaddr 00-12-17-91-06-13-00-00-00-00-00-00-00-00-00-00
UP BROADCAST NOTRAILERS PROMISC ALLMULTI MTU:1500 Metric:1
RX packets:32328 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisioni:0 txqueuelen:1000
Byte RX:3235481 (3.2 MB) Byte TX:0 (0.0 B)
wmaster0 Link encap:UNSPEC HWaddr 00-12-17-91-06-13-00-00-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisioni:0 txqueuelen:1000
Byte RX:0 (0.0 B) Byte TX:0 (0.0 B)
sergio@ubuntu:~$
inoltre:
sergio@ubuntu:~$ lsmod |grep rt2500
rt2500pci 26368 0
rt2x00pci 16256 1 rt2500pci
rt2x00lib 40576 2 rt2500pci,rt2x00pci
eeprom_93cx6 10752 1 rt2500pci
sergio@ubuntu:~$ modinfo rt2500
modinfo: could not find module rt2500
infine
sergio@ubuntu:~$ iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wmaster0 no wireless extensions.
wlan0 IEEE 802.11bg ESSID:""
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Tx-Power=23 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
pan0 no wireless extensions.
se provo a compilare il driver:
sergio@ubuntu:/usr/src/rt2500-cvs-20051112/Module$ ls
2.4.x docs md5.h rt_config.h rtmp_tkip.c wpa.c
2.6.x eeprom.c mlme.c rtmp_data.c rtmp_type.h wpa.h
assoc.c ifcfg-ra0 mlme.h rtmp_def.h rtmp_wep.c
auth.c iwpriv_usage.txt oid.h rtmp.h sanity.c
auth_rsp.c load README rtmp_info.c sync.c
connect.c Makefile RT2500STA.dat rtmp_init.c TESTING
CVS md5.c rt2560.h rtmp_main.c unload
sergio@ubuntu:/usr/src/rt2500-cvs-20051112/Module$ make
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-11-generic'
mkdir: impossibile creare la directory `/usr/src/rt2500-cvs-20051112/Module/.tmp_versions': Permesso negato
CC [M] /usr/src/rt2500-cvs-20051112/Module/rtmp_main.o
Assembler messages:
Fatal error: can't create /usr/src/rt2500-cvs-20051112/Module/.tmp_rtmp_main.o: Permission denied
In file included from /usr/src/rt2500-cvs-20051112/Module/rtmp_main.c:50:
/usr/src/rt2500-cvs-20051112/Module/rt_config.h:58:40: error: linux/config.h: Nessun file o directory
/usr/src/rt2500-cvs-20051112/Module/rtmp_main.c:57: error: expected ‘)’ before string constant
/usr/src/rt2500-cvs-20051112/Module/rtmp_main.c:61: error: expected ‘)’ before string constant
/usr/src/rt2500-cvs-20051112/Module/rtmp_main.c: In function ‘RT2500_probe’:
/usr/src/rt2500-cvs-20051112/Module/rtmp_main.c:120: error: implicit declaration of function ‘SET_MODULE_OWNER’
/usr/src/rt2500-cvs-20051112/Module/rtmp_main.c:172: error: ‘struct net_device’ has no member named ‘get_wireless_stats’
/usr/src/rt2500-cvs-20051112/Module/rtmp_main.c: In function ‘RT2500_open’:
/usr/src/rt2500-cvs-20051112/Module/rtmp_main.c:259: error: ‘SA_SHIRQ’ undeclared (first use in this function)
/usr/src/rt2500-cvs-20051112/Module/rtmp_main.c:259: error: (Each undeclared identifier is reported only once
/usr/src/rt2500-cvs-20051112/Module/rtmp_main.c:259: error: for each function it appears in.)
/usr/src/rt2500-cvs-20051112/Module/rtmp_main.c:259: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
/usr/src/rt2500-cvs-20051112/Module/rtmp_main.c: In function ‘rt2500_set_mac_address’:
/usr/src/rt2500-cvs-20051112/Module/rtmp_main.c:561: warning: pointer targets in passing argument 1 of ‘is_valid_ether_addr’ differ in signedness
/usr/src/rt2500-cvs-20051112/Module/rtmp_main.c: At top level:
/usr/src/rt2500-cvs-20051112/Module/rtmp_main.c:893: warning: initialization from incompatible pointer type
/usr/src/rt2500-cvs-20051112/Module/rtmp_main.c: In function ‘rt2500_init_module’:
/usr/src/rt2500-cvs-20051112/Module/rtmp_main.c:911: error: implicit declaration of function ‘pci_module_init’
make[2]: *** [/usr/src/rt2500-cvs-20051112/Module/rtmp_main.o] Error 2
make[1]: *** [_module_/usr/src/rt2500-cvs-20051112/Module] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-11-generic'
rt2500.ko failed to build!
make: *** [module] Error 1
sergio@ubuntu:/usr/src/rt2500-cvs-20051112/Module$ ls
Grazie