Tag Archives: routeros

Gmail + Google Drive + MikroTik scripting = Automated Backups Folder

I was recently looking for a simpler alternative to something like RANCID to periodically backup all our MikroTik configs.

RANCID is great and all, but I didn’t really need the diff copies of each file, and I was plenty happy just knowing that I have a .backup and .rsc file for each router I manage.

Given I use Gmail it might have been ok just to have each router send them there and leave it at that, but I’m not really the sort of person to half-ass my afterhours projects.. I learnt from Greg that you have to just whole-ass them 🙂

Continue reading Gmail + Google Drive + MikroTik scripting = Automated Backups Folder

Check utilisation of RouterOS IP Pools

I was looking for a way to do a quick summary of the utilisation of my DHCP/PPP pools and stumbled across a helpful little script.

This was originally found on the MikroTik forums and posted back in 2010 written by dssmiktik, and surprisingly enough it works perfectly on even v6.0 with no changes required.

Continue reading Check utilisation of RouterOS IP Pools

Study guide: Moving up to RouterOS v6

Given v6.0 stable is now upon us I’ve taken some time to collate some of the posts I’ve been familiarising myself with over the last few weeks to understand the major changes that have been implemented in this release and how to best upgrade and make use of these.

ros-v6

I’ve tagged some videos and forum posts below with topics breakdowns for ease of review

Continue reading Study guide: Moving up to RouterOS v6

RouterOS as a PXE (Net Boot) server

As more and more people switch to netbooks; the ability to provision Operating Systems and boot iso’s over the network becomes highly useful. It has become quite common to see CD/DVD ROM drives removed altogether in mobile and even some desktop machines.

Installing and booting machines using RouterOS as the bootp/tftp server is quite a simple process if you are familiar with PXE booting, but for those of you who are not, allow me to provide a basic guide along with a preset package for you to try this out yourself.

resource-rb1200

Continue reading RouterOS as a PXE (Net Boot) server

ROS Syntax highlights in Notepad++

1. Download Notepad++: http://www.notepadplusplus.org

2. Install Notepad++

3. Download file RouterOS Syntax-Highlighter and extract the notepad++ xml file within.

4. Open Notepad++

5. Click Language > User-Defined > click Import button.
Import the xml file you unzipped.
6. Close and reopen Notepad++

7a. Open an .rsc script, and syntax highlighting will be visible.

7b. Alternatively open any file and select the “RouterOS” language option

Example highlighting

Thanks to dtoffo on the MikroTik forums for the original release of this highlighter.