Hi Marius...did you remove the prints that show that the script starts and ends?
Thanks leon
On 4/9/2016 5:10 PM, Marius Petrescu wrote:
(Please trim inclusions from previous messages) _______________________________________________ Hello,
I just updated the gateway setup scripts for Mikrotik routers to make the system more robust.
It now consists of 2 scripts:
- the parent script (update_amprgw) which is scheduled every 5 minutes, on 1 min pat the RIP announcement
- the actual update script (ampr_gw) which called from the parent script
The parent script will:
- prevent run overlaps
- after 3 unsuccessful schedules will consider the update script failed end will enforce a run
- it will prevent tunnel updates if less than 100 RIPv2 routes are available
The scripts and schedule entry are in Mikrotik export format. The file can be copied into the router and loaded using the import command or the content copy/pasted into the console.
After this step, edit your config in the ampr_gw script under system->scripts and enable the scheduler entry (disabled by default).
Download from: http://www.yo2loj.ro/hamprojects/ampr-gw-1.5.rsc http://yo2tm.ampr.org/hamprojects/ampr-gw-1.5.rsc
Have fun,
Marius, YO2LOJ