Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: addind Linux CLI example

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): 

...

The available parameters are as follows: 

ParameterMeaning
-rresets the configuration upon reinstallation procedure, optional
-k keyfileprovides the device with a license key (key file in .KEY format), optional
-s userscript
precondigures
preconfigures the device with the provided configuration (text file in .RSC format), optional

-a IP

uses a specific IP address
for
that the
boot
Netinstall server
that Netinstall will run
will assign to the device, mandatory
PACKAGEspecify a list of RouterOS.NPK format packages that Netinstall will try to install on the device, mandatory


Code Block
languagetext
themeFadeToGrey
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.

...