Networking • Automation • Occasional Podcasting

OpenWRT On Mikrotik Metarouter

The idea of running a lite linux server on your Mikrotik router is quite appealing. I can think of many uses: Asterisk PBX, lite web server, haproxy load balancer.

Mikrotik’s official documentation is here.

Mikrotik was kind enough to compile and patch a version of OpenWRT, though there seems to be little documentation otherwise. I made a quick video on getting it loaded, changing the password and changing the IP/routing.

Configuration Files

/etc/config

Service Commands

/etc/init.d

List of source files.

Page on how to build the the above source for your router.

I don’t have time for much these days, otherwise I would do some compiling and testing. If you guys have precompiled files you would like to send my way, or if you have a repository somewhere, please let me know!

Comments

4 responses to “OpenWRT On Mikrotik Metarouter”

  1. erik Avatar
    erik

    Hi Greg, great video. I actually stumbled my way through that whole process about a year ago but this is a great resource for anyone just getting into the whole MetaRouter/OpenWRT thing.

    Quick question: I see how you set the root password in the OpenWRT console, what I’ve noticed is reopening the console through WinBox will still not prompt for the password. Only accessing externally through SSH will the password be prompted. Is there a way you know of to always require a password when opening the console in WinBox?

    thanks,
    -erik

  2. Greg Avatar

    @Erik
    I’m sorry I do not. I haven’t touched it since I wrote this article 😛

  3. erik Avatar
    erik

    This forum post answers my question:
    https://forum.openwrt.org/viewtopic.php?id=16900

  4. Greg Avatar

    @erik
    Thanks for the update!

Leave a Reply

Your email address will not be published. Required fields are marked *