wpa_supplicant, ad-hoc network, no WEP/WPA encryption

David Abdurachmanov david.abdurachmanov at gmail.com
Thu Jul 14 11:24:38 EDT 2011


I do have litertas_tf (SDIO) with .39 kernel. Cozybit Inc. does not maintain this driver anymore. From what I understand there is very little interest into having it. SDIO files for libertas_tf is not yet pushed to upstream kernel tree, maybe maybe will be this year.  I also have a custom (?) Marvel firmware from developer, which might not be officially published by OLPC. That firmware might be added to OpenEmbedded meta layer.

I was using libertas_tf + hostapd, but it only works stable on my dev board, but during multiple tests on lab it looks very unstable. I moved from AP/Master mode to Ad-hoc mode with libertas and that was confirmed to work stable.

-david

On 2011.07.14, at 18:09, Dan Williams wrote:

> On Thu, 2011-07-14 at 15:04 +0200, Johannes Berg wrote:
>> On Thu, 2011-07-14 at 15:45 +0300, David Abdurachmanov wrote:
>>> Hi,
>>> 
>>> I had troubles running Master/AP mode on the current system (unstable
>>> Wi-Fi connection) and decided to move to Ad-hoc (IBSS) network. I can
>>> run Ad-hoc network without any problems, but I am not able to add WEP
>>> or WPA encryption.
>> 
>> IBSS-RSN (WPA) can only work with -Dnl80211 which the libertas driver
>> doesn't support.
>> 
>>> Kernel: 2.6.39
>> 
>> and this kernel doesn't support it anyway, I think, not quite sure.
>> 
>>> Even if I try running Ad-hoc network manually with encryption it still
>>> shows up as open network on my other wireless devices, but iwconfig
>>> shows: Encryption key:1234-5678-90 . Commands I use:
>>> ip link set wlan0 down
>>> iwconfig wlan0 mode ad-hoc
>>> iwconfig wlan0 channel 4
>>> iwconfig wlan0 essid 'eMeterNow'
>>> iwconfig wlan0 key 1234567890
>>> ip link set wlan0 up
>> 
>> Then that's a driver bug.
>> 
>> Maybe try libertas_tf.
> 
> I think _tf is usb8388 only, while this user has sd8686 hardware.  So
> he's out of luck there.  But I think we spent some effort long ago on
> making Ad-Hoc WPA (not RSN) work.
> 
> Dan
> 
> 



More information about the HostAP mailing list