Re: [PATCH v2 02/15] mesh: factor out rsn initialization

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

 



Hi Peter,

On Fri, Apr 13, 2018 at 11:54:29AM -0700, Peter Oh wrote:
> > > > AP-ENABLED
> > > > mesh: Passphrase for SAE not configured
> > > > Init RSN failed. Deinit mesh...
> > > > wlan1: interface state ENABLED->DISABLED
> > > > AP-DISABLED
> > > > Segmentation fault
> > This segmentation fault part was introduced in these new mesh DFS
> > patches. Without them (i.e., the hostap.git master branch before today),
> > I saw no segmentation fault here -- the setup just failed cleanly with
> > that "passphrase for SAE not configured" message.
> What is the compiling option generating segmentation fault? I want to try.

This was on Atheros AR7240 SoC running OpenWrt (ie. MIPS32Kc bytecode).
The easiest way to reproduce this would be to grab an arbitary
ath9k-based 802.11a router and build a firmware using:
git clone https://git.openwrt.org/openwrt/openwrt.git/
cd openwrt
# remove the fix
rm package/network/services/hostapd/patches/020-mesh-properly-handle-sae_password.patch
make menuconfig
# select your router model
make
# add -j4 or such to have build in parallel

Once you flashed the firmware, configure a wireless network using UCI
on the target:

uci set wireless.radio1.channel='100'
uci set wireless.radio1.country='DE'
uci set wireless.default_radio1.mode=mesh
uci set wireless.default_radio1.encryption=psk2
uci set wireless.default_radio1.key='freifunk'
uci commit wireless
wifi

And you'll see wpa_supplicant segfaulting once CAC is done.


Cheers


Daniel

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



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

  Powered by Linux