Re: [PATCH] staging: r8712u: Fix driver to support ad-hoc mode
From: Jeff Chua
Date: Thu Apr 28 2011 - 20:36:54 EST
On Fri, Apr 29, 2011 at 4:15 AM, clemens fischer
<ino-news@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>> Jeff Chua:
>
>> iwconfig doesn't work by itself to set adhoc mode (I haven't figure
>> why either). You can get into "adhoc mode", but you won't see
>> ESSID:XXXX.
>>
>> Can you please try "wpa_supplicant" instead?
>
> Well, I never figured out how to configure adhoc-mode using
> "wpa_supplicant", could you please send a minimal working config entry?
Clemens,
Try this. This is my working config.
# /etc/wpa1.conf
ap_scan=2 # 0 does not work. 1 is ok. 2 is fast.
network={
auth_alg=SHARED
mode=1 # ad-hoc
group=WEP104
ssid="yourSSID"
wep_key0=1234567890ABCDEF123456678
wep_tx_keyidx=0
key_mgmt=NONE
priority=0
scan_ssid=0
frequency=2412
}
# modprobe r8712u
# iwconfig <- you should be able to see 'wlan0' or 'wlan1' if
you've more than 1 wireless
# ifconfig wlan0 up
# wpa_supplicant -i wlan0 -c /etc/wpa1.conf
That should work.
Jeff
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/