Hallo Rainer,
vielen Dank für Deine Unterstützung! Den alten Treiber brauchte ich nicht zu deinstallieren, da er nach dem nächsten Reboot nicht mehr vorhanden war.
Die genaue Modellbezeichnung meines Sticks lautet "F6D4050ed", die Produktfamilie ist "N150". Im Anhang findest Du die inf.-Datei des 64-Bit-XP-Windows-Treibers. Wahrscheinlich ist der Chipsatz rt2870sta doch korrekt. Ich habe auf der von Dir verlinkten Ralink-Webseite den "RT2870USB(RT2870/RT2770)"-Treiber heruntergeladen und Deine Anweisungen im anderen Thread versucht nachzuvollziehen und auszuführen. ☺
- Treiberdateien entpackt
- linux/config.mk-Datei angepasst
- RT2870STA.dat-Datei angepasst
- linux-headers und build-essential installiert
- Mit dem Terminal ins Treiberverzeichnis gewechselt
- sudo make
make -C tools
make[1]: Betrete Verzeichnis '/home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/tools'
gcc -g bin2h.c -o bin2h
make[1]: Verlasse Verzeichnis '/home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/tools'
/home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/tools/bin2h
cp -f os/linux/Makefile.6 /home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/Makefile
make -C /lib/modules/2.6.32-22-generic/build SUBDIRS=/home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux modules
make[1]: Betrete Verzeichnis '/usr/src/linux-headers-2.6.32-22-generic'
CC [M] /home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../common/crypt_md5.o
CC [M] /home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../common/crypt_sha2.o
CC [M] /home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../common/crypt_hmac.o
CC [M] /home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../common/crypt_aes.o
/home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../common/crypt_aes.c: In function ‘AES_GTK_KEY_WRAP’:
/home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../common/crypt_aes.c:2265: warning: the frame size of 1100 bytes is larger than 1024 bytes
/home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../common/crypt_aes.c: In function ‘WscDecryptData’:
/home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../common/crypt_aes.c:1592: warning: the frame size of 1364 bytes is larger than 1024 bytes
/home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../common/crypt_aes.c: In function ‘WscEncryptData’:
/home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../common/crypt_aes.c:1522: warning: the frame size of 1364 bytes is larger than 1024 bytes
CC [M] /home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../common/crypt_arc4.o
CC [M] /home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../common/mlme.o
/home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../common/mlme.c: In function ‘BssTableSortByRssi’:
/home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../common/mlme.c:4558: warning: the frame size of 1588 bytes is larger than 1024 bytes
CC [M] /home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../common/cmm_wep.o
CC [M] /home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../common/action.o
CC [M] /home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../common/cmm_data.o
CC [M] /home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../common/rtmp_init.o
CC [M] /home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../common/cmm_tkip.o
CC [M] /home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../common/cmm_aes.o
CC [M] /home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../common/cmm_sync.o
CC [M] /home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../common/eeprom.o
CC [M] /home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../common/cmm_sanity.o
CC [M] /home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../common/cmm_info.o
CC [M] /home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../common/cmm_cfg.o
CC [M] /home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../common/cmm_wpa.o
CC [M] /home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../common/dfs.o
CC [M] /home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../common/spectrum.o
CC [M] /home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../common/rtmp_timer.o
CC [M] /home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../common/rt_channel.o
CC [M] /home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../common/cmm_profile.o
CC [M] /home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../common/cmm_asic.o
CC [M] /home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../common/cmm_cmd.o
CC [M] /home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../sta/assoc.o
CC [M] /home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../sta/auth.o
CC [M] /home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../sta/auth_rsp.o
CC [M] /home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../sta/sync.o
/home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../sta/sync.c: In function ‘PeerBeacon’:
/home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../sta/sync.c:1711: warning: the frame size of 1312 bytes is larger than 1024 bytes
/home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../sta/sync.c: In function ‘PeerBeaconAtJoinAction’:
/home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../sta/sync.c:1060: warning: the frame size of 1264 bytes is larger than 1024 bytes
/home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../sta/sync.c: In function ‘PeerBeaconAtScanAction’:
/home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../sta/sync.c:760: warning: the frame size of 1276 bytes is larger than 1024 bytes
/home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../sta/sync.c: In function ‘MlmeStartReqAction’:
/home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../sta/sync.c:579: warning: the frame size of 1064 bytes is larger than 1024 bytes
CC [M] /home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../sta/sanity.o
CC [M] /home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../sta/rtmp_data.o
CC [M] /home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../sta/connect.o
/home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../sta/connect.c: In function ‘CntlOidScanProc’:
/home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../sta/connect.c:346: warning: the frame size of 1616 bytes is larger than 1024 bytes
CC [M] /home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../sta/wpa.o
CC [M] /home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../sta/sta_cfg.o
CC [M] /home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../common/rtmp_init_inf.o
CC [M] /home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../os/linux/rt_profile.o
CC [M] /home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../os/linux/sta_ioctl.o
/home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../os/linux/sta_ioctl.c: In function ‘rt_ioctl_siwencode’:
/home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../os/linux/sta_ioctl.c:1446: warning: suggest parentheses around operand of ‘!’ or change ‘&’ to ‘&&’ or ‘!’ to ‘~’
/home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../os/linux/sta_ioctl.c: In function ‘RTMPIoctlE2PROM’:
/home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../os/linux/sta_ioctl.c:5935: warning: the frame size of 1348 bytes is larger than 1024 bytes
/home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../os/linux/sta_ioctl.c: In function ‘RTMPIoctlMAC’:
/home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../os/linux/sta_ioctl.c:5737: warning: the frame size of 1344 bytes is larger than 1024 bytes
/home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../os/linux/sta_ioctl.c: In function ‘rt_ioctl_iwaplist’:
/home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../os/linux/sta_ioctl.c:600: warning: the frame size of 1288 bytes is larger than 1024 bytes
/home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../os/linux/sta_ioctl.c: In function ‘rt_ioctl_siwmlme’:
/home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../os/linux/sta_ioctl.c:1892: warning: the frame size of 1588 bytes is larger than 1024 bytes
CC [M] /home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../os/linux/rt_linux.o
/home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../os/linux/rt_linux.c: In function ‘send_monitor_packets’:
/home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../os/linux/rt_linux.c:1099: warning: the frame size of 1092 bytes is larger than 1024 bytes
CC [M] /home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../os/linux/rt_main_dev.o
CC [M] /home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../common/ba_action.o
CC [M] /home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../common/cmm_mac_usb.o
CC [M] /home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../common/rtusb_io.o
CC [M] /home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../common/rtusb_bulk.o
CC [M] /home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../common/rtusb_data.o
CC [M] /home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../common/cmm_data_usb.o
CC [M] /home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../common/ee_prom.o
CC [M] /home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../common/rtmp_mcu.o
CC [M] /home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../common/rtusb_dev_id.o
CC [M] /home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../os/linux/rt_usb.o
/home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../os/linux/rt_usb.c: In function ‘RtmpMgmtTaskInit’:
/home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../os/linux/rt_usb.c:70: warning: passing argument 2 of ‘RtmpOSTaskAttach’ from incompatible pointer type
/home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/include/rtmp.h:7123: note: expected ‘RTMP_OS_TASK_CALLBACK’ but argument is of type ‘INT (*)(ULONG)’
/home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../os/linux/rt_usb.c:80: warning: passing argument 2 of ‘RtmpOSTaskAttach’ from incompatible pointer type
/home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/include/rtmp.h:7123: note: expected ‘RTMP_OS_TASK_CALLBACK’ but argument is of type ‘INT (*)(ULONG)’
/home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../os/linux/rt_usb.c:90: warning: passing argument 2 of ‘RtmpOSTaskAttach’ from incompatible pointer type
/home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/include/rtmp.h:7123: note: expected ‘RTMP_OS_TASK_CALLBACK’ but argument is of type ‘INT (*)(ULONG)’
CC [M] /home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../os/linux/rt_usb_util.o
CC [M] /home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/../../os/linux/usb_main_dev.o
LD [M] /home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/rt2870sta.o
Building modules, stage 2.
MODPOST 1 modules
CC /home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/rt2870sta.mod.o
LD [M] /home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux/rt2870sta.ko
make[1]: Verlasse Verzeichnis '/usr/src/linux-headers-2.6.32-22-generic'
- sudo make install
make -C /home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux -f Makefile.6 install
make[1]: Betrete Verzeichnis '/home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux'
rm -rf /etc/Wireless/RT2870STA
mkdir /etc/Wireless/RT2870STA
cp /home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/RT2870STA.dat /etc/Wireless/RT2870STA/.
install -d /lib/modules/2.6.32-22-generic/kernel/drivers/net/wireless/
install -m 644 -c rt2870sta.ko /lib/modules/2.6.32-22-generic/kernel/drivers/net/wireless/
/sbin/depmod -a 2.6.32-22-generic
make[1]: Verlasse Verzeichnis '/home/jan/Desktop/RT2870_LinuxSTA_V2.3.0.0/os/linux'
- sudo depmod -a
- Neustart
- Die von Dir in diesem Thread angegebenen Befehle zur Treiberinstallation habe ich angepasst und "3572" durch "2870" ersetzt:
echo 'install rt2870sta modprobe --ignore-install rt2870sta ; /bin/echo "050d 935a" > /sys/bus/usb/drivers/rt2870/new_id' | sudo tee /etc/modprobe.d/rt2870sta.conf
install rt2870sta modprobe --ignore-install rt2870sta ; /bin/echo "050d 935a" > /sys/bus/usb/drivers/rt2870/new_id
sudo modprobe rt2870sta
dmesg | grep rt28
[ 369.581113] usbcore: registered new interface driver rt2870
[ 370.225398] <==== rt28xx_init, Status=0
Das Modul wird geladen:
lsmod | grep rt
rt2870sta 556529 1
[...]
Irgendetwas habe ich auch schon mal installiert zu haben, allerdings sehen die Werte nicht besonders toll aus...
iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
ra0 Ralink STA ESSID:"11n-AP" Nickname:"RT2870STA"
Mode:Auto Frequency=2.412 GHz Access Point: Not-Associated
Bit Rate:1 Mb/s
RTS thr:off Fragment thr:off
Link Quality=10/100 Signal level:0 dBm Noise level:-97 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
An dieser Stelle noch die Anmerkung, dass unser aktueller Router sowieso nur 54 MBit/s unterstützt, allerdings ist 1 MBit/s etwas unbefriedigend. ☺
Kann man das zum Testen erst mal so lassen? Bzw. wie kann ich herausfinden, ob da überhaupt etwas funktioniert? Müsste ich als nächstes ein Funknetzwerk in System->Einstellungen->Netzwerkverbindungen->Funknetzwerk eintragen?
Vielen Dank und viele Grüße, JayEn