Table of Contents |
---|
Introduction
Netinstall is a tool for installing and reinstalling MikroTik devices running RouterOS. Always try using Netinstall if you suspect that your device is not working properly. The tool is available for Windows (with a graphical interface) and for Linux (as a command line tool).
...
Instructions for Linux
The linux Linux version is a command line tool, which offers nearly the same parameters as the Windows counnterpartcounterpart.
Download the tool from our download page (links not literal):
wget https://download.mikrotik.com/routeros/6.48[VERSION]/netinstall-6.48[VERSION].tar.gz
Extract it:
tar -xzf netinstall-[VERSION].tar.gz
Run the tool:
./netinstall -a 1192.1168.10.1 routeros-arm64-6.48rc1[VERSION].npk
The available parameters are as follows:
Parameter | Meaning |
---|---|
-r | resets the configuration upon reinstallation procedure, optional |
-k keyfile | provides the device with a license key (key file in .KEY format), optional |
-s userscript |
preconfigures the device with the provided configuration (text file in .RSC format), optional | |
-a IP | uses a specific IP address |
that the |
Netinstall server |
will assign to the device, mandatory | |
PACKAGE | specify a list of RouterOS.NPK format packages that Netinstall will try to install on the device, mandatory |
Code Block | ||||
---|---|---|---|---|
| ||||
admin@ubuntu:~$ sudo ./netinstall -a 192.168.88.3 routeros-mipsbe-6.48.1.npk
Using server IP: 192.168.88.2
Starting PXE server
Waiting for RouterBOARD...
PXE client: 01:23:45:67:89:10
Sending image: mips
Discovered RouterBOARD...
Formatting...
Sending package routeros-mipsbe-6.48.1.npk ...
Ready for reboot...
Sent reboot command |
Etherboot
Etherboot mode is a special state for a MikroTik device that allows you to reinstall your device using Netinstall. There are several ways to put your device into Etherboot mode depending on the device you are using.
...