anaelorlinski / OpenWrt-NanoPi-R2S-R4S-Builds

OpenWRT Builds for NanoPi R2S & R4S from official Openwrt source code with minimal set of patches
MIT License
170 stars 57 forks source link

dnsmasq is built with HAVE_BROKEN_RTC, leading to Lease Time remaining always showing 'expired' #4

Closed semicuda closed 3 years ago

semicuda commented 3 years ago

Currently Luci in 21.02 is expecting dhcp.leases to have an actual timestamp in the first column, otherwise all leases will show up as expired. Your config is building dnsmasq with HAVE_BROKEN_RTC, which puts the lease duration in seconds in the first column, never updating it to reflect the remaining time. To fix this, you'll need to remove this in your seed files:

CONFIG_PACKAGE_dnsmasq_full_broken_rtc=n

Otherwise, thanks for your great work... running perfectly fine on an r4s as main router!

anaelorlinski commented 3 years ago

Fixed in latest build. Thanks for reporting!