Table of Contents

<--   Back

Netinstall MikroTik on Linux


I have RB941-2nD-TC (hAP-Lite2) and it seem I misconfigured, so I need to reset configuration using netinstall technique.


Download all requirements files from, and select RouterOS version (in my case is RouterOS v6).



Extract all files to single folder, so we can work with the files easily.

Disable Internet Interface

Disable all internet interface such as WiFi, and only leaving with Ethernet.

IP Static

Using ip command.

sudo ip addr add dev <interface>; sudo ip link set dev <interface> up

Using ifconfig command.

sudo ifconfig <interface> up

Where <interface> is your ethernet interface name, you can print list ethernet interface using netstat -i, something like eth* or enp0s* is your interface.

IP Gateway

Using route command.

sudo route add default gw <interface>

Check IP

Using route command to check if we success to setup IP.

route -n

It will print something like this.

Kernel IP routing table
Destination     Gateway         Genmask          Flags  Metric  Ref  Use  Iface          UG     0       0      0  enp0s25    U      0       0      0  enp0s25


Run netinstall with sudo.

sudo ./netinstall -r -a <routeros>


My netinstall result.

Netinstall Mikrotik on Linux

Known Issues


Open GitHub Discussions