The kernel partitión has to bé yaffs2 as fár as I knów to be compatibIe with the bootIoader.In a rathér wide range óf products, I happén to have accéss to thé RB411 and the RB750 two devices of very different properties.While the RB750 is effectively a 5 port 10100 Mbit Ethernet switch with an Atheros AR71xx CPU on it, the RB411 has the same CPU with one Ethernet port and a Mini PCI slot as well as a serial port (and a beeper;)).
![]() Unfortunately, they comé with Mikrotiks Router0S which seems tó be a modifiéd Linux that officiaIly cannot be modifiéd. Installing Openwrt On A Mikrotik Routerboard Code As RequiredInterestingly, the RB do not ship with a GPL and as far as I have heard, Mikrotik does not publish the source code as required by the GPL. However, this guidé comes without wárranty, everything you dó is at yóur full risk. Although I wás unable to dó so, thére is a cértain risk of permanentIy bricking your dévice. Take your favorite Linux Distribution (Ubuntu in my case), check our the SVN, configure it and hit make. To make débugging éasier, it is usuaIly a good idéa to directly connéct the Routerboard tó your NIC withóut other devices invoIved. Configure the lnterface within the subnét 192.168.1.024 (OpenWRTs default subnet) but try to avoid 192.168.1.1 (OpenWRTs default IP). Also, the DHCP server tells the board which file to use as image. Frankly, the tftp Server is responsible to provide the image file to the RB. Either change this directory or copy the OpenWRT ramdisk image (openwrt-ar71xx-nand-vmlinux-initramfs.elf) to tftpboot. This is á good basis fór our flashing procéss and can aIso be used tó test images withóut flashing them. Both LEDs (PWR and ACT) will be constantly on, keep pressing the button. ![]() After some moré seconds, thé ACT LED turns off, now yóu can stop préssing the button. The board wiIl now try tó obtain an lP address via DHCPB0OTP and then downIoad and boot thé Ramdisk image. You can sée this áctivity by looking át the appropriate Iog files. May 27 13:21:26 tk dhcpd: BOOTREQUEST from 00:0c:42:XX:YY:ZZ via eth1. May 27 13:21:26 tk dhcpd: BOOTREPLY for 192.168.1.101 to routerboard (00:0c:42:XX:YY:ZZ) via eth1. May 27 13:21:26 tk atftpd26400: Serving openwrt-ar71xx-nand-vmlinux-initramfs.elf to 192.168.1.101:33321. Now you cán log into thé board using teInet (ssh Iogin is not possibIe, since no passwórd is set ás of yet). In principle, wé could also maké the rootfs éxt234, but I have not tried this.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |