Emil
February 23, 2022, 11:38pm
34
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.
root@turris:/# ss -naptul
Netid State Recv-Q Send-Q Local Address:Port Peer Address:Port
udp UNCONN 0 0 0.0.0.0:53 0.0.0.0:* users:((“unbound”,pid=6388,fd=3))
udp UNCONN 0 0 0.0.0.0:67 0.0.0.0:* users:((“dnsmasq”,pid=4073,fd=4))
udp UNCONN 0 0 192.168.2.20:5353 0.0.0.0:* users:((“foris-controlle”,pid=4734,fd=15))
udp UNCONN 0 0 127.0.0.1:5353 0.0.0.0:* users:((“foris-controlle”,pid=4734,fd=14))
udp UNCONN 0 0 10.111.222.1:5353 0.0.0.0:* users:((“foris-controlle”,pid=4734,fd=13))
udp UNCONN 0 0 0.0.0.0:5353 0.0.0.0:* users:((“foris-controlle”,pid=4734,fd=10))
udp UNCONN 0 0 :53 : users:((“unbound”,pid=6388,fd=5))
udp UNCONN 0 0 [::1]:514 : users:((“syslog-ng”,pid=4209,fd=12))
udp UNCONN 0 0 :546 : users:((“odhcp6c”,pid=4781,fd=4))
tcp LISTEN 0 128 0.0.0.0:53 0.0.0.0: users:((“unbound”,pid=6388,fd=4))
tcp LISTEN 0 128 0.0.0.0:22 0.0.0.0: users:((“sshd”,pid=4174,fd=3))
tcp LISTEN 0 100 127.0.0.1:9080 0.0.0.0:* users:((“foris-ws”,pid=4582,fd=9))
tcp LISTEN 0 128 127.0.0.1:8953 0.0.0.0:* users:((“unbound”,pid=6388,fd=7))
tcp LISTEN 0 128 0.0.0.0:443 0.0.0.0:* users:((“lighttpd”,pid=4762,fd=5))
tcp LISTEN 0 100 127.0.0.1:11883 0.0.0.0:* users:((“mosquitto”,pid=4546,fd=5))
tcp LISTEN 0 128 0.0.0.0:80 0.0.0.0:* users:((“lighttpd”,pid=4762,fd=7))
tcp LISTEN 0 128 [::]:53 [::]:* users:((“unbound”,pid=6388,fd=6))
tcp LISTEN 0 128 [::]:22 [::]:* users:((“sshd”,pid=4174,fd=4))
tcp LISTEN 0 128 [::]:443 [::]:* users:((“lighttpd”,pid=4762,fd=6))
tcp LISTEN 0 128 :6144 : users:((“domoticz”,pid=5378,fd=17))
tcp LISTEN 0 100 [::1]:11883 [::]: users:((“mosquitto”,pid=4546,fd=4))
tcp LISTEN 0 128 :8080 : users:((“domoticz”,pid=5378,fd=12))
tcp LISTEN 0 128 [::]:80 [::]: users:((“lighttpd”,pid=4762,fd=4))
root@turris:/#
paulto
May 23, 2022, 3:36pm
35
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
ccdi
May 29, 2022, 8:16pm
36
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.