Ad-hoc mode and WPA-none (CCMP) with RT73 usb chip

Live forum: http://rt2x00.serialmonkey.com/viewtopic.php?t=5988

Cheb

22-12-2009 22:14:34

Hello everybody,

i'm trying to enable a simple ad-hoc network with one rt73 usb key and a laptop running under windows. I'm actually using the last 2.6.32.2 kernel

I tried before with wpa_supplicant but it does not work. Secondly, the iwpriv command returns "no ioctrl".

config used for wpa_supplicant (does not work)
network={
ssid="homelinux"
mode=1
key_mgmt=WPA-NONE
proto=WPA
auth_alg=OPEN
pairwise=NONE
group=CCMP
psk="xxxxxxxx"
}

Is it possible to configure this ad-hoc network with the actual in-kernel rt73 driver?
should i use Iw command to do this?

I tried to see documentations attached on this and other website but no success.

Sorry for my english....

Thanks a lot.

Cheb

24-12-2009 21:28:43

I solved the problem by using rt73-k2wrlz modified module (3.0.3). It works fine now after adding a modified makefile to meet the last kernel.

iwpriv commands are now working.

commands used for ad-hoc network

Config STA to create/link as adhoc mode, which is WPANONE/TKIP(Authentication/Encryption)
1. iwpriv wlan0 set NetworkType=Adhoc
2. iwpriv wlan0 set AuthMode=WPANONE
3. iwpriv wlan0 set EncrypType=TKIP
5. iwpriv wlan0 set WPAPSK=12345678

you can use also the AES encryption type. It works fine between a win laptop and a gateway with the last kernel.


Now, i'm wondering why the in-kernel driver does not work. Is it only a regression???