Commit graph

1961 commits

Author SHA1 Message Date
Christian Hesse
71b69fc189 introduce backup-partition 2022-03-30 18:24:14 +02:00
Christian Hesse
2aa93a0671 check-lte-firmware-upgrade: rework code and its logic 2022-03-30 17:24:16 +02:00
Christian Hesse
d952e7e6c7 check-lte-firmware-upgrade: support starting unattended firmware upgrade...
... from terminal if script is installed.
2022-03-28 12:39:46 +02:00
Christian Hesse
5aecc9f1a3 check-lte-firmware-upgrade: be more verbose 2022-03-28 12:39:46 +02:00
Christian Hesse
7bd40b34f1 check-lte-firmware-upgrade: fix command for ROS 7.x 2022-03-28 11:42:16 +02:00
Christian Hesse
c4a5f8787a capsman-download-packages: get info from log
Relying on older packages in local storage may be problematic due to
size constraints. Let's check the log for required packages.
2022-03-25 11:23:00 +01:00
Christian Hesse
122f90b693 firmware-upgrade-reboot: ignore firmware downgrade 2022-03-08 22:47:26 +01:00
Christian Hesse
cbb2f067e6 accesslist-duplicates: use global $Read 2022-03-08 22:30:01 +01:00
Christian Hesse
07cc38e973 global-functions: (re-)introduce global $Read
... to interactively read input from user on terminal.
2022-03-08 22:28:48 +01:00
Christian Hesse
c1fa0f3579 hotspot-to-wpa: support ignoring specific hotspot 2022-03-07 22:27:29 +01:00
Christian Hesse
df0d826999 hotspot-to-wpa: initialize variables earlier 2022-03-07 22:27:29 +01:00
Christian Hesse
c9b6cee83f global-functions: $FlushEmailQueue: delay if "in-progress"...
Something else is sending a mail... Let's wait and hope the status is
not confused.
2022-03-01 12:47:23 +01:00
Michael Gisbers
c35485454c doc/mod/notification-matrix: add verbose steps for setup
Modified-by: Christian Hesse <mail@eworm.de>
2022-03-01 12:38:54 +01:00
Christian Hesse
a00e912bb5 global-functions: $DeviceInfo: firmware only if upgrade pending 2022-02-24 12:04:19 +01:00
Christian Hesse
8c0bd18bbb doc/check-routeros-update: update versions in screenshot 2022-02-24 11:50:06 +01:00
Christian Hesse
2c47bdabf0 doc/backup-upload: update versions in screenshot 2022-02-24 11:49:47 +01:00
Christian Hesse
544647fc34 doc/backup-cloud: update versions in screenshot 2022-02-24 11:49:15 +01:00
Christian Hesse
c72702cc51 doc/backup-cloud: break long line 2022-02-23 23:31:29 +01:00
Christian Hesse
a754932211 doc/backup-upload: warn about possible issue 2022-02-23 12:43:29 +01:00
Christian Hesse
a78b2bfcde doc/backup-cloud: warn about possible issue 2022-02-23 12:43:29 +01:00
Christian Hesse
ef6f9efb10 doc/backup-upload: mention used option show-sensitive 2022-02-23 10:19:45 +01:00
Christian Hesse
6e7f6ff8b4 doc/backup-email: mention used option show-sensitive 2022-02-23 10:19:04 +01:00
Christian Hesse
0ab99fcdbb INITIAL-COMMANDS: give another delay before fetch 2022-02-23 09:24:10 +01:00
Christian Hesse
c872c18d76 doc/log-forward: remove extra character
Looks like copy'n'paste error...
2022-02-22 22:41:59 +01:00
Christian Hesse
d50f6ffb79 doc/mod/scriptrunonce: document optional configuration 2022-02-22 22:31:49 +01:00
Christian Hesse
8e401bf498 update list of contributors 2022-02-22 22:15:08 +01:00
Christian Hesse
343ee27820 Merge branch 'doc/mod' into next 2022-02-21 12:54:01 +01:00
Christian Hesse
d74aac8f6a doc/mod: notify about new documentation 2022-02-21 12:53:26 +01:00
Christian Hesse
26e471122f add doc/mod/scriptrunonce 2022-02-21 12:53:26 +01:00
Christian Hesse
e9953c3612 add doc/mod/ipcalc 2022-02-20 23:40:22 +01:00
Christian Hesse
002315035c add doc/mod/inspectvar 2022-02-20 23:40:22 +01:00
Christian Hesse
07fc5c898a add doc/mod/notification-matrix 2022-02-20 23:40:22 +01:00
Christian Hesse
e6a686187c add doc/mod/notification-telegram 2022-02-20 23:40:22 +01:00
Christian Hesse
886cd67edb Makefile: match all *.md files, incl. doc/mod/ 2022-02-20 23:38:21 +01:00
Christian Hesse
6f27553f15 doc/check-routeros-update: mention e-mail, matrix and telegram 2022-02-20 23:38:21 +01:00
Christian Hesse
fd36241be6 doc/mod: put hints into block quote, update info icon, fix links 2022-02-12 13:51:31 +01:00
Christian Hesse
cd2a7dcf8c doc: use another info icon: 🛈 -> ℹ️ 2022-02-12 13:09:37 +01:00
Christian Hesse
f0b0951968 doc/early-errors: no site structure, hint only 2022-02-11 23:55:06 +01:00
Christian Hesse
9e91ed56aa doc: put hints into block quote 2022-02-11 23:38:28 +01:00
Christian Hesse
4b16dc06c4 INITIAL-COMMANDS: put hint into block quote 2022-02-11 23:38:28 +01:00
Christian Hesse
a5e421faeb README: put hint into block quote 2022-02-11 23:35:20 +01:00
Christian Hesse
3f8e835233 firmware-upgrade-reboot: add a delay before reboot
Looks like my timing was too good... Upgrade and reboot happened too
fast, so device reported:

system;error;critical router was rebooted without proper shutdown

Let's try something smart... Delay the reboot by the amount of uptime,
and hope all devices - slow and powerful - are happy.
2022-02-11 00:19:41 +01:00
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