Search Linux Wireless

Re: [PATCH] mac80211: remove shared key todo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 17, 2008 at 9:12 PM, Dan Williams <dcbw@xxxxxxxxxx> wrote:
> On Mon, 2008-06-16 at 22:46 +0200, Johannes Berg wrote:
>> > > I have no idea. Usually, you don't even do open auth for IBSS, there's
>> > > just no point. Unless you get into IBSS with encryption, but we don't
>> > > really support that yet, and we probably never will actually support
>> > > that without the userspace MLME in wpa supplicant.
>> >
>> > IBSS + WEP works at least for ipw2200 and other non-mac80211 cards; I
>> > can check it out with mac80211 if you like.
>>
>> Yeah, no, +WEP should work. I haven't specifically tested it but I see
>> no reason for it not to work.
>>
>> > Any particular reason IBSS would require a userspace MLME?  There
>> > shouldn't be any rekeying of any kind with adhoc, since there's no
>> > central station to coordinate the rekying.  AFAIK with IBSS you just use
>> > the given PSK at creation time, and never change it.  That shouldn't be
>> > too hard to handle, right?
>>
>> Well, I was really thinking of RSN/WPA, and last I checked
>> wpa_supplicant didn't even support that with IBSS, and I think it
>> requires userspace MLME because you have to do the auth/assoc sequence
>> with each peer etc.
>
> wpa_supplicant _should_ support WPA-PSK with IBSS, you set
> proto=WPA-NONE to do this and I assume it just sends the PSK to the
> driver and never changes it.  I haven't tested it a long time though.
>
> Dan
>
#~ cat wpa_supplicant.conf
# mode: IEEE 802.11 operation mode
# 0 = infrastructure (Managed) mode, i.e., associate with an AP (default)
# 1 = IBSS (ad-hoc, peer-to-peer)
# Note: IBSS can only be used with key_mgmt NONE (plaintext and static WEP)
# and key_mgmt=WPA-NONE (fixed group key TKIP/CCMP). In addition, ap_scan has
# to be set to 2 for IBSS. WPA-None requires following network block options:
# proto=WPA, key_mgmt=WPA-NONE, pairwise=NONE, group=TKIP (or CCMP, but not
# both), and psk must also be set.

Tomas
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux