DNSMASQ is not very stable on Ubnt EdgeRouter Lite with firmware 1.7.
I was about to set up a crontab rebooting dnsmasq every morning.
But here is another solution, using task-scheduler.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
ubnt@ubnt:~$ configure [edit] ubnt@ubnt# set system task-scheduler task reboot-dnsmasq executable path /etc/init.d/dnsmasq Warning: '/etc/init.d/dnsmasq' lies outside of /config/scripts directory. It will not get preserved during image upgrade. [edit] ubnt@ubnt# set system task-scheduler task reboot-dnsmasq executable arguments restart [edit] ubnt@ubnt# set system task-scheduler task reboot-dnsmasq crontab-spec "30 3 * * *" [edit] ubnt@ubnt# commit [ system task-scheduler task reboot-dnsmasq executable path /etc/init.d/dnsmasq ] Warning: '/etc/init.d/dnsmasq' lies outside of /config/scripts directory. It will not get preserved during image upgrade. [ system task-scheduler ] Restarting periodic command scheduler: cronStopping periodic command scheduler: cron. Starting periodic command scheduler: cron. [edit] ubnt@ubnt# save Saving configuration to '/config/config.boot'... Done [edit] ubnt@ubnt# exit exit |
UBNT Task Scheduler by @sskaje: https://sskaje.me/2015/12/ubnt-task-scheduler/
Incoming search terms:
Link to this post!