DHCP leases not showing
The Amahi platform on Debian 6.0.1a hands out DHCP leases on the network, but does not show them on the dhcp tab.
this is probably due to /var/lib/dhcp/dhcpd.leases not beeing read (correctly)
#3 Updated by eFfeM over 10 years ago
- Assignee deleted (
This might be because the leases file is rw------- on my system (whereas it originally was rw-r--r--)
Can you best by doing a chmod 644 on the dhcpd.leases file and see if that changes thing?
BTW this will also fail on ubuntu becuase in ubuntu the leases are in /var/lib/dhcp3/dhcpd.leases whereas debian and fc14 have the leases in /var/lib/dhcp/dhcpd.leases
Solution is here:
change ./html/lib/leases.rb: and make LEASEFILE = "/var/lib/dhcpd/dhcpd.leases" platform dependent
or on ubuntu
make a symlink /var/lib/dhcp which links to /var/lib/dhcp3
Also available in: Atom