Mikrotik RouterOS re-install via netinstall after failed upgrade (broken wireless package)

Mikrotik RouterOS re-install via netinstall after failed upgrade (broken wireless package)

My hAP ac² failed to update yesterday resulting in corrupted wireless package. This is what I did to fix that.

Connected the router via Ethernet and backup config via (just for sure)

> /export compact show-sensitive

Downloaded the latest netinstall (update the version per latest RouterOS package available)

$ wget https://download.mikrotik.com/routeros/7.19.1/netinstall-7.19.1.tar.gz

Downloaded the latest available packages for my router (hAP ac²) via product page:

https://mikrotik.com/product/hap_ac2#fndtn-downloads

Saved both files into the directory where I extracted the netinstall. The files where:

routeros-7.19.1-arm.npk
wireless-7.19.1-arm.npk

As a next step, I changed the IPv4 config on the Ethernet interface connected with the router to:

IP: 192.168.88.2
Mask: 24 (255.255.255.0)
Gateway: 192.168.88.1
DNS: 192.168.88.1

Then I started the netinstall:

$ sudo ./netinstall-cli -v -i enp0s31f6 routeros-7.19.1-arm.npk wireless-7.19.1-arm.npk

Next necessary step was to disable Fedora firewall:

$ sudo systemctl stop firewalld
$ systemctl status firewalld

Then it was necessary to put the router into netinstall mode by unplugging the power cable, pressing and holding the reset button while plugging the power cable back and keep holding the button until the terminal with the running netinstall-cli showed udpate that BOOTP request were received.

Full log from the netinstall here:

$ sudo ./netinstall-cli -v -i enp0s31f6 routeros-7.19.1-arm.npk wireless-7.19.1-arm.npk 
Version: 7.19.1(2025-05-23 15:36:01)
Waiting for Link-UP on enp0s31f6
Using client IP 192.168.88.3
Waiting for RouterBOARD...
Received a BOOTP request from 08:55:31:48:AD:8B (arm)
Assigned 192.168.88.3 to 08:55:31:48:AD:8B
Booting device 08:55:31:48:AD:8B into setup mode
Formatting device 08:55:31:48:AD:8B
Sending packages to device 08:55:31:48:AD:8B
Packages sent to device 08:55:31:48:AD:8B
Rebooting device 08:55:31:48:AD:8B
Successfully finished installing device 08:55:31:48:AD:8B

And that’s it. The configuration was kept so there was no need to use the backup I created in the first step.
Everything was just working well and both packages were installed and router star to work again.

Btw. Don’t forget to re-enable the firewall.

$ sudo systemctl start firewalld
Comments are closed.