I had some problems with disturbance signal and i had to make this script.It works on router where interface is set in AP mode.
This is timeschedule and it’s interval is 10 sec and call a script timeschange
It pings until there is one timeout.Then enables schedule-freqchange and disable timeschedule.
When the schedule-freqchange is enabled it calls a freqchange script
The part when the frequency is changed and after that you can see ping command.It’s used as delay time.We know when the frequency is changed, it needs some time to get connected and that’s why i set a ping command.To give that time.Otherwise it’s going to change frequency in circles
Haha.Because I’m new in this stuff ping was the first thing that get on my mind Yeah i could use :delay
Frst i tried to put all in one script but it couldn’t work that way.Maybe u have some sugestions ? Or this is alright ?
Thx
I suggest you use the netwatch one, since its easier to look at and to change/disable etc (just one click in /tool netwatch).. but I also suggest that you fix the frequency issues, cause this is like an emergency fix for your problem and should only be used temp…
The problem is in other peoples mind.Can you get me.I only can move that station somewhere else.Disturbance are because of othere providers.He copy my mac address of that interface and point his anthena in mine.And cut of my signal.Then I change it on another frequency and it’s better.
Im having troubles as its not doing anything…
How do i fault find it?
In the Down section of Netwatch item i have following code:
:if([/interface wireless get wlan1 frequency]=5180) do={ /interface wireless set wlan1 frequency=4920 } else={/interface wireless set wlan1 frequency=5180}
Im testing this in a testing environment and triggering it by changing host ip address to a invalid one to get it to trigger and change the frequency on wlan1, yet it does nothing.