Nachádzate sa tu

Mikrotik RouterBoard - OpenWRT install via TFTP

Download Tftpd64 installer.
http://tftpd32.jounin.net/tftpd32_download.html
Install Tftpd64.

Mikrotik RouterBoard RB750r2 (hEX lite)
Download
Firmware OpenWrt Install: openwrt-18.06.2-ar71xx-mikrotik-rb-nor-flash-16M-initramfs-kernel.bin
Firmware OpenWrt Upgrade: openwrt-18.06.2-ar71xx-mikrotik-rb-nor-flash-16M-squashfs-sysupgrade.bin
https://openwrt.org/toh/mikrotik/rb750_r2

Set DHCP IP for PC:
netsh interface ip set dns "Ethernet" dhcp
netsh interface ip set address "Ethernet" dhcp
pause

Connect cable to LAN2-5

Turn on Mikrotik board.

Router OS is on IP:192.168.88.1
winbox.exe
System->Routerboard->Settings
Boot Device: try-ethernet-once-then-nand
Boot Protocol: dhcp
Force Backup Booter: checked
Apply, OK
System->Shutdown
Now turn off the Mikrotik board.
After start it should boot from the labeled LAN1(Internet port) port only once.

Prepare folder MikrotikOpenwrt with file:
for example: openwrt-18.06.2-ar71xx-mikrotik-rb-nor-flash-16M-initramfs-kernel.bin

Set static IP for PC:
192.168.1.2
255.255.255.0
192.168.1.1
Bat file: netsh interface ip set address "Ethernet" static 192.168.1.2 255.255.255.0 192.168.1.1
pause

Run Tftpd64 as admin
Settings

GLOBAL tab
TFTP Server, DHCP Server

TFTP tab
Base Directory: C:\Users\user\Desktop\MikrotikOpenwrt
TFTP Security: None
PXE Compatibility: checked
Binde TFTP to this address: 192.168.1.2
Allow "\" As virtual root

DHCP tab
IP pool start address: 192.168.1.3
Size of pool: 4
Lease: 90
Boot File: openwrt-18.06.2-ar71xx-mikrotik-rb-nor-flash-16M-initramfs-kernel.bin
DHCP Options
Def. router: 192.168.1.1
Mask: 255.255.255.0
DNS Servers: 192.168.1.1

OK, restart Tftpd64 as admin

Connect cable to Mikrotik LAN1(Internet port)
power up Mikrotik

Mikrotik gets IP: 192.168.1.3 from Tftpd64
restart Tftpd64

After restart Tftpd64, Tftp Server sends the Boot File.
Close Tftpd64, mikrotik has OpenWRT on IP: 192.168.1.1 on LAN2-5.

Remove cable from LAN1(Internet port)

Set DHCP IP for PC:
netsh interface ip set dns "Ethernet" dhcp
netsh interface ip set address "Ethernet" dhcp
pause

Connect cable to LAN2-5
PC gets IP: 192.168.1.0/24
OpenWRT is on IP: 192.168.1.1
Powered by LuCI openwrt-18.06 branch (git-19.020.41695-6f6641d) / OpenWrt 18.06.2 r7676-cddd7b4c77

Flash OpenWRT to Mikrotik board.
Login to router 192.168.1.1
System->Backup / Flash Firmware
Flash new firmware image
Image: openwrt-18.06.2-ar71xx-mikrotik-rb-nor-flash-16M-squashfs-sysupgrade.bin
Flash image.
Done when LAN2 port is off and web interface is restarted.
Change LAN IP if necessary.
Done.