openwrt Insomnia

WPS 

https://openwrt.org/docs/user-guide/wifi_configuration#wps_options

https://forum.openwrt.org/t/how-to-use-wps-on-linksys-wrt/165148

There were some changes. So this is how it works with 23.05.0-rc2.

Minimal steps needed to get WPS running:

In /etc/config/wireless it is important in the wifi-ifaceonly in the 2.4 GHZ.

    option wps_pushbutton '1'

But you can do it with LUCI as well.

opkg update

# if you remove it, it will not work
# v22
opkg remove wpad-basic-wolfssl
# v23
opkg remove wpad-basic-mbedtls

# it will start working after re-install
# v22
opkg install wpad-wolfssl hostapd-utils
# v23
opkg install wpad-mbedtls hostapd-utils

reboot && exit

# v22
hostapd_cli -i wlan1 wps_pbc
# or v23
hostapd_cli wps_pbc
# or v23
hostapd_cli -i phy1-ap0 wps_pbc


# v22 or
hostapd_cli -i wlan1 wps_pin any $PIN
# v23 or
hostapd_cli wps_pin any $PIN
# v23 or
hostapd_cli -i phy1-ap0 wps_pin any $PIN

# /var/run/hostapd-phy1.conf???

Debug (not needed) 

reboot && exit

# regenerate the wifi interface
rm -f /etc/config/wireless
wifi config

iw reg get
iw dev

Actual Linksys 3200ACM WPS 

Do what it says above. Then on router on the bottom right there is the WPS button. Click for like 3 seconds or more and it will work.

Example 

config wifi-iface 'default_radio1'
    option device 'radio1'
    option network 'lan'
    option mode 'ap'
    option ssid 'your-ssid'
    option key 'your-secret'
    option encryption 'psk2+ccmp'
    option wps_pushbutton '1'
onenoteGithub onenoteredis-uiGithub redis-uiangular-compileGithub angular-compilegitlistGithub gitlistramdiskGithub ramdiskfreenomGithub freenomopenwrt-insomniaGithub openwrt-insomniaredis-ui-serverGithub redis-ui-serversystemd-managerGithub systemd-managerredis-ui-materialGithub redis-ui-materialxml2jsonGithub xml2jsoncorifeusGithub corifeushtml-pdfGithub html-pdfangular-http-cache-interceptorGithub angular-http-cache-interceptorverdaccio-cliGithub verdaccio-clicorifeus-app-web-pagesGithub corifeus-app-web-pagesbinary-search-closestGithub binary-search-closestgrunt-p3x-expressGithub grunt-p3x-expressjson2xls-worker-threadGithub json2xls-worker-threadtoolsGithub toolscorifeus-builderGithub corifeus-buildercorifeus-utilsGithub corifeus-utils