I've been working on setting up a XR500 with docker to run logitech media server for my squeezeboxes, using a tetherd iphone as my internet. I got docker with an ssd, extended overlay partition configured running downstream of my primary router (192.168.2.1) with a static ip and dhcp off. I then added the phone as a wan connection. When I tried to set it up as the primary router and changed its ip and turned on dhcp, I could not get dhcp to work.
I reset to factory and instead connected the wan port to my router and left the unit set to 192.168.1.1 and dhcp on. Halfway through reconfiguring it dhcp stops working again. I've reduced it to (trying to get to the fewest steps to break dhcp)
factory reset
set password
add ssh key
set router name
set timezone
ssh into router
opkg update
opkg remove wpad-basic-mbedtls
opkg install wpad-wolfssl pbr mesh11sd
At this point I can reboot or power cycle and dhcp still works
After power cycle
ssh into router again
opkg update
opkg install luci-app-pbr
Cycle power at this point and dhcp no longer functions.
What am I doing wrong, or what am I missing?