Differences

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

toh:mikrotik:rb133 [2013/01/14 22:17]
awm1
toh:mikrotik:rb133 [2014/04/16 21:07] (current)
danitool
Line 29: Line 29:
  - A DHCP server to tell the RB1xx where to get it's netboot image (e.g. DnsMasq).   - A DHCP server to tell the RB1xx where to get it's netboot image (e.g. DnsMasq).
  - A TFTPD server to supply the NetBoot image to load a barebone OpenWrt RAMdisk image (e.g. DnsMasq).   - A 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).+  - A web server to serve up the [[permanent version] http://moverslos-angeles.net/] 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. Connect your RouterBoard using both ethernet and null modem cable to a PC.
Line 44: Line 44:
  * Target System:   * Target System:
  * Target Profile:   * Target Profile:
 +
 +==== Installation on rb133c (italian) =====
 +
 +Per installare openwrt sulla mikrotik rb133c è necessario un cavo seriale nullmodem collegato alla macchina locale, un cavo ethernet, oltre al corretto funzionamento di un server tftp e dhcp sulla macchina locale.
 +
 +Nel caso la rb133c abbia già montato openwrt è possibile passare direttamente alla sezione "scrittura della nand"
 +
 +===== boot da ethernet =====
 +
 +Dopo aver collegato cavo seriale ed ethernet tra la rb133c ed il pc locale ed aver abilitato il server tftp e dhcp, copiare il file vmlinux opportuno nella root del server tftp e lanciare la console seriale.
 +
 +* minicom -D /dev/ttyUSB0 115200
 +
 +quindi accedere al terminale della console seriale, collegare la rb133c all'alimentazione e premere un tasto per blocccare la sequenza di boot.
 +
 +
 +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 "yes" 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
 +...
 +
 +===== scrittura della nand =====
 +
 +Se nella rb133c è già presente openwrt è possibile upgradare il firmware direttamente via ssh, oppure anche da console seriale.
 +
 +root@OpenWrt:/# mkdir /mnt/kernel ; mount /dev/mtdblock2 /mnt/kernel
 +yaffs: dev is 32505858 name is "mtdblock2"
 +yaffs: passed flags ""
 +yaffs: Attempting MTD mount on 31.2, "mtdblock2"
 +root@OpenWrt:/# mkdir /mnt/rootfs ; mount /dev/mtdblock3 /mnt/rootfs
 +yaffs: dev is 32505859 name is "mtdblock3"
 +yaffs: passed flags ""
 +yaffs: Attempting MTD mount on 31.3, "mtdblock3"
 +root@OpenWrt:/# passwd
 +Changing password for root
 +New password:
 +Retype password:
 +Password for root changed by root
 +
 +A questo punto tornare sulla macchina locale, disabilitare il server dhcp, poi:
 +
 +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
 +
 +Quindi tornare nella console seriale per decomprimenre la rootfs e riavviare la 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
 +
 +A questo punto la rb133c dovrebbe essere in ascolto in telnet all'indirizzo 192.168.1.1.
 +
==== Linux howto ==== ==== Linux howto ====
Line 57: Line 143:
===== Wireless ===== ===== Wireless =====
-Atheros-based card are supported. The device doesn't work with Broadcom cards, since kmod-ssb causes kernel panic at startup. +Atheros-based card are supported. The device doesn't work with [[Broadcom]http://moverslos-angeles.net/] cards, since kmod-ssb causes kernel panic at startup.
===== Useful sources ===== ===== Useful sources =====
Line 65: Line 151:
  *[[http://www.routerboard.sk/files/pdf/rb133&133c_manual.pdf|RouterBoard 133 series user's manual (pdf)]] \\   *[[http://www.routerboard.sk/files/pdf/rb133&133c_manual.pdf|RouterBoard 133 series user's manual (pdf)]] \\
  *[[http://rb1xx.ozo.com/|rb1xx.ozo.com]]   *[[http://rb1xx.ozo.com/|rb1xx.ozo.com]]
 +
 +===== Tags =====
 +For some Help with the Tags, please have a look here: [[meta/tags]]
 +
 +{{tag>ADM5120 FastEthernet 1NIC 3WNIC 3Port 32RAM 64Flash MIPS MIPS32 4Kc}}

Back to top

toh/mikrotik/rb133.1358198231.txt.bz2 · Last modified: 2013/01/14 22:17 by awm1