Router BSSIDs

Where in the file directory can I find BSSIDs for all router networks for scripting purposes? This would be extremely helpful? I checked /etc/config/system but the mac_addr field is not present.

In OpenWrt you should utilise uci instead of handling with files manually.

Try uci show to get all settings and variables.

At least on the MT6000 you can’t read the BSSID (nor you can change it) - might be because of the closed source driver from MTK.

ip a will at least show the radios and the MAC there.