This doc indicates
uci set wireless.@wifi-iface[0].disabled="0"
and
uci set wireless.@wifi-device[0].disabled="0"
should be valid, but this other doc indicates it should be
uci set wireless.radio0.disabled="0"
or looking at
uci show wireless
disabled is not even listed, but maybe it should be
uci set wireless.default_radio0.disabled="0"
. The man page does not list valid arguments, and does not list an argument validation command.
What is the correct command?
(maybe some only work on old versions, or some devices, or maybe they are all valid... maybe I'm just missing some knowledge but this part of the doc seems inconsistent)
Additionally it looks like testing may cause issues, get hints that maybe all are valid :
# uci get wireless.@wifi-iface[0].disabled
uci: Entry not found
# uci get wireless.@wifi-device[0].disabled
uci: Entry not found
# uci get wireless.radio0.disabled
uci: Entry not found
# uci get wireless.default_radio0.disabled
uci: Entry not found
# uci get wireless.@wifi-iface[0]
wifi-iface
# uci get wireless.default_radio0
wifi-iface
# uci get wireless.@wifi-device[0]
wifi-device
# uci get wireless.radio0
wifi-device
# uci get wireless.wifi-device
uci: Invalid argument
# uci get wireless.wifi-iface
uci: Invalid argument