DHCP not working after upgrade to TurrisOS 5.3.3

I have the same problem on my old Turris 1.0 router.
Actual sw: BusyBox v1.30.1 () built-in shell (ash), TurrisOS 5.3.5, Turris 1.x
DHCP doesn’t work and I can’t connect by PC with manual IP 192.168.3.2.
It was working before upgrade to 5.

If dhcp-range is missing after boot then a quick fix is /etc/init.d/dnsmasq restart.

The bug was fixed in dnsmasq: abort dhcp_check on interface state · openwrt/openwrt@aa403a4 · GitHub by changing carrier to up in /etc/init.d/dnsmasq.

If you are using the hbl branch, which has dnsmasq_2.85 then this fix is already included. In hbk with dnsmasq_2.80 this fix is not present yet.

I fixed it for myself by changing the relevant line:

sed -i 's/\(jsonfilter -e @[.]\)carrier/\1up/' /etc/init.d/dnsmasq
3 Likes

I have the same problem since the upgrade from 3.x to 5.x
Haven’t really had time to investigate yet so I put another router on the network to provide DHCP services.