Hello *,
open issues on configuration of RT2870 (WLAN USB Stick WUSB600n from linksys), hope any network/ralink specialist got the solution. I’m working with WPA2…thanks
Problem #1:
=> i’ve got router & internet access after restart network, but not automatically after boottime???
#rcnetwork restart
#wpa_supplicant -Dwext -ira0 -c/etc/wpa_supplicant/ra0.conf
connection works fine after these commands, WLAN access is stable - so cant be a problem of native driver or firmware
Problem #2:
=> on boottime serveral iwconfig(?) statements failed (see /varlog/boot.msg)
-> seems that iwconfig(?) Commmands processed before ‘ifconfig ra0 inet up’ is done, why??
Problem #3:
=> Please check if RT2870STA.dat file is ok (see RT2870STA.dat)?
Question:
=> Filesize of compiled native driver rt2870sta.ko = 8802752 Bytes !!?? too large !?
P.S.: i dont want to download a “rpm-solution”, cause will write a how-to for others rt2870 USB user with same problems…
Here’s some more information of what i’ve done till now (kernel = 2.6.27.21-0.1-pae):
(1)compiled the driver with sources from “2009_0521_RT2870_Linux_STA_V2.1.2.0.tgz” downloaded from Ralink Technology: Home,
followed the instructions in README_STA -> works fine, no warnings or errors. Module rt2870sta could load without errors/warnings
(2) manual configuration
- add line in /etc/modprobe.conf.local: alias ra0 rt2870sta
- create file ifcfg-ra0 in /etc/sysconfig/network
WIRELESS=‘yes’
BOOTPROTO=‘dhcp’
STARTMODE=‘hotplug’
NAME=‘Linksys Wireless-N USB Network Adapater with Dual Band - WUSB600N’
WIRELESS_ESSID=‘ikarus’
Hints:
DEVICE='ra0' has no addtional effects
- via yast on autostart in System->Kernel->MODULES_LOADED_ON_BOOT rt2870sta
****** /varlog/boot.msg
Setting up (remotefs) network interfaces:
ra0 -o rc onboot
ra0 name: Linksys Wireless-N USB Network Adapater with Dual Band - WUSB600N
ra0 ra0 -o rc onboot
unknown option rc ignored
prefer wpa_supplicant: no
warning: debug mode logs your encryption keys!
ra0 warning: using NO encryption
WIRELESS_MODE is unset, using Managed
run_iw_tool() config mode Managed
command 'iwconfig ra0 mode Managed' returned
Error for wireless request "Set Mode" (8B06) :
SET failed on device ra0 ; Network is down.
run_iw_tool() config key off
command 'iwconfig ra0 key off' returned
Error for wireless request "Set Encode" (8B2A) :
SET failed on device ra0 ; Network is down.
run_iw_tool() config essid ikarus
command 'iwconfig ra0 essid ikarus' returned
Error for wireless request "Set ESSID" (8B1A) :
SET failed on device ra0 ; Network is down.
Starting Name Service Cache Daemon<notice>startproc: execve (/usr/sbin/nscd) /usr/sbin/nscd ], CONSOLE=/dev/console ROOTFS_FSTYPE=ext3 SHELL=/bin/sh TERM=linux ROOTFS_FSCK=0 LC_ALL=POSIX INIT_VERSION=sysvinit-2.86 REDIRECT=/dev/tty1 COLUMNS=156 PATH=/bin:/sbin:/usr/bin:/usr/sbin vga=0x31a DO_CONFIRM= RUNLEVEL=5 PWD=/ SPLASHCFG=/etc/bootsplash/themes/openSUSE/config/bootsplash-1280x1024.cfg PREVLEVEL=N LINES=60 HOME=/ SHLVL=2 splash=silent SPLASH=yes ROOTFS_BLKDEV=/dev/disk/by-id/ata-SAMSUNG_HD322HJ_S17AJ90S152614-part6 _=/sbin/startproc DAEMON=/usr/sbin/nscd ]
done
Starting mail service (Postfix)<notice>startproc: execve (/usr/sbin/sshd) /usr/sbin/sshd -o PidFile=/var/run/sshd.init.pid ], CONSOLE=/dev/console ROOTFS_FSTYPE=ext3 SHELL=/bin/sh TERM=linux ROOTFS_FSCK=0 LC_ALL=POSIX INIT_VERSION=sysvinit-2.86 REDIRECT=/dev/tty1 COLUMNS=156 PATH=/bin:/sbin:/usr/bin:/usr/sbin vga=0x31a DO_CONFIRM= RUNLEVEL=5 PWD=/ SPLASHCFG=/etc/bootsplash/themes/openSUSE/config/bootsplash-1280x1024.cfg PREVLEVEL=N LINES=60 HOME=/ SHLVL=2 splash=silent SPLASH=yes ROOTFS_BLKDEV=/dev/disk/by-id/ata-SAMSUNG_HD322HJ_S17AJ90S152614-part6 _=/sbin/startproc DAEMON=/usr/sbin/sshd ]
run_iw_tool() config ap any
done
Starting SSH daemondone
Starting smartd done
ra0 ra0 -o rc onboot
Activating interface ra0
ra0 Starting DHCP4 clientStarting dhcp client: /sbin/dhcpcd --netconfig -L -HHH -c /etc/sysconfig/network/scripts/dhcpcd-hook -t "0" -h "unixserver" ra0
. . . . <notice>startproc: execve (/usr/sbin/cron) /usr/sbin/cron ], CONSOLE=/dev/console ROOTFS_FSTYPE=ext3 SHELL=/bin/sh TERM=linux ROOTFS_FSCK=0 LC_ALL=POSIX INIT_VERSION=sysvinit-2.86 REDIRECT=/dev/tty1 COLUMNS=156 PATH=/bin:/sbin:/usr/bin:/usr/sbin vga=0x31a DO_CONFIRM= RUNLEVEL=5 PWD=/ SPLASHCFG=/etc/bootsplash/themes/openSUSE/config/bootsplash-1280x1024.cfg PREVLEVEL=N LINES=60 HOME=/ SHLVL=2 splash=silent SPLASH=yes ROOTFS_BLKDEV=/dev/disk/by-id/ata-SAMSUNG_HD322HJ_S17AJ90S152614-part6 _=/sbin/startproc DAEMON=/usr/sbin/cron ]
Starting CRON daemondone
. . . .
ra0 DHCP4 continues in background
DHCP4(required=no) STARTED=yes STATUS=12
DHCP6(required=no) STARTED=no STATUS=5
ra0 ra0 -o rc onboot
calling: ip route replace to default via 192.168.1.2 ---> FAILED
ra0 returned 12
waiting
... still waiting for hotplug devices:
SUCCESS_IFACES=
MANDATORY_DEVICES=__NSC__
... final
SUCCESS_IFACES=
MANDATORY_DEVICES=
FAILED=0
noiface -o rc onboot
Setting up service (remotefs) network . . . . . . . . . .done
done
Starting Firewall Initialization (phase 2 of 2) done
Master Resource Control: runlevel 5 has been reached
Skipped services in runlevel 5: nfs
<notice>killproc: kill(1976,3)
****** RT2870STA.dat
#The word of "Default" must not be removed
Default
CountryRegion=1
CountryRegionABand=1
CountryCode=DE
ChannelGeography=1
SSID=ikarus
NetworkType=Infra
WirelessMode=9
Channel=0
BeaconPeriod=100
TxPower=100
BGProtection=0
TxPreamble=0
RTSThreshold=2347
FragThreshold=2346
TxBurst=1
PktAggregate=0
WmmCapable=1
AckPolicy=0;0;0;0
AuthMode=WPA2
EncrypType=
WPAPSK=
DefaultKeyID=1
Key1Type=0
Key1Str=
Key2Type=0
Key2Str=
Key3Type=0
Key3Str=
Key4Type=0
Key4Str=
PSMode=CAM
AutoRoaming=0
RoamThreshold=70
APSDCapable=0
APSDAC=0;0;0;0
HT_RDG=1
HT_EXTCHA=0
HT_OpMode=1
HT_MpduDensity=4
HT_BW=1
"RT2870STA.dat" 57L, 797C