by HSNMSupport »
29 Oct 2018, 10:40
Hi Spike
About first point, sometimes could happen that the roundrobindomains.txt is downloaded empty; in the latest Mikrotik gateway configuration scripts we added a check, on the "DownloadHTMLPages" script where, if the roundrobindomains.txt is downloaded empty, the script replace the old file.
Instead related the second point, the radiusip.rsc is downloaded from "DownloadHTMLPages" script; this is a portion of the script that download the radiusip.rsc
.....
:log info "Download Radius IP from $URL started";
/tool fetch url="http://$URL/functions/getradiusip.php?domain=domainname&hotspotname=hotspot" dst-path=radiusip.rsc mode=http;
:log info "Download Radius IP from $URL finished";
}
} on-error={
:log info "$URL doesn't respond";
:set continue true;
}
....
Best regards