I'm trying to install OpenWrt on a Mikrotik device. OpenWrt doesn't come up on 192.168.1.1, and before I look into a serial port, I wanted to make sure I got the sequence right. I pieced the process together from the old wiki and a more recent LEDE commit.
- Boot to RouterOS and set the boot protocol to DHCP (System → Routerboard → Settings → Boot protocol: DHCP)
- Download an initramfs (I used an openwrt-ar71xx-mikrotik-vmlinux-initramfs.elf nightly snapshot)
- Set up a DHCP server that sets options 66 67 to the initramfs and tftp server (I used the dnsmasq example in the wiki)
- Power the device on with the reset button pressed for ~15-20 seconds.
After doing this, I saw dnsmasq assign the device an IP address and report that it sent the initramfs file, but after waiting several minutes, I'm unable to ping 192.168.1.1 (timeout). I'm on the correct subnet when I try to ping.
Couple of notes:
- I don't have another 192.168.1.x device on the network
- The dhcp server and its address pool aren't in the 192.168.1.0/24 subnet.
- I initially didn't change the boot protocol, but the device still requested the initramfs over tftp
- I'm not convinced dnsmasq sets options 66 and 67; dnsmasq and Wireshark pretty print it in a way that never mentions 66 or 67.
Any ideas, or is it time to resort to hooking up a console?
Looking at the diffs that added a similar device, I might have to specifically add it to get the network to come up.