How to Upgrade MikroTik Software

How to Upgrade MikroTik Software

 

It is suggested to always keep your RouterOS installation up to date, MikroTik always keeps adding new functionality and improving performance and stability by releasing updates.

RouterOS versions are numbered sequentially, when a period is used to separate sequences, it does not represent a decimal point, and the sequences do not have positional significance. An identifier of 2.5, for instance, is not "two and a half" or "half way to version three", it is the fifth second-level revision of the second first-level revision. Therefore v5.2 is older than v5.18, which is newer.

Requirements and suggestions

In this article we assume that your license allows upgrading. When using a RouterBOARD device, it is always suggested to upgrade it's RouterBOOT bootloader after RouterOS is upgraded. To do this, issue the command " /system routerboard upgrade "

Automatic upgrade

In RouterOS v5.21, Automatic Upgrade was added. To upgrade your RouterOS version, all you need to do is click a button. This feature is available in command line, Winbox GUI, Webfig GUI and QuickSet.

The automatic upgrade feature connects to the MikroTik download servers, and checks if there is a new RouterOS version for your device. If yes, a Changelog is displayed, and Upgrade button is shown. Clicking the Upgrade button, software packages are automatically downloaded, and device will be rebooted.

Even if you have a custom set of packages installed, only the correct packages will be downloaded. The process is easy and fast, and will save you trips to our download page, and use of FTP utilities.

Upgrade button in QuickSet :

800px-Quickset-upgrade.jpg

 

Upgrade button in the Packages menu:

Package-upgrade.png

 

After clicking the Upgrade button, Changelog is shown:

Changelog-upgrade.png

 

By clicking "Download & Upgrade", downloads will start, and router will reboot. After the reboot, your router will be running the latest RouterOS version. You can then click the Upgrade button again, to confirm that your router is running the latest RouterOS.

Manual upgrade methods

You can upgrade RouterOS in the following ways:

  • Winbox drag and drop files to the Files menu
  • FTP - upload files to root directory
  • The Dude 
 

Note: RouterOS cannot be upgraded through serial cable. Using this method only RouterBOOT can be upgraded .

 

Upgrade process

  • First step - visit www.mikrotik.com and head to the download page, there choose the type of system you have the RouterOS installed on.
  • Download the Combined package , it will include all the functionality of RouterOS:

Using Winbox

Choose your system type, and download the upgrade package:

Downloadpage.jpg

 

Connect to your router with Winbox, Select the downloaded file with your mouse, and drag it to the Files menu. If there are some files already present, make sure to put the package in the root menu, not inside the hotspot folder! :

Winbox1.jpg

The upload will start:

Winb2.jpg

 

After it finishes - REBOOT and that's all! The New version number will be seen in the Winbox Title and in the Packages menu

Using FTP

  • Open your favourite FTP program (in this case it is Filezilla ), select the package and upload it to your router (demo2.mt.lv is the address of my router in this example). note that in the image I'm uploading many packages, but in your case - you will have one file that contains them all

Up4.jpg



  • if you wish, you can check if the file is successfully transferred onto the router (optional):

 

      [normis@Demo_v2.9] > file print
 # NAME                   TYPE                  SIZE       CREATION-TIME
 0 supout.rif             .rif file             285942     nov/24/2005 15:21:54
 1 dhcp-2.9.8.npk         package               138846     nov/29/2005 09:55:42
 2 ppp-2.9.8.npk          package               328636     nov/29/2005 09:55:43
 3 advanced-tools-2.9.... package               142820     nov/29/2005 09:55:42
 4 web-proxy-2.9.8.npk    package               377837     nov/29/2005 09:55:43
 5 wireless-2.9.8.npk     package               534052     nov/29/2005 09:55:43
 6 routerboard-2.9.8.npk  package               192628     nov/29/2005 09:55:45
 7 system-2.9.8.npk       package               5826498    nov/29/2005 09:55:54

    
  • and reboot your router for the upgrade process to begin:
      [normis@Demo_v2.9] > system reboot
