SYSTEM WARNING: 'date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone.' in '/usr/share/mantis/www/core.php' line 264
Notes |
|
|
An option to clear all dynamic leases regardless of age would also be much appreciated. |
|
|
|
Hi gmar_87,
In "Services" >> "DHCP serer", if you click on the "+" sign, you should be able to set the leases for the DHCP ...
Does a reconfiguration of these setup solve the problem?
Thanks in advance!
Lo |
|
|
|
Hi Lo,
I have tried re-entering the configuration and saving settings but an old lease is still shown. Here is my dhcpd.conf, minus the fixed leases i have setup:
******dhcpd.conf******
ddns-update-style none;
deny bootp;
authoritative;
option wpad code 252 = text;
shared-network GREEN {
interface br0;
server-identifier 10.1.1.1;
subnet 10.1.1.0 netmask 255.255.255.0 {
pool {
deny dynamic bootp clients;
range 10.1.1.50 10.1.1.60;
}
default-lease-time 3600;
max-lease-time 7200;
option subnet-mask 255.255.255.0;
option domain-name "GMAR";
option routers 10.1.1.1;
option wpad "http://10.1.1.1/proxy.pac"; [^]
option domain-name-servers 10.1.1.1;
******dhcpd.conf******
As you can see, the max lease time is 120 minutes. After 120 minutes the lease still appears on this page, but the "Lease expires (local time d/m/y)" column shows and strike through the time stamp. See screenshot attached. |
|
|
|
Hi gmar_87,
I can confirm that the leases stay there even when expired; I think that this aspect should be improved :-)
Thanks for providing this hint to us!
Lo |
|
|
|
Hi guys to clear the dhcp lease information just remove the file "dhcp lease" and "dhcp lease~" in "/var/lib/dhcp". And refresh the web interface.... |
|