GL-AR300M-EXT disable one antenna?


#1

Is it possible to disable one of the antennas on the GL-AR300M-EXT if I want to use a directional antenna with it ?


#2

Not sure how to, you can refer this thread. https://forum.openwrt.org/t/disable-an-antenna/17635/4


#3

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.

thx


#4

Could you please share the solution? So that would help someone else.


#5

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.


#6

OK! Thank you very much!