Reboot, yes? [y/N]: y

    
  • after the reboot, your router will be up to date, you can check it in this menu:
      /system package print

    
  • if your router did not upgrade correctly, make sure you check the log
      /log print without-paging

    

RouterOS massive auto-upgrade

You can upgrade multiple MikroTik routers within few clicks. Let's have a look on simple network with 3 routers (the same method works on networks with infinite numbers of routers),

Dude1.png

 

RouterOS auto-upgrade

Sub-menu: /system package update

RouterOS version 6 has new auto upgrade option. RouterOS checks amazon servers for information if new version is available and upgrades after upgrade command is executed.


You can automatize upgrade process by running script in scheduler:

      
/system package update
check-for-updates
:delay 1s;
:if ( [get current-version] != [get latest-version]) do={ upgrade }

    


Older option

RouterOS can download software packages from a remote MikroTik router.

  • Make one router as network upgrade central point, that will update MikroTik RouterOS on other routers.
  • Upload necessary RouterOS packages to this router (in the example, mipsbe for RB751U and powerpc for RB1100AHx2).
Dude2.png
  • Add upgrade router (192.168.100.1) information to a router that you want to update (192.168.100.253), required settings IP address/Username/Password

Dude3.png

 

  • Click on Refresh to see available packages, download newest packages and reboot the router to finalize the upgrade.
Dude5.png

The Dude auto-upgrade

Dude application can help you to upgrade entire RouterOS network with one click per router.

  • Set type RouterOS and correct password for any device on your Dude map, that you want to upgrade automatically,

Dude6.png

 

  • Upload required RouterOS packages to Dude files,

Dude7.png

  • Upgrade RouterOS version on devices from RouterOS list. Upgrade process is automatic, after click on upgrade (or force upgrade), package will be uploaded and router will be rebooted by the Dude automatically.

Dude8.png

 

The Dude hierarchical upgrade

For complicated networks, when routers are connected sequentially, the simplest example is 1router-2router-3router connection. You might get an issue, 2router will go to reboot before packages are uploaded to the 3router. The solution is Dude groups, the feature allows to group routers and upgrade all of them by one click!

Dude13.png

 

  • Select group and click Upgrade (or Force Upgrade),

Dude14.png

 

License issues

When upgrading from older versions, there could be issues with your license key. Possible scenarios:

  • When upgrading from RouterOS v2.8 or older, the system might complain about expired upgrade time. To override this, use Netinstall to upgrade. Netinstall will ignore old license restriction and will upgrade
  • When upgrading to RouterOS v4 or newer, the system will ask you to update license to a new format. To do this, ensure your Winbox PC (not the router) has a working internet connection without any restrictions to reach www.mikrotik.com and click "update license" in the license menu.
 
    • Related Articles

    • Using MikroTik LHG as a UE With a Baicells eNodeB

      If you want to use a MikroTik LHG CPE as a UE with your Baicells eNodeB, this blog post explains how.  Also shown is the tricky nature of inserting the SIM Card in the LHG. LEARN MORE
    • How to Upgrade a UniFi Controller on Linux

        I have used the Ubiquiti UniFi product since it first came out and have watched the evolution with excitement because I believe the AP/Controller concept is the future of indoor wireless. Ubiquiti has done it in their usual fashion by making ...
    • How to Log Into a Mikrotik Router

      After you have installed the RouterOS software, or turned on the Router for the first time, there are various ways how to connect to it: Accessing Command Line Interface (CLI) via Telnet, SSH, serial cable or even keyboard and monitor if your router ...
    • Cloning MikroTik Routers, Quick and Easy

      If you are wanting to configure multiple MikroTik routers with the same configuration, or to copy a config from one router to another, the best way is to use an export.  The export command dumps all of the configuration commands you added to a router ...
    • How to Upgrade Ubiquiti Firmware

        Firmware Upgrade process Contents: This guide describes the Firmware Upgrade process of AirOS. Requirements: UBNT devices to upgrade. Ethernet Cable. A PC or Laptop always configured to access the units (es. [1] ). IMPORTANT! Do not switch off, do ...