[OpenWrt-Devel] [PATCH] Add pbc_in_m1 option

2014-03-14 Thread Pawel Kulakowski
Option pbc_in_m1 is being used as a WPS capability discovery workaround for PBC with Windows 7. Add possibility to enable this workaround from UCI. To enable it, turn on wps and set wps_pbc_in_m1 parameter to 1. Signed-off-by: Pawel Kulakowski pawel.kulakow...@tieto.com --- package/network

[OpenWrt-Devel] [UCI] Problem with overwriting settings

2014-03-24 Thread Pawel Kulakowski
Hi, When hostAP is running in Open mode and STA connects to it using PBC or PIN (wps enabled), then wpa_passphrase has been generated and added to the conf file (/var/run/hostapd-phyX.conf). Next, if AP is rebooted using UCI ('wifi' command), configuration will be overwritten by settings from

Re: [OpenWrt-Devel] [UCI] Problem with overwriting settings

2014-03-26 Thread Pawel Kulakowski
synchronization after step 3 will be very hard (how to decide which file is up to date... etc.). BR, Pawel On 24 March 2014 14:17, Felix Fietkau n...@openwrt.org wrote: On 2014-03-24 14:06, Pawel Kulakowski wrote: Hi, When hostAP is running in Open mode and STA connects to it using PBC