Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
toh:mikrotik:rb133 [2016/08/31 15:19] – [Installation on rb133c (italian)] ^Active^toh:mikrotik:rb133 [2021/10/15 09:06] – ↷ Links adapted because of a move operation bobafetthotmail
Line 1: Line 1:
 +====== Mikrotik RouterBoard RB133 ======
  
 +{{section>meta:infobox:432_warning#infobox_for_dataentries&noheader&nofooter&noeditbutton}}
 +
 +===== Supported Versions =====
 +---- datatable ----
 +cols    : Brand, Model, Versions, Supported Current Rel, OEM device homepage URL_url, OWrt Forum Topic URL_url, Device Techdata_pageid
 +headers : Brand, Model, Version, Current Release, OEM Info, Forum Topic, Technical Data
 +align   : c,c,c,c,c,c,c
 +filter  : Model=RB133
 +----
 +
 +
 +===== Hardware Highlights =====
 +---- datatable ----
 +cols    : Model, Versions, CPU, CPU MHz, Flash MB_mbflashs, RAM MB_mbram, WLAN Hardware, WLAN 2.4GHz, WLAN 5.0GHz, Ethernet 100M ports_, Ethernet Gbit ports_, Modem, USB ports_
 +header  : Model, Version,SoC,CPU MHz,Flash MB,RAM MB,WLAN Hardware,WLAN2.4,WLAN5.0,100M ports,Gbit ports,Modem,USB
 +align   : c,c,c,c,c,c,c,c,c,c,c,c,c
 +filter  : Model=RB133
 +----
 +
 +
 +===== Installation =====
 +
 +:!: See also forum for installation instructions.
 +
 +:!: If you flash OpenWrt from NetBoot facility, you will lose your RouterOS licence.
 +
 +The installation of OpenWrt on this board is only possible by using the NetBoot facility - you will boot into the RAMdisk version of OpenWrt and use it to flash the permanent OpenWrt image into NAND. You will need:
 +
 +  - A serial port (or a USB-RS232 serial converter) and a null modem cable as console (standard serial cable wont work).
 +  - An ethernet port and cable to download the NetBoot kernel and the NAND image.
 +  - A DHCP server to tell the RB1xx where to get it's netboot image (e.g. DnsMasq).
 +  - A [[docs:guide-user:troubleshooting:tftpserver|tftpd server]] to supply the NetBoot image to load a barebone OpenWrt RAMdisk image (e.g. DnsMasq).
 +  - A web server to serve up the [[permanent version]] of the OpenWrt kernel and rootfs (you can use SCP as well).
 +
 +Connect your RouterBoard using both ethernet and null modem cable to a PC.
 +
 +==== Building images ====
 +
 +See [[docs:guide-developer:toolchain:start|official howto]] for more info.
 +
 +:!: If you select the squashfs image, it may take quite a few minutes for the device to power on.
 +
 +You will have to run the building process twice, because you will need both RAMdisk image and stock OpenWrt kernel+rootfs.
 +
 +Build profile should be:
 +  * Target System: 
 +  * Target Profile: 
 +
 +To install openwrt on mikrotik rb133c a serial null modem cable is required on the local machine , an Ethernet cable , in addition to the proper functioning of a tftp and dhcp server on the local machine .
 +
 +If the rb133c has already mounted openwrt you can directly go to the " Writing nand "
 +
 +==== booting from ethernet ====
 +
 +
 +Once you have connected the serial cable and ethernet between rb133c and the local PC and you enable the tftp and dhcp server , copy the vmlinux file in the appropriate TFTP server root and start the serial console .
 +
 +    minicom -d / dev / ttyUSB0 115200
 +
 +then access to the serial console terminal , connect the rb133c power and press any key to blocccare the boot sequence .
 +
 +<code>
 +RouterBOOT booter 2.18 
 +RouterBoard 133C CPU frequency : 175 MHz  
 +Memory size:  16 MB
 +...
 +Press any key within 2 seconds to enter setup.
 +...
 +your choice: e - format nand
 +Do you realy want to format your nand?
 +that would result in losing all your data
 +type &quot;yes&quot; to confirm: yes
 +formatting nand... done!
 +...
 +your choice: p - boot protocol
 +Choose which boot protocol to use:
 +   1 - bootp protocol
 +   2 - dhcp protocol
 +your choice: 2 - dhcp protocol
 +...
 +your choice: o - boot device
 +Select boot device:
 +   e - boot over Ethernet
 +   n - boot from NAND, if fail then Ethernet
 +   1 - boot Ethernet once, then NAND
 +   o - boot from NAND only
 +   b - boot chosen device
 +your choice: n - boot from NAND, if fail then Ethernet
 +...
 +your choice: x - exit setup
 +...
 +trying dhcp protocol.... OK
 +resolved mac address 00:26:B9:03:BC:3B
 +Gateway: 10.42.0.1
 +transfer started .............................. transfer ok, time=2.47s
 +setting up elf image... OK
 +...
 +</code>
 +
 +==== Writing nand ====
 +
 +If you already have in rb133c openwrt you can upgrade the firmware via ssh , or even by serial console .
 +
 +  root@OpenWrt:/# mkdir /mnt/kernel ; mount /dev/mtdblock2 /mnt/kernel
 +  yaffs: dev is 32505858 name is &quot;mtdblock2&quot;
 +  yaffs: passed flags &quot;&quot;
 +  yaffs: Attempting MTD mount on 31.2, &quot;mtdblock2&quot;
 +  root@OpenWrt:/# mkdir /mnt/rootfs ; mount /dev/mtdblock3 /mnt/rootfs
 +  yaffs: dev is 32505859 name is &quot;mtdblock3&quot;
 +  yaffs: passed flags &quot;&quot;
 +  yaffs: Attempting MTD mount on 31.3, &quot;mtdblock3&quot;
 +  root@OpenWrt:/# passwd
 +  Changing password for root
 +  New password:
 +  Retype password:
 +  Password for root changed by root
 +
 +Now back to your local machine , disable the DHCP server , then :
 +
 +  sudo ifconfig eth0 192.168.1.10 netmask 255.255.255.0 up
 +  scp openwrt-adm5120-rb1xx-vmlinux.elf root@192.168.1.1:/mnt/kernel/kernel
 +  scp openwrt-adm5120-rb1xx-rootfs.tar.gz root@192.168.1.1:/mnt/rootfs
 +
 +Then return in the serial console to decompress the rootfs and restart the rb133c .
 +
 +  root@OpenWrt:/# cd /mnt/rootfs/
 +  root@OpenWrt:/mnt/rootfs# gunzip openwrt-adm5120-rb1xx-rootfs.tar.gz
 +  root@OpenWrt:/mnt/rootfs# tar xf openwrt-adm5120-rb1xx-rootfs.tar 
 +  root@OpenWrt:/mnt/rootfs# rm openwrt-adm5120-rb1xx-rootfs.tar
 +  root@OpenWrt:~# reboot
 +
 +At this point the rb133c should listen to telnet to 192.168.1.1 .
 +
 +
 +=== Linux howto ===
 +
 +
 +=== Windows howto ===
 +
 +:!: Disable ANY firewall on your PC.
 +
 +  - Download [[http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html|Putty]], run it, select Connection type: **Serial**, Serial line: **COMx** (x = number, depends on your configuration), Speed: **115200**, and Open.
 +
 +
 +===== Wireless =====
 +
 +Atheros-based card are supported. The device doesn't work with Broadcom cards, since kmod-ssb causes kernel panic at startup. 
 +
 +===== Hardware info =====
 +^ Architecture        | MIPS                                                                  |
 +^ Vendor              | MikroTik, ADMtek (Infineon)                                           |
 +^ Bootloader          | RouterBOOT                                                            |
 +^ System-On-Chip      | ADM5120 (Little Endian)                                               |
 +^ CPU Speed           | 175 Mhz                                                               |
 +^ Flash size          | 64/128 MiB                                                            |
 +^ RAM                 | 32 MiB SDRAM (16 MiB on RB133C)                                       |
 +^ Wireless            | 3x Type III miniPCI slot (1x on RB133C)                               |
 +^ Ethernet            | 3 x 10/100 Base-TX Ethernet Ports (with Auto MDI/MDIX) (1 on RB133C)  |
 +^ USB                 | no                                                                    |
 +^ Serial              | yes                                                                   |
 +^ JTAG                | no?                                                                   |
 +
 +
 +===== Useful sources =====
 +
 +  * [[http://www.routerboard.sk/files/pdf/rb133&133c_manual.pdf|RouterBoard 133 series user's manual (pdf)]] \\
 +  * [[http://rb1xx.ozo.com/|rb1xx.ozo.com]]
 +
 +===== Tags =====
 +[[meta:tags|How to add tags]]
 +{{tag>ADM5120 FastEthernet 1NIC 3WNIC 3Port 32RAM 64Flash gt32flash MIPS MIPS32 4Kc}}
  • Last modified: 2024/02/12 08:58
  • by 127.0.0.1