Applies to · DIR-2660-A1 · r19481-a5ac8ad0ba · AdGuard Home 0.107.6-1
What to check
Find the working directory from the process arguments and compare it with the filesystem location of leases.json.
Connect over Ethernet and run the following commands in an SSH session on the router.
mount
ps w | grep '[A]dGuardHome'
for pid in $(pidof AdGuardHome); do readlink "/proc/$pid/cwd"; done
How to interpret the result
Note the working directory, lease file path, and mounted location. After reboot, the path remains the same but the mounted device may change. First check the mount order. If the device is the same and the entries are still present, verify that the DHCP client address in the request matches the reserved entry.
Verify and recover
After a normal restart, renew the test device’s lease and check that it receives its reserved address. If you need to restore lease data, stop the service before restoring its backup to the active data directory.
Related guide · Where to capture packets on OpenWrt when a TCP handshake times out
Comments