Hello,
I have problem with my SR5 sectorised base station. Its sometimes locks up. All stations are still registered but tx is 0. I don't have IRQ conflicts, I've already changed my SR5 with another one, I've also changed my SR5 with another new one. Because my problem still exist, I've decided to write a script, which should disable/enable interface.... but it doesn't work ![]()
Here is my script:
0 name="SR5-restarter" owner="miyake"
policy=ftp,reboot,read,write,policy,test,winbox,password
last-started=sep/22/2005 20:42:55 run-count=15 source=
:global u
/interface monitor-traffic SuperRange5-wlan1 once do={
:set u $sent-bits-per-second
}
:if ($u = "0") do={
:log message="SuperRange5 interface error - disabled"
/interface wireless disable SuperRange5-wlan1
:log message="SuperRange5-wlan1 interface restart"
/interface wireless enable SuperRange5-wlan1
}
Tell me please, where I've made mistake?
Of course I've put this script into scheduler:
NAME ON-EVENT START-DATE START-TIME INTERVAL RUN-COUNT
0 run-30s SR5-restarter sep/22/2005 21:04:57 30s 457
Thanks a lot for Yours help
Regards