I’ve installed OpenWrt 24 on a Unifi UK Ultra and intend to use it at events high up on a pole, to maximise range I was hoping to use external antenna. I’ve another one of these with stock firmware installed and it has a switch in the UI for internal or external antenna.
I’ve looked around in Luci and I can’t find reference to antenna selection, does anyone know if it’s possible with OpenWrt? The original firmware is based on it so I assume so, if anyone can give me a pointer I’d appreciate it
For anyone else wondering, this is how you do it. Also, it’s more intuitive if you think in terms of enabling or disabling the internal antenna.
This disables the internal antenna:
uci set system.ant0_internal.value="0"
uci set system.ant1_internal.value="0"
uci commit system
This enables it:
uci set system.ant1_internal.value="1"
uci set system.ant0_internal.value="1"
uci commit system
Otherwise if you think in terms of enabling the external it could get confusing as you’d be setting the above to 0 which is intuitively “off”.
To test this I set the radio power to 1db with external antenna plugged in. As soon as they were enabled the signal jumped, vice versa when switching back to the internal.