TOS 6 hostapd is running even though wifi is not configured or disabled
It is not a high severity bug and as far as I am aware, it doesn't break anything.
I just find it unusual to see that hostapd on TOS 6.0 is started regardless of wireless interfaces configuration, i.e. wifi disabled or not configured.
On TOS 5.4.4
/etc/config/wireless
config wifi-device 'radio0'
option type 'mac80211'
option channel '36'
option hwmode '11a'
option macaddr '<REDACTED>'
option htmode 'VHT80'
option disabled '1'
option country 'CZ'
config wifi-iface 'default_radio0'
option device 'radio0'
option network 'lan'
option mode 'ap'
option ssid 'Turris'
option encryption 'none'
config wifi-device 'radio1'
option type 'mac80211'
option channel '11'
option hwmode '11g'
option macaddr '<REDACTED>'
option htmode 'HT20'
option disabled '1'
option country 'CZ'
config wifi-iface 'default_radio1'
option device 'radio1'
option network 'lan'
option mode 'ap'
option ssid 'Turris'
option encryption 'none'
root@omnia:~# pgrep -fa hostapd
root@omnia:~# <-- no output, no hostapd is running
On TOS 6.0
/etc/config/wireless
config wifi-device 'radio0'
option type 'mac80211'
option channel '36'
option hwmode '11a'
option macaddr '<REDACTED>'
option htmode 'VHT80'
option disabled '1'
option country 'CZ'
config wifi-iface 'default_radio0'
option device 'radio0'
option network 'lan'
option mode 'ap'
option ssid 'Turris'
option encryption 'none'
config wifi-device 'radio1'
option type 'mac80211'
option channel '11'
option hwmode '11g'
option macaddr '<REDACTED>'
option htmode 'HT20'
option disabled '1'
option country 'CZ'
config wifi-iface 'default_radio1'
option device 'radio1'
option network 'lan'
option mode 'ap'
option ssid 'Turris'
option encryption 'none'
root@omnia:/# pgrep -fa hostapd
2259 /usr/sbin/hostapd -s -g /var/run/hostapd/global
Hostapd is running either when the previous config from TOS 5.x is used, default config on TOS 6.0 (after wifi reset) is used or wifi is configured, but explicitly disabled.
Something is starting hostapd regardless of the wifi configuration. But at least no wifi Access Point is visible and transmitting - or at least it doesn't happen on my omnia.
Feel free to move this issue elsewhere if it doesn't fit turris/os/build.