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

Johannes Berg johannes
Thu Jul 14 06:04:48 PDT 2011


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.

johannes




More information about the Hostap mailing list