Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#3831 - WPS push_button method works even when it's not specified in config_methods #8832

Open
openwrt-bot opened this issue May 27, 2021 · 0 comments
Labels
flyspray packages release/19.07

Comments

@openwrt-bot
Copy link

@openwrt-bot openwrt-bot commented May 27, 2021

sergii-s-per:

System information:
root@OpenWrt:# ubus call system board
{
"kernel": "4.14.221",
"hostname": "OpenWrt",
"system": "MediaTek MT7621 ver:1 eco:3",
"release": {
"distribution": "OpenWrt",
"version": "19.07.7",
"revision": "r11306-c4a6851c72",
"target": "ramips/mt7621",
"description": "OpenWrt 19.07.7 r11306-c4a6851c72"
}
}
root@OpenWrt:
# uci show wireless.default_radio0
wireless.default_radio0=wifi-iface
wireless.default_radio0.device='radio0'
wireless.default_radio0.network='lan'
wireless.default_radio0.mode='ap'
wireless.default_radio0.ssid='OpenWrt'
wireless.default_radio0.key='********'
wireless.default_radio0.encryption='psk-mixed'
wireless.default_radio0.wps_label='1'
root@OpenWrt:~# cat /var/run/hostapd-phy0.conf
driver=nl80211
logger_syslog=127
logger_syslog_level=2
logger_stdout=127
logger_stdout_level=2
hw_mode=g
beacon_int=100
channel=11

ieee80211n=1
ht_coex=0
ht_capab=[SHORT-GI-20][SHORT-GI-40][TX-STBC][RX-STBC1]

interface=wlan0
ctrl_interface=/var/run/hostapd
ap_isolate=1
bss_load_update_period=60
chan_util_avg_period=600
disassoc_low_ack=1
preamble=1
wmm_enabled=1
ignore_broadcast_ssid=0
uapsd_advertisement_enabled=1
utf8_ssid=1
multi_ap=0
wpa_passphrase=********
auth_algs=1
wpa=3
wpa_pairwise=CCMP
eap_server=1
wps_state=2
device_type=6-0050F204-1
device_name=OpenWrt AP
manufacturer=www.openwrt.org
config_methods=label
wps_independent=1
ssid=OpenWrt
bridge=br-lan
wpa_disable_eapol_key_retries=0
wpa_key_mgmt=WPA-PSK
okc=0
disable_pmksa_caching=1
bssid=80:3f:5d:61:91:4b

Steps to reproduce:

  • Install OpenWRT release 19.07.7 with full wpad and hostapd-utils for WPS support
  • Enable label WPS configuration method: uci set wireless.default_radio0.wps_label=1; uci commit wireless; reload_config
  • Push WPS button

Expected result: nothing happens.
Actual result: WPS PBC starts.

@aparcar aparcar added release/19.07 packages labels Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray packages release/19.07
Projects
None yet
Development

No branches or pull requests

2 participants