Document revision 10-Oct-2001
This document applies to the MikroTik RouterOS V2.4

MikroTik RouterOS V2.4 Software Package Installation and Upgrading

Overview

The MikroTik RouterOS consists of a formatted HDD specific to our installation and of software packages. The main package is the system software package, which provides the basic functionality of the router. Additional software packages can be installed that provide special support, e.g., PPPoE, PPTP, PPP, wireless, etc.

Features

The modular software package system of MikroTik RouterOS has following features:

Contents of the Manual

The following sections are included in this Manual:

Software Upgrade Instructions

Upgrading of the MikroTik RouterOS can be done by uploading the newer version software packages to the router and rebooting it. Before upgrading the router please check the current version of the system software and of the additional software packages. The version of the MikroTik RouterOS system software (and the build number) are shown before the console login prompt, for example:
MikroTik v2.4rc19
Login:
Information about the version (and build) numbers of the installed MikroTik RouterOS software packages can be obtained using the /system package print command, for example:

[MikroTik] > system package print                                              
  # NAME                   VERSION               BUILD-TIME           UNINSTALL
  0 routing                2.4rc19               sep/10/2001 12:58:27 no       
  1 ppp                    2.4rc19               sep/10/2001 12:58:36 no       
  2 pptp                   2.4rc19               sep/10/2001 12:59:07 no       
  3 system                 2.4rc19               sep/10/2001 12:58:09 no       
  4 ssh                    2.4rc19               sep/10/2001 12:59:28 no       
[MikroTik] > 

The list shows the number, name, version, and build time of the installed software packages. If the functions provided by a software package are not required for the router implementation, the package can be marked for uninstalling at the next shutdown/reboot of the router. Use the /system package set command to mark the packages for uninstallation:

[MikroTik] > system package set 0 uninstall=yes                                
[MikroTik] > system package print                                              
  # NAME                   VERSION               BUILD-TIME           UNINSTALL
  0 routing                2.4rc19               sep/10/2001 12:58:27 yes      
  1 ppp                    2.4rc19               sep/10/2001 12:58:36 no       
  2 pptp                   2.4rc19               sep/10/2001 12:59:07 no       
  3 system                 2.4rc19               sep/10/2001 12:58:09 no       
  4 ssh                    2.4rc19               sep/10/2001 12:59:28 no       
[MikroTik] >

If a package is marked for uninstallation, but it is required for another (dependent) package, then the marked package cannot be uninstalled. For example, the ppp package wont be uninstalled, if the pptp package is installed. You should uninstall the depended package too. For package dependencies see the section about contents of the software packages below. The system package wont be uninstalled even if marked for uninstallation.

Software Package Installation Instructions

The software package files are compressed binary files, which can be downloaded from MikroTik's web page www.mikrotik.com Download section. The full name of the package file consists of a descriptive name, version number, and file extension '.npk'. For example, 'system-2.4.npk', 'ppp-2.4.npk'. 'pppoe-2.4.npk', etc. To install (upgrade) newer version of the MikroTik RouterOS system software please follow the upgrade instructions below: Example output of the /file print command:

[MikroTik] > /file print                                                       
  # NAME                  SIZE       TYPE                  TIME                
  0 ssh_host_key.pub      332        unknown               feb/14/2001 15:10:19
  1 ssh_host_dsa_key.pub  603        unknown               feb/14/2001 15:10:35
  2 ppp-2.4.npk           314563     package               sep/25/2001 11:39:14
  3 pppoe-2.4.npk         125822     package               sep/25/2001 11:39:14
  4 pptp-2.4.npk          113055     package               sep/25/2001 11:39:15
  5 ssh-2.4.npk           462380     package               sep/25/2001 11:39:16
  6 system-2.4.npk        6566535    package               sep/25/2001 11:39:28
[MikroTik] >

The installation/upgrade process is shown on the console screen (monitor) attached to the router. After successful installation the software packages are shown on the output list of the /system package print command, for example:

[MikroTik] > system package print                                              
  # NAME                   VERSION               BUILD-TIME           UNINSTALL
  0 ppp                    2.4                   sep/24/2001 03:37:21 no       
  1 pptp                   2.4                   sep/24/2001 03:38:03 no       
  2 ssh                    2.4                   sep/24/2001 03:43:19 no       
  3 system                 2.4                   sep/24/2001 03:33:17 no       
  4 pppoe                  2.4                   sep/24/2001 03:39:04 no       
