1 May 2011 01:08
Re: [PATCH] staging: r8712u: Fix driver to support ad-hoc mode
Jeff Chua <jeff.chua.linux <at> gmail.com>
2011-04-30 23:08:11 GMT
2011-04-30 23:08:11 GMT
On Sat, Apr 30, 2011 at 8:21 PM, clemens fischer <ino-news <at> spotteswoode.dnsalias.org> wrote: >> clemens fischer: > Whatever I did late in the past night: sleeping ten hours helped a lot! > I can now confirm that "r8712u" works in Ad-hoc mode using > "wpa_supplicant(8)", it gets its IP from DHCP, connects everywhere and > lets me get spam and all that. Clemens, Glad to head that! > I still wish "r8712u" would let me use wireless-tools/iwconfig, but > I can live with "wpa_supplicant(8)". You wish just came true. To use plain iwconfig with wpa_supplicant, here's what you need to do ... just remember that the "order" is important ... you must set the encryption key "before" you bring up the interface!!! This applies to non-realtek devices as well. # modprobe r8712u # iwconfig wlan0 key restricted your-encrypted-password-same-as-wpa-psk-string # ifconfig wlan0 up <-- this comes after you set up the encryption above! # iwconfig wlan0 mode ad-hoc essid your-ssid # ifconfig wlan0 your-ip # dhcpd wlan0 Larry, thanks again for your help getting me started on this. The device is working great!(Continue reading)
RSS Feed