Project

General

Profile

Bug #810

DHCP leases not showing

Added by Lincee over 9 years ago. Updated over 9 years ago.

Status:
New
Priority:
Medium
Assignee:
-
Category:
-
Target version:
-
Start date:
04/16/2011
Due date:
% Done:

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 over 9 years ago

here's the paste from the dhcp.leases file

http://paste.debian.net/hidden/34d95860/

#2 Updated by cpg over 9 years ago

  • Project changed from ubuntu to platform
  • Category deleted (platform)
  • Target version deleted (Amahibuntu 1.0)

#3 Updated by eFfeM over 9 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 over 9 years ago

additonal info: made the symlink on ubuntu and then it works fine
preferably add this to platform

Also available in: Atom