As usually, I enable to WPS working as this:
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
# wait about 2 minutes
hostapd_cli -i wlan1 wps_pbc
hostapd_cli -i wlan1 wps_pin any $PIN
it always after wps_pbc
I get OK
now I get like this:
Failed to connect to hostapd - wpa_ctrl_open: No such file or directory
what the problem could be?
with v22 it works perfectly. with v23 as it says the text up
[//]: #@corifeus-header
# ☕ OpenWrt with latest NodeJs for Linksys WRT
[//]: #@corifeus-header:end
# WPS
https://openwrt.org/docs/user-guide/wifi_configuration#wps_options
It is only working, if only these are built in the firmware: ```hostapd-common wpad-mini```, nothing other like that. If not, it will not work.
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-iface```only in the 2.4 GHZ.
```text
option wps_pushbutton '1'
This file has been truncated. show original
the doc is now fixed as well.
They said I should enable this ctrl_interface_group=0
as follows:
I'm having trouble using hostapd_cli:
root@lede:~# hostapd_cli help
Failed to connect to hostapd - wpa_ctrl_open: No such file or directory
For clarification, hostapd is running in the background (wpad hostapd hostapd.conf), and I can successfully connect to the router via WiFi.
Following https://dev.openwrt.org/ticket/9597 , I rebuilt the image using wpad in place of wpad-mini, and I'm still having the same error.
Has anyone encountered this issue before?
Do I have to install hostapd in additional to the utils?
ok, i found in v23:
hostapd_cli -i phy1-ap0 wps_pbc
hostapd_cli -i phy1-ap0 wps_pin any 1234
patrikx3:
utils
you can also use in the main screen in luci in the radio1 start wps button
system
Closed
July 18, 2023, 10:14am
6
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.