I added some logging back in but seems I need to do it in multiple
places. I dont see the routes being deleted watching the rIP --> Routes
window.
Leon
On 4/10/2016 9:04 AM, Leon Zetekoff wrote:
> (Please trim inclusions from previous messages)
> _______________________________________________
> Hi Marius...did you remove the prints that show that the script starts
> and ends?
> being
> 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
>>