I have a pair of OpenMesh (managed through cloudtrax) access points, in my townhome, both are wired up, and as I understand they don't integrate with my Asus RT-AC66U (the old MIPS-based variety). I ran the latest Merlin build available for the MIPS hardware.
Since I found no option to turn off the radio in the UI, I figured I'd give it a try through the shell. I SSH in and ran "radio off", which produced the desired effect. Then I looked up to see if I can put it in a script. There are user scripts.
I created a script "/jffs/scripts/services-start" and set the executable attribute:
I rebooted the router. The radio was once again on.
I modified the script to provide the path:
Rebooted. The radio is on again.
I modified the script, this time adding simple debugging per the wiki.
It seems the router did not successfully boot, as I was not able to reconnect to my machine at home (I'm at work right now).
Did I screw up in the script? When I come home, what awaits me? How do I recover if there is a problem in that script? (I don't see the problem, to be frank)
Since I found no option to turn off the radio in the UI, I figured I'd give it a try through the shell. I SSH in and ran "radio off", which produced the desired effect. Then I looked up to see if I can put it in a script. There are user scripts.
User scripts
Third party firmware for Asus routers (newer codebase) - RMerl/asuswrt-merlin.ng
github.com
I created a script "/jffs/scripts/services-start" and set the executable attribute:
Code:
#!/bin/sh
radio off
I modified the script to provide the path:
Code:
#!/bin/sh
/sbin/radio off
I modified the script, this time adding simple debugging per the wiki.
Code:
#!/bin/sh
/sbin/radio off
touch /tmp/000test
exit 0
Did I screw up in the script? When I come home, what awaits me? How do I recover if there is a problem in that script? (I don't see the problem, to be frank)