Categories
DuxTel Systems (11)
Interface Cards and Adapters (14)
Mikrotik Systems-> (164)
Mimosa Wireless (5)
RouterBOARD (12)
Router Enclosures (11)
Power Supplies & PoE-> (36)
Antennas and Accessories-> (104)
Mikrotik RouterOS (6)
Assembled Kits (5)
Carrier Wireless (1)
Cable and Misc (14)
Hardware and Mounting (23)
Configuration Library (FREE!) (7)
Quick Find
  
search products
search articles
Articles
New Articles
Case Studies
Product Guides (2)
Mikrotik Configuration (17)
Technical (5)
Community News (9)
Q&A (28)
Product Advisory (7)
Policy and Information (7)
Information
Shipping & Returns
Privacy Notice
Conditions of Use
Contact Us
Load a Config from the DuxTel Configuration Library by Mike Everest

In order to deliver ready-to-use network appliances to our customers, we have developed a range of versatile configuration scripts that we make available for others to deploy on their own hardware, or as a starting point for their own applications.

This article describes how to use a configuration script to load onto a blank MikroTik router.

 


The first step to creating one of our DuxAppliance systems is to download a configuration file.  There are a range of configurations available, ready to deploy, or to use a base for your own application.  You can browse the available samples here and download them for free!

If you are not sure which of the available configuration scripts are best to suit your application, feel free to contact us to discuss your requirements!

For further information about developing your own configuration scripts, refer to this article.

You will also need the latest version of the MikroTik Winbox Configuration Tool.

The first step is to open the configuration file and review the routerOS version requirements listed in the config file header, for example:

# DuxLink Duo Point to Point true transparent Bridge
# with VLAN 101 for prioritised Traffic
# A-End Config
# For RouterOS min 5.4
#
# Copyright (c) DuxTel Pty Ltd 2011
# REDISTRIBUTION PERMITTED ONLY WITH THIS HEADER INTACT!
#

In the example above, you should make sure that RouterOS v5.4 or later.  Please note that configuration files will sometimes only work properly when the routerOS version is exactly (e.g. routerOS v5.4 in the above example) as specified in the configuration file header.

To Upgrade routerOS, first, obtain the routerOS package from the MikroTik download page:

http://www.mikrotik.com/download.html

Always start with the latest available version and let us know if you have trouble!

To install the latest package, simply download the "combined-package" (e.g. routeros-mipsbe-5.4.npk) to your desktop or convenience filesystem location, and then copy the package to your router:

  1. Log on to the router using WinBox
  2. Click on 'Files' in the main WinBox menu
  3. With the WinBox program open, and the files list visible, resize the WinBox tool so that you can see the routerOS package on your desktop (or filesystem) and then click-and-drag the file from your desktop into the files list window of WinBox
  4. After the package has successfully transferred (note the file size as shown in the WinBox display) reboot the router (e.g. system -> reboot)

Apple and linux users: although you can use the WINE tool to run winbox, you will not generally be able to transfer files in the method described above.  In that case, you need to assign an ip address to the router and then use ftp to upload the file to the router, and then reboot the router in the usual manner.

Once you have the routerOS upgraded, the next step is to clear out any existing configuration.  NOTE that it is important to start with a completely blank configuration!:

  1. Log on to the router using the WinBox tool
  2. Click on 'New terminal' in the main menu
  3. Enter: /system reset at the terminal prompt, and respond 'y' to the warning
  4. Log on to the router again with winbox when the router reboots (note that the password will be blank after the config reset!)
  5. If you are presented with an option to keep or remove the default configuration, be sure to choose REMOVE.

The final step is to import the configuration:

  1. Log on to the router using the WinBox tool (if you have not already! ;-)
  2. Click on 'New terminal' in the main menu
  3. Enter the command import followed by the first few characters of the configuration file name, e.g:
    • /import initial-config-dux
  4. And then press the <tab> key which should automatically complete the full filename.  If this does not happen, check the files window and make sure that the configuration file a) still exists, and b) is in the root of the router filesystem.
  5. Observe the command result - if there are any error messages, repeat the process again carefully to be sure that you did not miss any steps.

Sometimes it is easy to discover the cause of any config script errors.  As a first step, you can copy chunks of the configuration file at one or more commands at a time, then right click inside a 'new Terminal' windox within WinBox and choose 'paste' to send the configuration commands to the router.

In this way, you will be able to observe specific error messages and possibly deduce the problem with the configuration command - sometimes it is just a reference to an interface that does not exist on your particular router (e.g. attempt to configure ether5 on an RB/433 router) or a change in command syntax due to a different routerOS version.

If all else fails, feel free to contact us for further assistance! :-)

 

Date Added:
Current Comments: 0
Write Review
Tell a friend
Tell a friend about this article:  
Shopping Cart
more
0 items
Latest News
about 11 days ago
RT @mikrotik_com: This is a really good article on how to check your device and improve security against the recent botnet attacks.
more >>
about 16 days ago
MikroTik NEW office in the spectacularly refurbished electronics factory in Riga’s historic soviet manufacturing pr…
more >>
about 16 days ago
the NEW Mikrotik warehouse outside of Riga, Latvia is,... well,... “large”!
more >>
about 19 days ago
the new @mikrotik_com training centre in Riga, Latvia :)
more >>
about 30 days ago
This versatile and handy PoE Detector from @DuxTel Online Store is a MUST for every honest network tech toolbox!
more >>
about 01 month ago
The neat-o mUPS, PoE Injector with battery backup capability is now available from @DuxTel Online Store!…
more >>
about 01 month ago
The cool new hEX-S high performance small form factor desktop router with SFP and hardware encryption is now availa…
more >>
about 01 month ago
RT @manaz_d: Save yourself a bundle of money, support your local IT Industry Association. What's not to like?
more >>
about 01 month ago
Cute as a button! The hAP-mini 3 port wifi router from MikroTik has finally passed all relevant certifications! Ge…
more >>
Follow our tweets for all the latest news and updates!
twitter.com/duxtel
Reviews
more
RB2011UiAS-2HnD-IN: 2011 RouterBoard with the lot!
I have worked with CISCO and Linux firewalls and routers pro ..
4 of 5 Stars!

Copyright © 2018 DuxTel Online Store