lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <BANLkTimi4cUzS5-r_ofzLnjbVtNNjwD69Q@mail.gmail.com>
Date:	Fri, 29 Apr 2011 08:36:48 +0800
From:	Jeff Chua <jeff.chua.linux@...il.com>
To:	clemens fischer <ino-news@...tteswoode.dnsalias.org>
Cc:	Larry Finger <Larry.Finger@...inger.net>,
	Greg Kroah-Hartman <gregkh@...e.de>, wlanfae@...ltek.com,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] staging: r8712u: Fix driver to support ad-hoc mode

On Fri, Apr 29, 2011 at 4:15 AM, clemens fischer
<ino-news@...tteswoode.dnsalias.org> 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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