Commit graph

1519 commits

Author SHA1 Message Date
Christian Hesse
674398b342 global-functions: $DownloadPackage: handle special cases
This is a RouterOS v7 only change!

* Revert commit 1e6931c8e3 (but keep the
  cherry-picked one in branch routeros-v6).

* Drop special case 'routeros-$arch', which no longer exists.

* Update package name 'system' to 'routeros'. This should be the correct
  name, and is expected by CAPsMAN. No idea why package-name property
  for the file is different...
2022-02-10 12:30:06 +01:00
Christian Hesse
4d26dd07c3 capsman-download-packages: wireless package does no longer exist
This is a RouterOS v7 only change!
2022-02-10 12:29:31 +01:00
Christian Hesse
7b48b25c27 global-functions: $MkDir: do not act without directory 2022-02-10 11:05:21 +01:00
Christian Hesse
a50d9d30e3 update list of contributors
Thanks a lot and please enjoy firmware-upgrade-reboot! 😊
2022-02-10 09:07:38 +01:00
Christian Hesse
3c358980cb introduce firmware-upgrade-reboot 2022-02-10 09:07:32 +01:00
Christian Hesse
a47f5723cc netwatch-dns: flush cache on configuration change 2022-02-10 08:41:12 +01:00
Christian Hesse
0b46c508dc netwatch-notify: nest conditions
The logic here was right, but RouterOS runs the checks simultaneously.
This caused delays even if no resolving was needed.

Nesting the checks fixes this.
2022-02-10 08:41:12 +01:00
Christian Hesse
c6e581d4f9 netwatch-notify: allow to suppress notification on host down 2022-02-10 08:41:12 +01:00
Christian Hesse
42c203291a doc/netwatch-notify: add sections 2022-02-08 17:40:55 +01:00
Christian Hesse
dd19aea362 doc/packages-update: link backup-cloud 2022-02-08 17:35:53 +01:00
Christian Hesse
27a81bcbca packages-update: use correct syntax 2022-01-30 22:06:37 +01:00
Christian Hesse
dfe995be27 check-routeros-update: use correct syntax 2022-01-30 22:05:58 +01:00
Christian Hesse
5e32105e7e global-functions: $ScriptInstallUpdate: quote names in log output 2022-01-20 22:13:56 +01:00
Christian Hesse
b4a5d824a2 global-functions: $ScriptInstallUpdate: give final url in debug output 2022-01-20 22:13:56 +01:00
Christian Hesse
1e6931c8e3 global-functions: $DownloadPackage: handle special case with name
For RouterOS 6.x bundled package version and architecture are swapped.

