Netinstall for RouterOS in Virtualbox (on Mac OS)

I recently ‘bricked’ my Mikrotik HAP AC Lite router – the router didn’t have enough room on its flash memory to install an update, but – in an unexpected turn of events – tried to apply the firmware update anyway, and became un-bootable.

Fortunately, Mikrotik supply a bit of software (‘Netinstall’) which is able to re-flash the devices using BOOTP, but this software won’t run in Wine (it requires root to bind to the low BOOTP port, yada yada).

For Mac users, this means it’s really only possible to run it in a VM (in my case, in Windows 8.1, in Virtualbox on Mac OS 10.11 El Cap). Since this added a few additional layers of very un-wanted hassle at a quite stressful time, I thought I would leave some hints here – tips and screenshots below. Happy flashing!

  • This took me some head-scratching before I remembered: make sure you disable Windows’ built-in firewall/s, for private and public networks – nothing worked until I did this.
  • In Mac OS, you’ll need to set your ethernet interface to a workable IP address and subnet mask, eg 10.1.1.6/24. (It’s fine to leave it to auto-negotiate speed, though.)
  • Similarly, in Windows, you’ll need to set a different IP address (eg. 10.1.1.5) in the same subnet, with the same subnet mask and a gateway.
  • In Virtualbox, you’ll need to set your virtual network interface to bridge with your physical ethernet adapter, with promiscuous mode set to ‘allow all’
  • Finally, in Netinstall, you’ll need to set a different IP address again (eg. 10.1.1.4).
  • After booting your device with the reset button held down, release it only once the ‘ACT’ LED stops flashing, then wait for it to appear as a device in Netinstall.
  • Once you click ‘install’, it will appear to freeze on ‘formatting disk’ for some time. Mine took a couple of minutes to format 16MiB or so of flash.

 

Screen Shot 2017-03-26 at 8.59.05 PMScreen Shot 2017-03-26 at 8.55.22 PM

Screen Shot 2017-03-26 at 8.54.38 PM

Screen Shot 2017-03-26 at 8.53.24 PM

Screen Shot 2017-03-26 at 8.52.19 PM

Previous Post

Quick RouterOS script for hurricane electric 6to4 tunnel dynamic updating

If your ISP doesn't offer IPv6 you may have set up an IPv6 6to4 tunnel using Hurricane Electric's free 'tunnelbroker.net' service. To operate the tunnel, tunnelbroker.net requires that you configure an IPv4 ... Read more

Next Post

Sonoff, meet powerstrip

I recently became super fascinated with ESP8266 hardware, and it wasn't long before I also found out about and ordered a couple of ESP8266-based Sonoff AC switches to play with (immediately flashing them ... Read more

Comments

  • Matt

    Excellent – very helpful – thank you for posting. Worked well on a WAP Ac too

  • Andy

    Amazing instructions! I have spent half a day struggling to recover Mikrotik from failed firmware update until found these instructions. Worked like a magic for me on the Mac! God bless you 🙂

Leave a Comment