User Tools

Site Tools


toh:mikrotik:rb951ui

Mikrotik RouterBoard RB951Ui-2HnD

Status

The 951Ui-2HnD is supported starting with OpenWrt 14.07.

Hardware

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

http://routerboard.com/RB951Ui-2HnD

Sister product:

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

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

Installation

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

config led 'act'
      option trigger 'netdev'
      option mode 'link tx rx'
      option sysfs 'rb:green:act'
      option name 'ACT'
      option dev 'eth1'
      option brightness '0'
      option default '0'
config led 'p1'
      option trigger 'netdev'
      option name 'Port_1'
      option sysfs 'rb:green:port1'
      option dev 'eth0'
      option mode 'link tx rx'
      option default '0'
config led 'p2'
      option trigger 'switch0'
      option name 'Port_2'
      option sysfs 'rb:green:port2'
      option port_mask '0x10'
      option default '0'
config led 'p3'
      option name 'Port_3'
      option sysfs 'rb:green:port3'
      option trigger 'switch0'
      option port_mask '0x8'
      option default '0'
config led 'p4'
      option name 'Port_4'
      option trigger 'switch0'
      option sysfs 'rb:green:port4'
      option port_mask '0x4'
      option default '0'
config led 'p5'
      option name 'Port_5'
      option sysfs 'rb:green:port5'
      option trigger 'switch0'
      option port_mask '0x2'
      option default '0'
config led 'wlan'
      option sysfs 'rb:green:wlan'
      option name 'WLAN'
      option trigger 'phy0tpt'
      option default '0'

There is a red LED on port 5, which seems to be some indication of PoE (apparently enabled by default). You can turn the LED off (PoE will continue supplying power over port 5, even without the red LED on) with the following command. You can put it in /etc/rc.local

echo 0 > /sys/devices/virtual/gpio/gpio2/value

Built in ethernet switch

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

config switch 'eth1'
      option enable '1'
      

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.

config switch 'eth1'
      option enable '1'
      option enable_vlan '1'
config switch_vlan
      option device 'eth1'
      option vlan '11'
      option vid '11'
      option ports '0t 1 2'
config switch_vlan
      option device 'eth1'
      option vlan '12'
      option vid '12'
      option ports '0t 3 4'
      

References

Helpfull info:

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.

http://patchwork.openwrt.org/patch/3976/

Tags

toh/mikrotik/rb951ui.txt · Last modified: 2016/03/27 06:18 by Sopalajo de Arrierez