Performs layered connectivity checks and logs problems or restarts WAN if needed.
Edit these variables inside the script:
:local testHosts {"1.1.1.1";"8.8.8.8"}
:local retryCount 2
:local wanInterface "ether1"
- Go to System > Scripts
- Create a script named
smart-netcheck
- Paste the contents of
smart-netcheck.rsc
- Set permissions:
read
,write
,policy
,test
/system scheduler
add name="smart-netcheck" interval=1m on-event="/system script run smart-netcheck" policy=read,write,test
Κάνει σύνθετους ελέγχους συνδεσιμότητας και επανεκκινεί τη WAN σε προβλήματα.
Αλλάξτε τις εξής μεταβλητές στο script:
:local testHosts {"1.1.1.1";"8.8.8.8"}
:local retryCount 2
:local wanInterface "ether1"
- Πήγαινε στο System > Scripts
- Δημιούργησε νέο script με όνομα
smart-netcheck
- Επικόλλησε το περιεχόμενο του
smart-netcheck.rsc
- Ρύθμισε δικαιώματα:
read
,write
,policy
,test
/system scheduler
add name="smart-netcheck" interval=1m on-event="/system script run smart-netcheck" policy=read,write,test
Thanos Pournaras
🔗 https://thanosnm.github.io