Mikrotik's NetInstall for Linux with loop, device's architecture autodetect and packages autoupdate. Testes on Fedora 37 (x86_65) and on Raspberian (aarch64).
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Aleksejs Abrosimovs 4d1fc94b32 Fixed issue with 3rd part of versioning (7.9.1) 4 days ago
.gitignore using relative path of script to save files. 2 months ago
LICENSE Initial commit 3 months ago
README.md fixed major issue with architectures other than arm/arm64 1 month ago
netinstall-autoloop.sh Fixed issue with 3rd part of versioning (7.9.1) 4 days ago

README.md

Linux NetInstall with autoupdate and autodetect for Mikrotik devices.

Mikrotik's NetInstall for Linux with loop, device's architecture autodetect and packages autoupdate. Tested on Fedora 37 (x86_65) and on Raspberian (aarch64).

How it works.
At every run script checks some requirements, check latest version of Netinstall and packages, and updates them if nessasary.
Then it runs a loop.
In loop:

  • it catches UDP packets to find MAC address and architecture of Mikrotik's device in etherboot mode.
  • then it runs unchanged original Mikrotik's netinstall-cli for Linux with required parameters. That is all.

Feel free to share, change and modify. I hope you will find the script useful. Please, let me know if so - I would be glad to hear it. :)

Successfuly tested devices:

device mpn
wAP RBwAP2nD
mAP lite RBmAPL-2nD
hAP lite RB941-2nD
hAP mini RB931-2nD
hEX S RB760iGS
mAP RBmAP2nD
hAP ac lite RB952Ui-5ac2nD
hAP ac RB962UiGS-5HacT2HnT