Bumping this old request as it apparently is provided now by mikrotik !
In the website there are x64 versions of netinstall and also linux versions !
./netinstall
Usage: netinstall [-r] [-k keyfile] [-s userscript] -a CLIENT_IP [PACKAGE]+
Please offer a help file!
Yeah, they could put a readme/help file.
At least works fine, but lack a option to not load the defconf.
-r stands for reset config and load defconf.
-k should be to load the license key.
$ sudo ./netinstall -r -a 192.168.15.15 system-6.48-mipsbe.npk advanced-tools-6.48-mipsbe.npk dhcp-6.48-mipsbe.npk ipv6-6.48-mipsbe.npk
[sudo] password for auser:
Will reset config
Using server IP: 192.168.15.2
Starting PXE server
Waiting for RouterBOARD...
PXE client: 4C:5E:0C:00:00:00
Sending image: mips
Discovered RouterBOARD...
Formatting...
Sending package system-6.48-mipsbe.npk ...
Sending package advanced-tools-6.48-mipsbe.npk ...
Sending package dhcp-6.48-mipsbe.npk ...
Sending package ipv6-6.48-mipsbe.npk ...
Ready for reboot...
Sent reboot command
If you don't use sudo, you'll receive a warn.
bind bootp failed: Permission denied
bind tftp general failed: Permission denied
This netinstall is a statically linked x86 binary.
$ file netinstall
netinstall: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, for GNU/Linux 2.6.16, stripped