Closes: #21
2022-01-17 20:50:52 +01:00
Christian Hesse
51cd11c803 global-functions: $DownloadPackage: give url in debug output 2022-01-17 20:15:24 +01:00
Christian Hesse
db4afe28f0 Merge branch 'routeros-v7' into next 2022-01-14 16:54:30 +01:00
Christian Hesse
5135a41332 global: notify about merging 'routeros-v7' into 'main' 2022-01-14 09:31:07 +01:00
Christian Hesse
25704812b2 doc/capsman-download-packages: only bundle is available now 2022-01-14 09:20:09 +01:00
Christian Hesse
93770d40a8 check-health: adopt new data structure for ROS 7.x
The PSU state has an empty string for type... Thus matching on name.
2022-01-14 09:20:09 +01:00
Christian Hesse
0ecabfecf7 rotate-ntp: syntax for ROS 7.x
The property name changed in RouterOS v7...
2022-01-14 09:20:09 +01:00
Christian Hesse
7e5652e0c5 ospf-to-leds: get state from count of neighbors
The state property is gone in RouterOS v7...
2022-01-14 09:20:09 +01:00
Christian Hesse
768afd84c6 backup-upload: export with show-sensitive
This is available (and required) with RouterOS 7.1rc1.
2022-01-14 09:20:09 +01:00
Christian Hesse
35d10f80f5 backup-email: export with show-sensitive
This is available (and required) with RouterOS 7.1rc1.
2022-01-14 09:20:09 +01:00
Christian Hesse
cdd607037e README: drop hint on branch 'routeros-v7' 2022-01-14 09:20:09 +01:00
Christian Hesse
d03b6d9374 global-functions: bump the required version for RouterOS 7.x
... but keep a warning when running RouterOS v6.
2022-01-14 09:20:09 +01:00
Christian Hesse
1089b7e7f9 README: install correct global-config-overlay for RouterOS v6 2022-01-14 08:03:53 +01:00
Christian Hesse
31653a84ca INITIAL-COMMANDS: silence the certificate download 2022-01-14 07:49:04 +01:00
Christian Hesse
491f53a8ce hotspot-to-wpa: support settings from template 2022-01-07 15:28:08 +01:00
Christian Hesse
97f35dcf0e Merge branch 'backup' into next 2022-01-06 10:23:03 +01:00
Christian Hesse
ed0135c613 Migrate configuration and send notification on renames 2022-01-06 08:19:58 +01:00
Christian Hesse
e77b39e933 rename script upload-backup -> backup-upload 2022-01-06 08:19:58 +01:00
Christian Hesse
95b17ab9a1 rename script email-backup -> backup-email 2022-01-06 08:19:58 +01:00
Christian Hesse
8c39f41ffc rename script cloud-backup -> backup-cloud 2022-01-06 08:19:58 +01:00
Christian Hesse
57c80dc2a4 introduce netwatch-dns 2022-01-03 10:00:16 +01:00
Christian Hesse
cd3fde59d7 netwatch-notify: give netwatch some time to settle 2022-01-03 10:00:16 +01:00
Christian Hesse
491ecdb812 netwatch-notify: initialize after lock 2022-01-03 10:00:16 +01:00
Christian Hesse
7f0a8cdfcd netwatch-notify: better match notify-entries 2022-01-03 10:00:16 +01:00
Christian Hesse
45ffb7e552 add AVIF logo 2022-01-03 10:00:16 +01:00
Christian Hesse
772b675001 doc/accesslist-duplicates: convert screenshot to AVIF 2022-01-03 10:00:16 +01:00
Christian Hesse
8f79c4de79 README: convert screenshots to AVIF 2022-01-03 10:00:16 +01:00
Christian Hesse
6eddaf9b87 README: convert Telegram group qr code to AVIF 2022-01-03 10:00:16 +01:00
Christian Hesse
95e9820718 update copyright for 2022 2022-01-01 21:38:15 +01:00
Christian Hesse
2e183da47f README: add Telegram icon in qr code 2021-12-30 23:50:21 +01:00
Christian Hesse
9348bd5039 README: add a qr code to join Telegram group 2021-12-30 23:50:21 +01:00
Christian Hesse
500d0679ed global-functions: $RequiredRouterOS: fix warning
Passing a boolean does not work... Handle as string.
2021-12-20 15:31:34 +01:00
Christian Hesse
ee57ddf595 log-forward: fix forwarding first message
Pulling the power cable results in log message on next boot:

dec/16 18:28:28 system,error,critical router rebooted without proper shutdown, probably power outage

This was not forwarded as it had the numeric id 0, which is not greater
than the zero we initialized with. Now initialized with -1 when no log
has been forwarded to fix this.
2021-12-17 11:48:25 +01:00
Christian Hesse
b936970c19 INITIAL-COMMANDS: adopt changes, no need to run global-config-overlay 2021-12-16 22:26:29 +01:00
Christian Hesse
9a0321d40d doc/ssh-keys-import: number keys, do not overwrite on same comment 2021-12-16 22:26:29 +01:00
Christian Hesse
4a5c55ca2b doc/ssh-keys-import: handle RSA keys only
Sadly RouterOS does not (yet) support ed25519 keys...
2021-12-16 22:26:25 +01:00