Installing Openwrt On A Mikrotik Routerboard

Manual

Lede-XX.XX.X-ar71xx-mikrotik-vmlinux-initramfs-lzma.elf file you need to upload to the source device, this file is used to run in MikroTik memory. How the installation proceeds (elucidation) OpenWrt installation takes place in two stages - first we write OpenWrt to the device's memory, then install image to the target device NAND. Permanently installing OpenWrt on the RouterBoard. As we have an accessible Linux system running now on the RouterBoard the available tools such as scp and mtd can be used to copy the needed files onto the NAND device and thus permanently install OpenWrt on the device. This document contains a step-by-step process for installing the Commotion software on MikroTik routers. If you have a new, in-the-box MikroTik device, this guide is for you. We have written this guide because the Open Technology Institute is expanding Commotion router software support for MikroTik routers. Connect the mAP lite to ethernet (network boot network). Press the reset button, connect power (USB). Wait until LEDs flash (about 5 seconds) then release the button. Connect to the mAP lite via wifi (ethernet is not available for connecting to). Yes mikrotik is a very good os but it has its limitations to it aswell becouse at mikrotik thay look into it but if thay see no use for it thay wont work on a way to add it like me i like to have sqlite on my board and thats why i use openwrt now!it takes a lot to get it up and working but at the end its worth all the trubles.

Supported Versions

Warning - Mikrotik has made some changes on the board and recently ordered units are no longer supported. Note: https://forum.openwrt.org/t/mikrotik-rb951ui-2hnd-unsupported-nand/72052

Mikrotik Routerboard Rb951ui 2hnd

BrandModelVersionCurrent ReleaseOEM InfoForum TopicTechnical Data
MikroTikRB951Ui-2HnD19.07.5http://routerboard.com/RB951Ui-2HnDView/Edit data

Hardware Highlights

ModelVersionSoCCPU MHzFlash MBRAM MBWLAN HardwareWLAN2.4WLAN5.0100M portsGbit portsModemUSB
RB951Ui-2HnDAtheros AR9344600128NAND128Atheros AR9344b/g/n-5--1x 2.0

Conflicting with ToH dataentry → to be checked

CPU CPU Speed RAM (MB) NAND (MB) Serial Flash Ethernet Switch PoE port Wireless USB UART JTAG
AR9334 600 MHz 128 (2x W9751G6KB-25) 128 (1x TC58DVG02D5TA00-ND) MX25L512E AR7240 (10M/100M) 1-in 5-out (500mA) AR9344-DC3A 1x 2.0 1x onboard 1x onboard

Sister product: http://routerboard.com/RB951G-2HnD

Please refer to the sister board wiki page rb951g_2hnd for a description of differences.

Installing Openwrt On A Mikrotik Routerboard

Warning! As of 04/02/2020 WiFi is *not* working on rev2 hardware. Check this post for updates: https://forum.openwrt.org/t/support-for-mikrotik-rb951ui-2hnd-r2/46923

Installation

ModelVersionCurrent ReleaseFirmware OpenWrt InstallFirmware OpenWrt UpgradeFirmware OEM Stock
RB951Ui-2HnD19.07.5http://downloads.openwrt.org/releases/19.07.5/targets/ar71xx/mikrotik/openwrt-19.07.5-ar71xx-mikrotik-vmlinux-initramfs.elfhttp://downloads.openwrt.org/releases/19.07.5/targets/ar71xx/mikrotik/openwrt-19.07.5-ar71xx-mikrotik-nand-large-squashfs-sysupgrade.bin

Please refer to Common Procedures for Mikrotik RouterBoard Products.

Initial setup

Leds

Instructions for setting up LEDs are from 12/2014, but as for v15.05 it seems to be still neccessary to do this.Anyway, please check first if the LEDs are working as desired (plug devices into ethernet ports, check WLAN activity… etc).

Add these lines to /etc/config/system

There is a red LED on port 5, which seems to be some indication of PoE (same voltage as input https://mikrotik.com/product/RB951Ui-2HnD, so 24 Volts, 0.5 Amp, apparently enabled by default). You can (tested working for v18 and v19 in the forum ) turn the LED off by editing /etc/config/system:

Routerboard 750 Quick Setup Guide

Or temporarily with the following command (PoE will continue supplying power over port 5, even without the red LED on [However, see Note below] ) . You can put it in /etc/rc.local

Installing Openwrt On A Mikrotik Routerboard

Note 2018-10-10 Using OpenWRT 18.06.1, after the above command is issued the red LED turns off and PoE power is turned off.

Built in ethernet switch

In /etc/config/network, add these lines to enable the built-in ethernet switch between ports 2..5.

Example VLAN configuration for switch ports

In /etc/config/network, add these lines to enable the switch, and create 2 vlan interfaces (eth1.11 and eth1.12). The first for ports 5 and 4, and the later for ports 3 and 2. Port 1 on the router is eth0.

References

Mikrotik

Helpfull info:

  • http://www.lan23.ru/forum/showthread.php?t=10780 (HowTo on Russian)

patchworks.openwrt.org is not working since ~2015, the following URL will not work anymore, but you may be interested in URLs pointing to it for the history of dev. on this routerboard.

Tags

Mikrotik Router

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies

Install Openwrt On Mikrotik Routerboard

ar9334 128flash 128ram