MikroTik RB751G-2HnD: Install via TFTP (dnsmasq)

Hi Guys,

I'm new here and I need your help. :slight_smile:

Hardware:
Server: Ubuntu 18.04 LTS with dnsmasq
Router: MikroTik RB751G-2HnD

I've started dnsmasq with following command:

dnsmasq -i enp3s0 --dhcp-range=192.168.1.64,192.168.128 \
--dhcp-boot=openwrt-ar71xx-mikrotik-vmlinux-initramfs.elf \
--enable-tftp --tftp-root=/srv/tftp/ -d -u nobody -p0 -K \
--log-dhcp --bootp-dynamic \
--dhcp-host=d4:ca:6d:94:20:d3,192.168.1.96

The MirkoTik is getting a DHCP address and the initramfs file is sent to it. BUT after uploading file, the MikroTik seems to reboot instead of starting from initramfs file.

Any idea what's going wrong here?

Thanks a lot for your help!

The problem is fixed - the initramfs file at openwrt hardware data page was wrong.

WRONG: openwrt-19.07.1-ar71xx-mikrotik-vmlinux-initramfs.elf
RIGHT: openwrt-19.07.1-ar71xx-mikrotik-nand-64m-initramfs-kernel.bin

I tried to post my workaround here, but I'm a new user and not allowed to post more than 2 links here (and seemingly filenames too).
I used dnsmasq at Ubuntu 18.04 LTS and it was working like a charm.

If anyone needs my howto, please send me a message...

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.