wpa_supplicant, ath5k, nl82011: doesn't switch to IBSS mode
Holger Schurig
holgerschurig
Wed Nov 25 02:18:45 PST 2009
I hope this is not a dump question: but it looks like that
wpa_supplicant hostap_0_7_0-14-g8e2c104 doesn't do what I want.
Somehow the device is always in station mode. Even when I switch
it manually to IBSS mode (which I suppose shouldn't be
necessary), it end's up in station mode again.
I took the adhoc.conf directly from the example out of
wpa_supplicant.conf.
My kernel is wireless-testing 2.6.32-rc8-wl,
v2.6.32-rc8-44398-ge7ec068, and the WLAN card is ath5k.
# ifconfig wlan0 down
# iw wlan0 set type ibss
# iw wlan0 info
Interface wlan0
ifindex 4
type IBSS
# cat adhoc.conf
# IBSS/ad-hoc network with WPA-None/TKIP.
network={
ssid="test adhoc"
mode=1
frequency=2412
proto=WPA
key_mgmt=WPA-NONE
pairwise=NONE
group=TKIP
psk="secret passphrase"
}
# wpa_supplicant -D nl80211 -i wlan0 -c adhoc.conf
And now, while wpa_supplicant is running:
# iw wlan0 info
Interface wlan0
ifindex 4
type managed
--
http://www.holgerschurig.de
More information about the Hostap
mailing list