DHCP leases not displaying in dashboard
Installed Amahi as per wiki. Downloaded no updates during install. Then installed Amahi.
Amahi is dishing out DHCP leases as tested by turning off the DCHP on router.
Checking the output of ls -l on /var/lib/dhcp/
-rw-r--r-- 1 root root 0 Apr 25 17:04 dhclient.leases -rw-r--r-- 1 dhcpd dhcpd 4609 Sep 24 19:25 dhcpd.leases -rw-r--r-- 1 dhcpd dhcpd 4200 Sep 24 19:02 dhcpd.leases~
Leases are being shown in the files themselves, but no leases show up in dashboard.
#8 Updated by atomic over 8 years ago
I have installed amahi on Ubuntu after using amahi on Fedora for 2 years. The dhcp appears to all be working OK including the static IP address options but the dhcp leases do not show on the dashboard. Sounds the same as what's being discussed.
I have been looking into this and based on what other uses have said I have managed to get some data displayed on the dashboard. To get some data displayed I made a new directory \var\lib\dhcp3 and within this directory made a link to \var\lib\dhcp\dhcp.leases. This did work, it did update but has only created a sanpshot from the time I created this link.
Hope this helps and I can test and provide more info if necessary.
#13 Updated by bigfoot65 over 8 years ago
- Status changed from Closed to Assigned
Reopening this bug as the issue has come back. It appears that 12.04.1 does not have the lease file stored in /var/lib/dhcp3. It is in /var/lib/dhcp and called dhcpd.leases.
A simple work around is to do the following:
sudo mkdir dhcp3
sudo ln -s /var/lib/dhcp/dhcpd.leases /var/lib/dhcp3/dhcpd.leases
Also available in: Atom