#19485: WPS failes on mixed wps_pushbutton settings
-------------------------+------------------------
 Reporter:  flo@…        |      Owner:  developers
     Type:  defect       |     Status:  new
 Priority:  normal       |  Milestone:
Component:  base system  |    Version:  Trunk
 Keywords:               |
-------------------------+------------------------
 ''Pasting hnyman's analysis of my issue from
 https://forum.openwrt.org/viewtopic.php?pid=272476''

 Multiple interfaces with mixed wps_pushbutton settings seem to cause
 trouble.
 I tried configuring two interfaces to my radio1: wps commands fails with
 mixed wps_pushbutton setting but succeeds if values are identical.
 {{{
 root@OpenWrt:~# ls -l /var/run/hostapd
 srwxrwx---    1 root     root             0 Apr 14 16:43 wlan0
 srwxrwx---    1 root     root             0 Apr 14 16:43 wlan1
 srwxrwx---    1 root     root             0 Apr 14 16:43 wlan1-1
 root@OpenWrt:~# grep push /etc/config/wireless
         option wps_pushbutton '1'
         option wps_pushbutton '1'
         option wps_pushbutton '0'
 root@OpenWrt:~# hostapd_cli -i wlan0 wps_pbc
 OK
 root@OpenWrt:~# hostapd_cli -i wlan1 wps_pbc
 FAIL
 root@OpenWrt:~# hostapd_cli -i wlan1-1 wps_pbc
 FAIL

 root@OpenWrt:~# nano /etc/config/wireless
 root@OpenWrt:~# grep push /etc/config/wireless
         option wps_pushbutton '1'
         option wps_pushbutton '1'
         option wps_pushbutton '1'
 root@OpenWrt:~# wifi up
 root@OpenWrt:~# hostapd_cli -i wlan0 wps_pbc
 OK
 root@OpenWrt:~# hostapd_cli -i wlan1 wps_pbc
 OK
 root@OpenWrt:~# hostapd_cli -i wlan1-1 wps_pbc
 OK
 root@OpenWrt:~#
 }}}

 This workaround works for me, but is obviously not ideal, because I don't
 even want WPS capabilities announced on the other SSID.

--
Ticket URL: <https://dev.openwrt.org/ticket/19485>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to