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

Dan Williams dcbw at redhat.com
Thu Jul 14 11:09:48 EDT 2011


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