[MikroTik] > 

Note! The versions of packages should match the version number of the system software package.

Automatic Software Package Upgrading

The automatic upgrade option of the MikroTik RouterOS software packages can be accessed under the /system package auto-update menu. The option is not functional and cannot be used yet.

Contents of the Software Packages

System Software Package

The system software package provides the basic functionality of the MikroTik RouterOS, namely: After installing the MikroTik RouterOS, a license should be obtained from MikroTik to enable the basic system functionality.

Additional Software Feature Packages

The table below shows additional software feature packages, the provided functionality, the required prerequisites and additional licenses, if any.
Name Contents Prerequisites Additional License
routingProvides RIP & OSPF support--
snmpProvides read only SNMP support--
sshProvides remote access via SSH--
lcdProvides LCD monitor support--
upsProvides APC Smart Mode UPS support--
pppProvides asynchronous PPP support--
pptpProvides PPTP supportppp-
pppoeProvides PPPoE supportppp-
isdnProvides support for ISDNppp-
telephonyProvides IP telephony support (H.323) for Quicknet cards--
framerelayProvides support for frame relay (used with Moxa C101 or Cyclades PC300 interfaces--
moxa-c101Provides support for Moxa C101 synchronous card-synchronous
lmc-wanProvides support for LMC synchronous cards-synchronous
cycladesProvides support for PC300 synchronous interfaces-synchronous
aironetProvides support for CISCO Aironet IEEE 802.11 wireless PC/PCI/ISA cards-2.4GHz wireless
arlanProvides support for DSSS 2.4GHz 2mbps Aironet ISA cards-2.4GHz wireless
wavelanProvides support for Lucent WaveLAN IEEE 802.11 wireless cards-2.4GHz wireless
teletronicsProvides support for Teletronics IEEE 802.11 2Mbps wireless cards-2.4GHz wireless
radiolanProvides support for 5.8GHz RadioLAN ISA cards-radiolan
prismProvides support for Prism II chipset based IEEE 802.11 wireless cards as clients or as access points-2.4GHz wireless (station mode);
2.4GHz wireless and Prism II AP (AP mode)
thinrouter-pcipcUsed for Thin Routers. Forces the PCI to cardbus bridge to use IRQ 11--

If additional license is required to enable the functionality of a software package, the license should be obtained for the Software ID of your system. The new key should be entered using the /system license set key command, and the router should be rebooted afterwards:

[MikroTik] system license> print                                               
      software-id: TPNG-SXN
              key: 2C6A-YUE-3H2
    upgradable-to: may/01/2002
[MikroTik] system license> feature print                                       
Flags: X - disabled 
  #   FEATURE                                                                  
  0 X AP                                                                       
  1 X synchronous                                                              
  2 X radiolan                                                                 
  3 X wireless-2.4gHz                                                          
  4   licensed                                                                 
[MikroTik] system license> set key=D45G-IJ6-QM3                                
[MikroTik] system license> /system reboot
Reboot, yes? [y/N]: y
system will reboot shortly

If there is no appropriate license, the appropriate interfaces wont show up under the interface list, even though the packages can be installed on the MikroTik RouterOS and corresponding drivers loaded.

Software Package Resource Usage

The following table shows the required resources of HDD storage and RAM for the various software packages. The total required storage space can be calculated by adding the together the required storage of all installed packages including the system software package.

Name Memory (RAM) usage, MB Storage (HDD) usage, MB
system 16.5 16.0
routing 0.6 1.2
snmp 0.6 0.5
ssh 1.0 1.2
lcd 0.4 0.1
ups 0.5 0.2
ppp 2.0 0.8
pptp 1.3 0.3
pppoe 1.2 0.4
isdn 2.4 1.0
telephony 4.8 4.5
framerelay 0.1 0.1
moxa-c101 0.8 0.1
lmc-wan 0.8 0.1
cyclades 0.8 0.1
aironet 1.1 0.2
arlan 0.8 0.1
wavelan 1.1 0.1
teletronics 0.8 0.1
radiolan 0.8 0.2
prism 1.3 0.5
thinrouter-pcipc 1.0 0.01

Troubleshooting

Top

© Copyright 1999-2001, MikroTik