I'm sorry to post this not actually a "Gentoo related" problem, but I have been reading through a lot of exactly same symptoms for Ralinks rt3070 based chipsets from these forums, and there seems to be a lot of knowledge around here on the subject.
I am actually running an ARM development board (based on Freescale iMX233), and I have created my rootfs with buildroot (ver. 2013.2).
Compiled kernel is based on Freescales mainline kernel with patches for 3.8.
I use cross compiling tools generated by buildroot, and compile my Ralinks official driver (http://www.mediatek.com/_en/07_download ... php?sn=501 - RT8070 /RT3070 /RT3370 /RT5370 /RT5372 USB). I think many people around here have been compiling same driver.
The driver is compiled ok, and I am able to load it into kernel, and I can bring "ra0" interface up:
Code: Select all
# ifconfig ra0 up
[ 2401.580000] (Efuse for 3062/3562/3572) Size=0x2d [2d0-2fc]
[ 2402.140000] RTMP_TimerListAdd: add timer obj c4ae2170!
[ 2402.150000] RTMP_TimerListAdd: add timer obj c4ae21c8!
[ 2402.150000] RTMP_TimerListAdd: add timer obj c4ae2220!
[ 2402.160000] RTMP_TimerListAdd: add timer obj c4ae2118!
[ 2402.160000] RTMP_TimerListAdd: add timer obj c4ae2010!
[ 2402.170000] RTMP_TimerListAdd: add timer obj c4ae2068!
[ 2402.170000] RTMP_TimerListAdd: add timer obj c4aacba4!
[ 2402.180000] RTMP_TimerListAdd: add timer obj c4a9c260!
[ 2402.180000] RTMP_TimerListAdd: add timer obj c4a9c2c0!
[ 2402.190000] RTMP_TimerListAdd: add timer obj c4aaccc0!
[ 2402.190000] RTMP_TimerListAdd: add timer obj c4aacaf4!
[ 2402.200000] RTMP_TimerListAdd: add timer obj c4aacc64!
[ 2402.210000] -->RTUSBVenderReset
[ 2402.220000] <--RTUSBVenderReset
[ 2403.240000] CfgSetCountryRegion():CountryRegion in eeprom was programmed
[ 2403.250000] CfgSetCountryRegion():CountryRegion in eeprom was programmed
[ 2403.260000] Key1Str is Invalid key length(0) or Type(0)
[ 2403.260000] Key2Str is Invalid key length(0) or Type(0)
[ 2403.270000] Key3Str is Invalid key length(0) or Type(0)
[ 2403.280000] Key4Str is Invalid key length(0) or Type(0)
[ 2403.280000] 1. Phy Mode = 5
[ 2403.290000] 2. Phy Mode = 5
[ 2403.290000] NVM is Efuse and its size =2d[2d0-2fc]
[ 2403.430000] phy mode> Error! The chip does not support 5G band 5!
[ 2403.440000] (Efuse for 3062/3562/3572) Size=0x2d [2d0-2fc]
[ 2403.500000] 3. Phy Mode = 9
[ 2403.510000] AntCfgInit: primary/secondary ant 0/1
MCS Set = ff 00 00 00 01
[ 2403.700000] <==== rt28xx_init, Status=0
[ 2403.700000] 0x1300 = 00064300
# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
ra0 Link encap:Ethernet HWaddr 10:6F:3F:EC:C9:9F
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
collisions:0 txqueuelen:1000
RX bytes:209798 (204.8 KiB) TX bytes:41862 (40.8 KiB)
Code: Select all
# iwlist ra0 scan
[ 2442.870000] ===>rt_ioctl_giwscan. 9(9) BSS returned, data->length = 1515
ra0 Scan completed :
Cell 01 - Address: 7C:E9:D3:A8:73:7F
Protocol:802.11b/g/n
ESSID:"7CE9D3AED861"
Mode:Managed
Frequency:2.412 GHz (Channel 1)
-- snip --
For testing purposes I have set my 2.4GHz encryption to WPA-TKIP, and password is "testataan"
Code: Select all
network={
ssid="O_o"
scan_ssid=1
key_mgmt=WPA-PSK
proto=WPA
psk="testataan"
}
It can be found in full here: http://paste.ubuntu.com/5710369/
Now, when I try to connect to my network, I use command:
Code: Select all
# wpa_supplicant -Dwext -i ra0 -c /etc/wpa_supplicant.conf -K -dCode: Select all
ra0: Association request to the driver failed
ra0: Authentication with 54:04:a6:8f:b3:4a timed out.What I would like to ask is what could be wrong here ? Why all WPA connections always fail ? Is my wpa_supplicant.conf file ok ? Is there some simple reason why "driver association" fails ?
Am I giving the password and encryption details correctly ? (I also did try wpa_passphrase, and it generated a hex string, but that didn't help).
I am not so experienced in this embedded world (and this is my first own linux project as well), so please don't hesitate to suggest anything!
Thank you!



