Manual:Upgrading RouterOS: Difference between revisions
Line 7: | Line 7: | ||
In this article we assume that youre [[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''" | In this article we assume that youre [[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''" | ||
== | == Manual upgrade methods == | ||
You can upgrade RouterOS in the following ways: | You can upgrade RouterOS in the following ways: |
Revision as of 14:17, 14 November 2013
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 youre 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"
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 – See manual here
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:
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!:
The upload will start:
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
- 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),
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).
- 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
- Click on Refresh to see available packages, download newest packages and reboot the router to finalize the upgrade.
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,
- Upload required RouterOS packages to Dude files,
- 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.
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!
- Select group and click Upgrade (or Force Upgrade),
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.