Pass option from /etc/config/wireless to hostapd config

Moritz Warning moritzwarning at web.de
Thu Jul 4 13:08:49 PDT 2024


Hi,

I like to add a new option to a wifi-iface section in /etc/config/wireless and pass that into the hostapd configuration file (e.g. /var/run/hostapd-phy0.conf).

The hostapf configuration seems to be written by /lib/netifd/hostapd.sh, which fetches the data from some JSON blob (e.g. the SSID). But it does not contain the newly added option.

Can someone tell how to accomplish this?

thank you,
mwarning



More information about the openwrt-devel mailing list