I’m working in building automation systems and one of the buildings we control has MikroTik installed. Few of our controllers have problems of connection on long terms connections when connected through the Wireless. The only 100% functionnal solution I’ve found is turning on/off the wireless on the MikroTik, which let the controllers “re-discover” the connection. Losing the connection for a few seconds is not critical on these controllers.
I’m not comfortable enough in RouterOS scripting language to script anything functionnal.
I need to execute a script that turn the Wireless OFF for 10 seconds every 1 hour. If I loose power while the Router wireless card is stopped, I need to automatically turn it on back again when the power is back.
Simon, not sure what you mean by “long terms connections”. In my point of view disabling/enabling the radio is just a workaround and not a fix. If you want to give us more details we could provide you with some ideas, like upgrading software and firmware…
as ohara wrote - while this will work, it is better to get to the root of the problem.
Also, you can look into netwatch, to monitor the link, and then do the “trick” to get wifi back. then your scheduler script have to be executed only on startup if at all.