Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
| toh:mikrotik:rb2011 [2019/08/12 04:28] – [Installation] teppo | toh:mikrotik:rb2011 [2024/05/15 17:56] – [Installation] mistyped chf | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== | + | ====== |
| ===== Supported Versions ===== | ===== Supported Versions ===== | ||
| - | ---- datatable ---- | + | <!-- ToH: { |
| - | cols | + | " |
| - | headers | + | " |
| - | align : c,c,c,c,c,c,c | + | " |
| - | filter | + | " |
| - | ---- | + | " |
| + | | ||
| + | } --> | ||
| ==== Status ==== | ==== Status ==== | ||
| - | The RB2011 series consists of different models. | + | The RB2011 series consists of different models. |
| - | Every model identifies itself to the OpenWrt linux kernel with a different | + | Features are encoded in the model name. The format is **RB2011x-y-z**. |
| - | + | ||
| - | See [[toh: | + | |
| + | First part describes shared across all releases: | ||
| + | * A - touchscreen LCD | ||
| + | * i - passive PoE output on ethernert port 10 | ||
| + | * L - no touchscreen LCD | ||
| + | * S - SFP port | ||
| + | * U - USB port | ||
| + | Any combination of these (except A+L) is possible. | ||
| + | |||
| + | The second part, if present, indicates the presence of wireless and contains **2HnD** (2.4 GHz dual chain). | ||
| + | |||
| + | The last part, if present, indicates the case type. If not present, the model is a bare PCB (without the metal case): | ||
| + | * RM - rack mount case | ||
| + | * IN - indoor (desktop) case | ||
| + | |||
| + | Every model identifies itself to the OpenWrt linux kernel with a different model name (eg: 2011r5 for RB2011-UiAS-2HnD-IN). The OpenWrt kernel only boots when it recognizes the model name. | ||
| + | |||
| + | === Availability === | ||
| + | In general, non-PoE-out models are discontinued by Mikrotik, and some of them (UAS) even removed from the website. However, some sellers might have the stock of those old devices. | ||
| + | |||
| + | ==== Metarouter ==== | ||
| See [[docs: | See [[docs: | ||
| + | |||
| + | Note: Metarouter requires some patches which seems to be unmaintained for versions past 15.05. | ||
| + | |||
| + | ===== Hardware Highlights ===== | ||
| + | === General information === | ||
| + | ^ Architecture | ||
| + | ^ Vendor | ||
| + | ^ Bootloader | ||
| + | ^ System-On-Chip | ||
| + | ^ CPU Speed | 600 MHz - can be overclocked in the bootloader menu | | ||
| + | ^ Flash size | 128 MiB NAND Flash | | ||
| + | ^ RAM | 128 MiB DDR2 | | ||
| + | ^ Ethernet | ||
| + | ^ | AR8227 - 5x 10/ | ||
| + | ^ Wireless | ||
| + | ^ USB | none or 1x 2.0 microUSB/ | ||
| + | ^ Serial | ||
| + | ^ JTAG | yes | | ||
| + | ^ LCD | none or 2" color touch display (unsupported, | ||
| + | |||
| + | === Per-model details === | ||
| + | <!-- ToH: { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } --> | ||
| + | |||
| + | FIXME This link is dead because of the mailing list failure | ||
| + | [[https:// | ||
| + | |||
| + | [[http:// | ||
| + | |||
| + | [[http:// | ||
| + | |||
| + | === RGMII registers configuration misc info (SFP port) === | ||
| + | FIXME Do we need this? <- Yes, we do, I think. | ||
| + | |||
| + | | 31 | TX_INVERT - Decides whether to select the inversion of the GTX clock after the delay line | | ||
| + | | 30 | GIGE_QUAD - Decides whether to allow a 2 ns shift (clock in the middle of a data transfer) to the GTX clock. This bit is only effective when bit 25 is set | | ||
| + | | 29:28 | RX_DELAY - The delay buffers in the Rx clock path to adjust against the edge/ | ||
| + | | 27:26 | TX_DELAY - Delay line for the GTX clock that goes along with the data | | ||
| + | | 25 | GIGE - Set only after a 1000 Mbps connection has been negotiated | | ||
| + | | 24 | OFFSET_PHASE - Used to select if the start is from the positive or negative phase (or whether to have a 180 degree change in addition to the phase-delay in [11:8]. | | ||
| + | |||
| + | 0x6f: 30 29 27 26 25 24 | ||
| + | 0x3e: 29 28 27 26 25 | ||
| + | |||
| + | === Network ports & switch configuration === | ||
| + | |||
| + | <WRAP warning> | ||
| + | **WARNING**: | ||
| + | It **will** misconfigure your switches! | ||
| + | |||
| + | See for reference: [[https:// | ||
| + | |||
| + | This bug is present in all 19.07 releases at least since August 1st, 2020 up to at least 19.07.10. | ||
| + | |||
| + | You //can// use the page to determine which ports have an active link. Be aware that the Luci display differs from the case labels of the box. | ||
| + | </ | ||
| + | |||
| + | **Display in Luci and corresponding ports:** | ||
| + | |||
| + | //Please note that I leave out the default VLAN configuration here, because the Luci VLAN display is incorrect.// | ||
| + | |||
| + | ^ switch0 || All network ports to the //left// of the 10 LEDs in the middle |||||| | ||
| + | ^ Label in Luci | CPU (eth0) | LAN 1 | LAN 2 | LAN 3 | LAN 4 | SFP | WAN | | ||
| + | ^ Port number in uci | 0 | 2 | 3 | 4 | 5 | 6 | 1 | | ||
| + | ^ Printed on the box | (internal) | ETH2 | ETH3 | ETH4 | ETH5 | SFP | ETH1 | | ||
| + | ^ switch1 || All network ports to the //right// of the 10 LEDs in the middle |||||| | ||
| + | ^ Label in Luci | CPU (eth1) | LAN 1 | LAN 2 | LAN 3 | LAN 4 | LAN 5 | | ||
| + | ^ Port number in uci | 0 | 5 | 4 | 3 | 2 | 1 | | ||
| + | ^ Printed on the box | (internal) | ETH10 | ETH9 | ETH8 | ETH7 | ETH6 | | ||
| + | |||
| + | **Port order as seen physically from left to right on the box and corresponding switch ports:** | ||
| + | |||
| + | ^ Box labels | ||
| + | ^ switch | ||
| + | | ::: | ::: | ::: | ::: | ::: | ::: | ::: | ::: | lower row: 1 | ::: | ::: | ::: | ::: | ::: | | ||
| + | ^ Port number in uci | — | 6 | 1 | 2 | 3 | 4 | 5 | 1…5 left | 5 | 4 | 3 | 2 | 1 | | ||
| + | | ::: | ::: | ::: | ::: | ::: | ::: | ::: | ::: | 5…1 right | ::: | ::: | ::: | ::: | ::: | | ||
| + | ^ Label in Luci | — | SFP | WAN | LAN 1 | LAN 2 | LAN 3 | LAN 4 | WAN … LAN 5 left | LAN 5 | LAN 4 | LAN 3 | LAN 2 | LAN 1 | | ||
| + | | ::: | ::: | ::: | ::: | ::: | ::: | ::: | ::: | LAN 5 … LAN 1 right | ::: | ::: | ::: | ::: | ::: | | ||
| + | | **Default configuration** | ||
| + | | ::: | Power LED always on, unprogrammable | ||
| + | | **VLAN 1** = LAN (proto = static) | ||
| + | | **VLAN 2** = WAN & WAN6 (proto = dhcp/ | ||
| + | | **VLAN 3** = SFP (proto = none) | CPU: 0 tagged | ||
| ===== Installation ===== | ===== Installation ===== | ||
| + | <!-- ToH: { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } --> | ||
| + | |||
| + | FIXME < | ||
| + | |||
| + | FIXME This should be updated for ath79 once the support is merged. | ||
| 1. Setup DHCP Server with TFTP Boot (set your PC to static IP of 192.168.1.0/ | 1. Setup DHCP Server with TFTP Boot (set your PC to static IP of 192.168.1.0/ | ||
| Line 36: | Line 158: | ||
| 5. Logon to OpenWrt netboot | 5. Logon to OpenWrt netboot | ||
| - | 6. (optional) Backup existing RouterOS kernel | + | 6. Sysupgrade the proper Mikrotik sysupgrade.bin. (it's either 64M or huge. You can get the right one by opening up and reading the part # on the tsop48 ic. But, it shouldn' |
| - | You can directly dd to your remote computer from the router. | + | If you make a mistake, repeat netboot and try again. There is a UART on the PCB near the power cable, |
| - | * '' | + | |
| - | * '' | + | |
| - | (NOTE: check ''/ | + | It can be quicker and easier to load ethernet |
| - | (NOTE: This may not 100% backup the device. More testing is needed.) | + | |
| - | 7. Sysupgrade Mikrotik nand-large sysupgrade.bin. | + | If you see ECC errors on the UART (rel. 18 and earlier. Has been fixed in 19.07), refer to this forum post: |
| - | + | ||
| - | If you make a mistake, repeat netboot and try again. There is a UART on the PCB near the power cable, if the netboot works, but the sysupgrade fails for some reason. | + | |
| - | + | ||
| - | If you see ECC errors on the UART, refer to this forum post: | + | |
| https:// | https:// | ||
| + | |||
| + | Users have reported seeing multiple devices corrupt their flash upon the 2nd sysupgrade. When this occurs, the device is only usable in netboot mode. See: https:// | ||
| For more details see: | For more details see: | ||
| - | * [[toh: | ||
| * [[toh: | * [[toh: | ||
| - | |||
| - | ===== Tags ===== | ||
| - | [[meta: | ||
| - | {{tag> | ||