Diferenças
Esta página mostra as diferenças entre as duas revisões da página.
Ambos os lados da revisão anterior Revisão anterior Próxima revisão | Revisão anterior | ||
routerboard433 [2009/04/12 23:11] jm |
routerboard433 [2020/09/16 01:35] (Atual) |
||
---|---|---|---|
Linha 1: | Linha 1: | ||
==== Mikrotik Routerboard 433 ==== | ==== Mikrotik Routerboard 433 ==== | ||
+ | |||
+ | |||
+ | * [[http:// | ||
+ | |||
+ | Esta board vem pré-instalada com " | ||
+ | |||
+ | Para passar a correr OpenWRT, é necessário [[routerboard433-kbuild|construir]] um kernel específico para o " | ||
O kernel é carregado por tftp, e é necessário um dhcpd para configurar o acesso ao tftp pela board e indicar o kernel. | O kernel é carregado por tftp, e é necessário um dhcpd para configurar o acesso ao tftp pela board e indicar o kernel. | ||
Linha 23: | Linha 30: | ||
</ | </ | ||
- | Com o dhcpd configurado e o kernel certo acessível por tftp, escolhemos como "boot device" | + | Com o dhcpd configurado e o kernel certo acessível por tftp, escolhemos como "boot device" |
< | < | ||
Linha 37: | Linha 44: | ||
trying bootp protocol.... OK | trying bootp protocol.... OK | ||
Got IP address: 10.0.1.29 | Got IP address: 10.0.1.29 | ||
- | resolved mac address 00:01:80:60:9E:2D | + | resolved mac address 00:01:80:FF:FF:FF |
transfer started .............................. transfer ok, time=3.29s | transfer started .............................. transfer ok, time=3.29s | ||
setting up elf image... OK | setting up elf image... OK | ||
Linha 169: | Linha 176: | ||
* 10 oz lime juice Salute! | * 10 oz lime juice Salute! | ||
| | ||
+ | root@OpenWrt:/# | ||
+ | </ | ||
+ | === Carregar OpenWRT para o NAND === | ||
+ | |||
+ | < | ||
+ | cd /tftpboot | ||
+ | wget http:// | ||
+ | wget http:// | ||
+ | </ | ||
+ | |||
+ | Com o kernel e o arquivo do root filesystem acessiveis por http: | ||
+ | |||
+ | < | ||
+ | root@OpenWrt:/# | ||
+ | udhcpc (v1.11.3) started | ||
+ | Sending discover... | ||
+ | Sending select for 10.0.1.29... | ||
+ | Lease of 10.0.1.29 obtained, lease time 7200 | ||
+ | Erasing filesystem... | ||
+ | nand_erase: attempt to erase a bad block at page 0x00010f20 | ||
+ | nand_erase: attempt to erase a bad block at page 0x00019320 | ||
+ | Mounting / | ||
+ | yaffs: dev is 32505858 name is " | ||
+ | yaffs: passed flags "" | ||
+ | yaffs: Attempting MTD mount on 31.2, " | ||
+ | yaffs: auto selecting yaffs1 | ||
+ | yaffs: block 1913 is marked bad | ||
+ | block 1914 is bad | ||
+ | yaffs: block 2969 is marked bad | ||
+ | block 2970 is bad | ||
+ | yaffs_read_super: | ||
+ | yaffs: dev is 32505857 name is " | ||
+ | yaffs: passed flags "" | ||
+ | yaffs: Attempting MTD mount on 31.1, " | ||
+ | yaffs: auto selecting yaffs1 | ||
+ | yaffs_read_super: | ||
+ | Erasing existing files... | ||
+ | rm: cannot remove '/ | ||
+ | Copying filesystem... | ||
+ | Connecting to 10.0.1.21 (10.0.1.21: | ||
+ | - 0% | | ||
+ | ./sys/ | ||
+ | ./tmp/ | ||
+ | |||
+ | ...< | ||
+ | |||
+ | ./ | ||
+ | ./root/ | ||
+ | Connecting to 10.0.1.21 (10.0.1.21: | ||
+ | kernel | ||
+ | save exit: isCheckpointed 0 | ||
+ | save exit: isCheckpointed 0 | ||
+ | kernel | ||
+ | bin | ||
+ | www | ||
+ | dev | ||
+ | etc | ||
+ | 0m var | ||
+ | Image written, you can now reboot. | ||
root@OpenWrt:/# | root@OpenWrt:/# | ||
</ | </ |