Installing Openwrt On A Mikrotik Routerboard

Help on Restoring RouterOS on RB951G-2HnD. Thu Jul 23, 2020 11:13 am. Hello Every Body.

For a very long time, the gigabit switch did not work properly in OpenWrt for some versions of the SoC (see History below). As of March 2020, this is now fixed in master and in the 19.07 branch, and the fix is part of the 19.07.3 release. Run Linux On Your RouterBoard Anthony, who accomplished this hack, was kind enough to let me repost it here. It seems he has found a way to run Debian linux on his RB433AH, and he was kind enough to show us all how it is done.

The instructions for installing Commotion on MikroTik devices are much more complicated than those for Ubiquiti or TP-Link hardware. Copy the file openwrt-ar71xx-mikrotik-vmlinux-initramfs-lzma.elf to a clean directory like /tftproot/. Rename the file to vmlinux (this helps when testing other images). Netboot via BOOTP/TFTP. Yes mikrotik is a very good os but it has its limitations to it aswell becouse at mikrotik thay look into it but if thay see no use for it thay wont work on a way to add it like me i like to have sqlite on my board and thats why i use openwrt now!it takes a lot to get it up and working but at the end its worth all the trubles.

RouterFor the lazy one or those who just want to try it out:
Mikrotikopenwrt trunk - ATTITUDE ADJUSTMENT (bleeding edge, r28279)
download
ftp://ftp.drivehq.com/routerboard/openw ... tramfs.elf
setup an tftp/bootp server
linux (as root):
#>
ifconfig eth0 192.168.1.99
dnsmasq -i eth0 --dhcp-range=192.168.1.100,192.168.1.200
--dhcp-boot=openwrt-ar71xx-nand-vmlinux-initramfs.elf
--enable-tftp --tftp-root=/tftp/ -d -u test -p0 -K --log-dhcp --bootp-dynamic
telnet or ssh into the RouterBoard and change to boot once over tftp:
#>
/system routerboard settings set boot-device=try-ethernet-once-then-nand
reboot and load tftp-image
connect the ethernet cable to eth1/wan port
disconnect and reconnect the powercable
wait until the led stops flashing
telnet into ramfs-image
connect the ethernet cable to eth2/lan port (or any other 2-5)
#>
telnet 192.168.1.1
now you can try everything out until you proceed to the next step
flash openwrt on the routerboard
WARNING this will override RouterOS and permanently install OpenWRT
it will also void you warranty and delete all data on the rootfs (it still keeps the bootloader and licences)

(in openwrt)
#>
wget2nand ftp://ftp.drivehq.com/routerboard/openwrt
install software
(in openwrt)
#>
opkg update
opkg list (install packages)
opkg install luci (for web-interface if you need it)
opkg install [any other software]
passwd (after it you can use ssh to login)
I testet it on RB450G and it work well
QFor the lazy one or those who just want to try it out:
openwrt trunk - ATTITUDE ADJUSTMENT (bleeding edge, r28279)
download
ftp://ftp.drivehq.com/routerboard/openw ... tramfs.elf
setup an tftp/bootp server
linux (as root):
#>
ifconfig eth0 192.168.1.99
dnsmasq -i eth0 --dhcp-range=192.168.1.100,192.168.1.200
--dhcp-boot=openwrt-ar71xx-nand-vmlinux-initramfs.elf
--enable-tftp --tftp-root=/tftp/ -d -u test -p0 -K --log-dhcp --bootp-dynamic
telnet or ssh into the RouterBoard and change to boot once over tftp:
#>
/system routerboard settings set boot-device=try-ethernet-once-then-nand
reboot and load tftp-image
connect the ethernet cable to eth1/wan port
disconnect and reconnect the powercable
wait until the led stops flashing

Mikrotik Routerboard Configuration

telnet into ramfs-image
connect the ethernet cable to eth2/lan port (or any other 2-5)
#>
telnet 192.168.1.1
now you can try everything out until you proceed to the next step
flash openwrt on the routerboard
WARNING this will override RouterOS and permanently install OpenWRT
it will also void you warranty and delete all data on the rootfs (it still keeps the bootloader and licences)

(in openwrt)
#>
wget2nand ftp://ftp.drivehq.com/routerboard/openwrt
install software
(in openwrt)
#>
opkg update
opkg list (install packages)
opkg install luci (for web-interface if you need it)

OpenWrt Project: Mikrotik RouterBoard RB951G-2HnD


opkg install [any other software]
passwd (after it you can use ssh to login)

OpenWrt Project: MikroTik RB750Gr3

I testet it on RB450G and it work well

Installing OpenWrt On A Microtik Routerboard RB433 - Ixs ...


Routerboard 411 Users Manual

Q