Re: Ping watchdog that power off AP until uplink restored.
Posted: Sun Jul 16, 2017 4:07 am
In our scenario we often have solar towers with say AF5x and a redundant backup link(s) such as Airmax M via OSPF. To save power the redundant backup links are switched off until they're required (simple ping watch and on some devices like tycon we can set the AF5x to turn off when voltage is low then the Airmax M will kick in with ping watch).
Only way I can think to do this with Netonix at the moment is script some SSH commands from the attached Mikrotik. Not ideal.
Is there any example SSH scripts or documentation for CLI SIRHC?
EDIT:
So I wasted a few hours on this today. Turns out Mikrotik SSH client support is lousy from a script
https://forum.mikrotik.com/viewtopic.php?t=71262
Should be easy enough from a linux box with except script but doesn't help me.
/system ssh NETONIX_IP
configure
interface port [PORT NUMBER]
poe 24V {or poe off}
end
Then expect an enter prompt.
I could shove a mikrotik up there with POE out but that kinda defeats the whole purpose of the netonix. So we can use Netonix on our little solar sites and also our powered sites but at present this is preventing us from using Netonix switches on our medium and large solar sites.
Only way I can think to do this with Netonix at the moment is script some SSH commands from the attached Mikrotik. Not ideal.
Is there any example SSH scripts or documentation for CLI SIRHC?
EDIT:
So I wasted a few hours on this today. Turns out Mikrotik SSH client support is lousy from a script
https://forum.mikrotik.com/viewtopic.php?t=71262
Should be easy enough from a linux box with except script but doesn't help me.
/system ssh NETONIX_IP
configure
interface port [PORT NUMBER]
poe 24V {or poe off}
end
Then expect an enter prompt.
I could shove a mikrotik up there with POE out but that kinda defeats the whole purpose of the netonix. So we can use Netonix on our little solar sites and also our powered sites but at present this is preventing us from using Netonix switches on our medium and large solar sites.