Is it possible to disable one of the antennas on the GL-AR300M-EXT if I want to use a directional antenna with it ?
Not sure how to, you can refer this thread. https://forum.openwrt.org/t/disable-an-antenna/17635/4
Yes that seems to work. I add a script in start up before networking starts and set the antennas the way I want them and it appears I can shut off either of the antennas.
Could you please share the solution? So that would help someone else.
I just added a script in the /etc/init.d dir and then in the startup menu enabled it. The script basically has just the start function (stolen from another script in the init.d dir) with the command to set the antenna:
“iw phy phy0 set antenna [tx bitmap] [rx bitmap]”
where “[tx bitmap] [rx bitmap]” are 0x03 0x03 by default for both antennas and making them 0x01 0x01 or 0x02 0x02 would select one of the two antennas.
This needs to be executed just before the Network in startup, so I made my script Priority 17 in the script.
iw list will show the radio and you should be able to see changes.
OK! Thank you very much!