I upgraded my router WRT3200 to the snapshot release some days ago.
I found that after every reboot the radio and wifi networks are disabled at uci configuration level, meaning with "option disabled 1".
Is it a new behaviour of OpenWRT?
How can avoid this issue, besides enabling the wifi in the rc.local?
Please connect to your OpenWrt device using ssh and copy the output of the following commands and post it here using the "Preformatted text </> " button:
Remember to redact passwords, MAC addresses and any public IP addresses you may have:
ubus call system board
cat /etc/config/network
cat /etc/config/wireless
cat /etc/config/dhcp
cat /etc/config/firewall
df -h
mount
In addition to @psherman's necessary calls I'd like to ask if you set the router to default settings before you upgraded and from version you upgraded from?
The DSA migration would have been quite a while in the back, nothing else 'should' cause this situation.
The most likely issue would be something preventing the overlay from being formatted/ mounted (or having installed an initramfs image by accident), so that's what we're looking to determine (first).
And have you tried resetting to defaults to see if that solves the problem? It is possible that there is a change to the syntax and/or underlying addressing of the devices that is causing your problem.
SSH in and manually edit the "1"s to "0"s in the file of the radios you want used using vi, escape, save and exit.
Reboot and look at the cat call /etc/config/wireless.
If that works, upgrade to the stable version and do not check save settings.
My guess would be changed device paths. So my first approach (before taking out the bigger hammer of firstboot and reconfiguring everything from scratch) would be:
rm /etc/config/wireless
wifi config
and setting up the wireless configuration (only) again, based on the defaults provided by wifi config.
The wireless configuration file is not read-only, so all the other files in /etc/config.
Moreover, the device paths are not changed after the upgrade, I also checked it by removing the old one and regenerating with "wifi config".
The file /etc/config/wireless before and after the reboot is exactly the same, the only difference are the "option disabled 1" in each session.
This happens at every reboot with the same image, not only after the sysupgrade.
Since I have a workaround, it's not really an issue.
I asked the original question just for curiosity.