Modify

Opened 3 years ago

Last modified 2 years ago

#19485 new defect

WPS failes on mixed wps_pushbutton settings

Reported by: flo@… Owned by: developers
Priority: normal Milestone:
Component: base system Version: Trunk
Keywords: Cc:

Description

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.

Attachments (0)

Change History (1)

comment:1 Changed 2 years ago by dakazmier@…

I can confirm that I am experiencing the same problem on our build of barrier breaker. We do not want our 5G or Guest networks to support WPS so this is a critical fix for us.

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.