Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-02-26 | sms-action: use $LogAndError | Christian Hesse | 1 | -2/+3 | |
2020-02-26 | ppp-on-up: use $LogAndError | Christian Hesse | 1 | -2/+3 | |
2020-02-26 | check-routeros-update: use $LogAndError | Christian Hesse | 1 | -4/+3 | |
2020-02-26 | packages-update: use $LogAndError | Christian Hesse | 1 | -2/+2 | |
2020-02-26 | sms-forward: use $LogAndError | Christian Hesse | 1 | -2/+2 | |
2020-02-24 | global-functions: introduce $LogAndError | Christian Hesse | 1 | -0/+9 | |
2020-02-24 | bridge-port-to-default: drop delay | Christian Hesse | 1 | -7/+0 | |
Now that we expect the scheduler to have a delay and script-updates warning about it... | |||||
2020-02-24 | script-updates: warn on scheduler at startup with no interval | Christian Hesse | 1 | -0/+7 | |
2020-02-24 | drop script 'daily-psk-schedule' | Christian Hesse | 1 | -28/+0 | |
We have some useful functions that can replace the functionality. Just add a schedule like this: add name=daily-psk-startup on-event=":delay 1s; :global WaitTimeSync; \$WaitTimeSync; / system script run daily-psk.local;" start-time=startup | |||||
2020-02-24 | global-functions: $WaitTimeSync: rotate ntp servers minutely | Christian Hesse | 1 | -0/+4 | |
Signed-off-by: Christian Hesse <mail@eworm.de> | |||||
2020-02-24 | global-functions: introduce $WaitTimeSync | Christian Hesse | 1 | -0/+10 | |
2020-02-24 | check-certificates: check for synced time | Christian Hesse | 1 | -0/+6 | |
2020-02-24 | daily-psk-schedule: use $TimeIsSync | Christian Hesse | 1 | -5/+3 | |
2020-02-24 | global-functions: introduce $TimeIsSync | Christian Hesse | 1 | -0/+16 | |
2020-02-24 | daily-psk-schedule: use $MailServerIsUp | Christian Hesse | 1 | -1/+3 | |
2020-02-24 | sms-forward: use $MailServerIsUp | Christian Hesse | 1 | -1/+2 | |
2020-02-24 | global-functions: introduce $MailServerIsUp | Christian Hesse | 1 | -0/+22 | |
2020-02-06 | check-certificates: rename all certificates by their common names | Christian Hesse | 1 | -0/+5 | |
2020-02-06 | global-functions: introduce and use $CertificateNameByCN | Christian Hesse | 1 | -2/+13 | |
2020-02-05 | script-updates: prefix variable name with dollar | Christian Hesse | 1 | -1/+1 | |
2020-02-04 | global-config: drop $ScriptUpdatesConfigChangesIgnorechange-12 | Christian Hesse | 5 | -8/+6 | |
Comment or remove $GlobalConfigVersion in global-config-overlay to disable change notifications. | |||||
2020-02-03 | global-functions: $CharacterReplace: do not limit string length | Christian Hesse | 1 | -2/+1 | |
I've tried something like this to update a device: / system script set source=[ $CharacterReplace [ get global-config-overlay source ] "GlobalConfigVersion 10" "GlobalConfigVersion 11" ] global-config-overlay; This broke with global-config-overlay longer than 999 characters. So makes sure there is no limit for string length. | |||||
2020-02-03 | global-config-overlay: add footer | Christian Hesse | 1 | -0/+2 | |
... to guard against truncation by accident. | |||||
2020-02-02 | global-functions: $CertificateAvailable: simplify loop | Christian Hesse | 1 | -4/+4 | |
2020-01-29 | README: update instructions to use $ScriptInstallUpdatechange-11 | Christian Hesse | 5 | -10/+13 | |
2020-01-29 | script-updates: only handle scripts with magic pattern | Christian Hesse | 1 | -1/+1 | |
This is supposed to prevent overwriting foreign scripts. New scripts are expected to be installed with function $ScriptInstallUpdate! | |||||
2020-01-29 | global-functions: add $ScriptInstallUpdate | Christian Hesse | 1 | -0/+14 | |
Just call without parameters to update scripts: [admin@MikroTik] > $InstallAndUpdate Add comma separated list of scripts to install and update: [admin@MikroTik] > $InstallAndUpdate cloud-backup[,upload-backup][,...] | |||||
2020-01-29 | global-functions: $CertificateAvailable: check whole chain | Christian Hesse | 1 | -0/+12 | |
The root certificate is a self-signed certificate. Check for the issue certificate until we find the self-signed one. | |||||
2020-01-29 | global-functions: $CertificateAvailable: warn about crl download to flash | Christian Hesse | 1 | -0/+6 | |
Downloading certificate crls to flash can fill up all available space. So warn about it! | |||||
2020-01-28 | update-tunnelbroker: replace deprecated keep-result=no with output=none | Christian Hesse | 1 | -1/+1 | |
2020-01-28 | gps-track: replace deprecated keep-result=no with output=none | Christian Hesse | 1 | -1/+1 | |
2020-01-28 | global-functions: replace deprecated keep-result=no with output=none | Christian Hesse | 1 | -1/+1 | |
2020-01-24 | check-health: never divide, always multiply | Christian Hesse | 1 | -2/+2 | |
With RouterOS we have integral numbers only. This prevent from having friction that is cut off. | |||||
2020-01-24 | check-health: always calculate on the lower voltage value | Christian Hesse | 1 | -1/+1 | |
This makes sure an alert is triggered in both directions. Before we could have: 24.0V to 21.8V -> OK 21.8V to 24.0V -> Alert! | |||||
2020-01-17 | collect-wireless-mac: automatically add missing access-list entry | Christian Hesse | 3 | -12/+12 | |
2020-01-16 | check-routeros-update: do not act if reboot is scheduled | Christian Hesse | 1 | -0/+4 | |
2020-01-06 | mode-button-scheduler: give proper message if no action defined | Christian Hesse | 1 | -9/+13 | |
2020-01-06 | global-functions: $CertificateDownload: properly name new certificates | Christian Hesse | 1 | -0/+5 | |
2020-01-06 | collect-wireless-mac: use dynamic & bound mac address only | Christian Hesse | 3 | -3/+3 | |
2020-01-06 | dhcp-lease-comment: act on bound leases only | Christian Hesse | 3 | -3/+3 | |
2020-01-06 | dhcp-to-dns: act on bound leases only | Christian Hesse | 1 | -4/+4 | |
2020-01-03 | global-functions: do not encode dash, dot, slash and underscore | Christian Hesse | 1 | -4/+3 | |
2020-01-03 | global-functions: $Certificate*: add quoting around CN | Christian Hesse | 1 | -2/+2 | |
2020-01-03 | global-functions: split $CertificateAvailable to $CertificateDownload | Christian Hesse | 1 | -17/+28 | |
This allows to force download even if certificate is available. We need this for a clean update path with Let's Encrypt. | |||||
2020-01-01 | update copyright for 2020 | Christian Hesse | 55 | -55/+55 | |
2019-12-20 | packages-update: improve wording | Christian Hesse | 1 | -1/+1 | |
2019-12-10 | global-functions: define first, set later | Christian Hesse | 1 | -16/+34 | |
2019-12-05 | global-functions: $DownloadPackage: retry on error | Christian Hesse | 1 | -12/+17 | |
2019-12-05 | packages-update: lock against multiple invocation | Christian Hesse | 1 | -0/+3 | |
2019-12-05 | capsman-rolling-upgrade: lock against multiple invocation | Christian Hesse | 1 | -0/+4 | |
2019-12-05 | capsman-download-packages: lock against multiple invocation | Christian Hesse | 1 | -1/+4 | |
2019-12-04 | packages-update: skip the interactive part of non-terminal | Christian Hesse | 1 | -14/+17 | |
2019-12-03 | check-routeros-update: use $ScriptFromTerminal | Christian Hesse | 1 | -1/+2 | |
2019-12-03 | global-functions: introduce $ScriptFromTerminal | Christian Hesse | 1 | -0/+18 | |
Checking whether or not started from terminal is tricky... We have to find the job for the script, find its top most parent and get its type. | |||||
2019-12-03 | ipv6-update: calculate address with bitwise operatorrouteros-6.46beta38 | Christian Hesse | 1 | -8/+5 | |
Support for bitwise operator was added in RouterOS 6.46beta38. | |||||
2019-12-03 | hotspot-to-wpa: get limits from place-before-entry | Christian Hesse | 1 | -2/+11 | |
2019-11-28 | global-functions: $DeviceInfo: append revision to model | Christian Hesse | 1 | -1/+5 | |
2019-11-25 | collect-wireless-mac: add the dns name | Christian Hesse | 3 | -0/+18 | |
2019-11-25 | collect-wireless-mac: lease without address should be impossible... | Christian Hesse | 3 | -15/+6 | |
... we need the check for empty hostname, though. | |||||
2019-11-25 | collect-wireless-mac: move code into condition | Christian Hesse | 3 | -18/+18 | |
2019-11-21 | {email,upload}-backup: update wording | Christian Hesse | 2 | -2/+3 | |
2019-11-14 | dhcp-to-dns: act on hostname only if available | Christian Hesse | 1 | -1/+3 | |
2019-11-12 | dhcp-to-dns: set the temporary variable unconditionally | Christian Hesse | 1 | -4/+1 | |
2019-11-12 | dhcp-to-dns: handle duplicate mac-address and host-name | Christian Hesse | 1 | -3/+8 | |
* several leases for one mac address (changed client id, different net): -> take address from last lease Most likely this is the same devices which booted different OS or changed to different network. * several leases for one host name: -> take address from first lease We see either different devices with same name or one device with several network interfaces. Keep the first name to mitigate stealing dns name. | |||||
2019-11-11 | check-certificates: make renew notification silent | Christian Hesse | 1 | -1/+1 | |
2019-11-05 | README: fix typo and wording | Christian Hesse | 2 | -2/+2 | |
2019-10-28 | global-functions: add architecture in device info | Christian Hesse | 1 | -2/+3 | |
2019-10-22 | check-health: decrease default threshold for voltage | Christian Hesse | 1 | -1/+1 | |
2019-10-18 | check-health: work with battery property | Christian Hesse | 1 | -1/+1 | |
Seen on wAP R... No idea what this is. | |||||
2019-10-14 | add script 'hotspot-to-wpa' | Christian Hesse | 1 | -0/+20 | |
2019-10-14 | check-health: make threshold for voltage configurablechange-10 | Christian Hesse | 5 | -7/+11 | |
2019-09-13 | update list of contributors / donors | Christian Hesse | 1 | -0/+1 | |
Thanks for the Mikrotik coffee mug! | |||||
2019-09-12 | introduce global-config-overlaychange-9 | Christian Hesse | 7 | -17/+41 | |
2019-09-12 | global-functions: $DeviceInfo: handle configuration version | Michael Gisbers | 1 | -0/+10 | |
2019-09-12 | global-functions: introduce and use $DeviceInfo | Christian Hesse | 5 | -47/+41 | |
2019-09-11 | dhcp-to-dns: find duplicate leases by mac-address | Christian Hesse | 1 | -1/+1 | |
2019-09-11 | README: add just one scheduler for global scripts | Christian Hesse | 2 | -7/+3 | |
2019-09-11 | update list of contributors / donors | Christian Hesse | 1 | -0/+1 | |
Thanks a lot! | |||||
2019-09-11 | packages-update: add random delay for scheduler | Christian Hesse | 1 | -2/+3 | |
2019-09-02 | packages-update: add option to schedule reboot | Christian Hesse | 1 | -0/+8 | |
2019-08-30 | script-updates: add donation hint in configuration warning notificationchange-8 | Christian Hesse | 4 | -13/+33 | |
2019-08-30 | add info about past contributions | Christian Hesse | 2 | -0/+20 | |
2019-08-30 | README: add contribute section, including donate option | Christian Hesse | 1 | -1/+19 | |
2019-08-30 | use shorter url for my repository | Christian Hesse | 3 | -6/+6 | |
2019-08-30 | ipv6-update: get values into array | Christian Hesse | 1 | -7/+4 | |
... and concatenate name and regexp - just either of both is set. | |||||
2019-08-30 | unattended-lte-firmware-upgrade: add valid script to scheduler | Christian Hesse | 1 | -1/+2 | |
2019-08-30 | mode-button-event: add valid script to scheduler | Christian Hesse | 1 | -1/+2 | |
2019-08-30 | README: add valid script to scheduler | Christian Hesse | 2 | -8/+8 | |
2019-08-29 | script-updates: better regex matching | Christian Hesse | 1 | -1/+1 | |
2019-08-29 | capsman-rolling-upgrade: do not fail on missing cap | Christian Hesse | 1 | -1/+1 | |
This is a long running process, chances are that a cap disappears intermittently. So find cap by name and do not fail. | |||||
2019-08-28 | check-health: check for valid psu state data | Christian Hesse | 1 | -9/+12 | |
This is required with recovery notifications | |||||
2019-08-27 | check-health: also send recovery notifications | Christian Hesse | 1 | -0/+11 | |
2019-08-27 | add script 'check-health'change-7 | Christian Hesse | 4 | -4/+70 | |
This may be incomplete... Please report if you have missing PSUs, ttemperature sensors, whatever. | |||||
2019-08-18 | upload-backup: make notification silent | Christian Hesse | 1 | -1/+1 | |
2019-08-18 | cloud-backup: make notification silent | Christian Hesse | 1 | -1/+1 | |
2019-08-18 | check-routeros-update: make notifications silent | Christian Hesse | 1 | -2/+3 | |
2019-08-18 | check-lte-firmware-upgrade: make notification silent | Christian Hesse | 1 | -1/+1 | |
2019-08-18 | global-functions: support sending silent telegram notifications | Christian Hesse | 1 | -4/+6 | |
2019-08-18 | global-functions: split off $SendEMail and $SendTelegram | Christian Hesse | 1 | -9/+31 | |
2019-08-08 | check-routeros-update: fail on empty version string | Christian Hesse | 1 | -0/+5 | |