Bug #810
DHCP leases not showing
0%
Description
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)
History
#1 Updated by Lincee almost 10 years ago
here's the paste from the dhcp.leases file
#2 Updated by cpg almost 10 years ago
- Project changed from ubuntu to platform
- Category deleted (
platform) - Target version deleted (
Amahibuntu 1.0)
#3 Updated by eFfeM almost 10 years ago
- Assignee deleted (
eFfeM)
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
#4 Updated by eFfeM almost 10 years ago
additonal info: made the symlink on ubuntu and then it works fine
preferably add this to platform
Also available in: Atom