I configured a wifi access point based on OpenWRT to limit the number of clients to 4 at the same time. For that purpose I gave a limited number (4) IP addresses leaseable by DHCP. After a period of time (say one hour), I want to force clients to be disconnected and I change the password for wifi credential but I want to be sure that the leases are renewed for new clients and are not still active for the 4 previous mac addresses.
My first question is how to clear the existing leases to enable new client connections in my case? I suppose that deleting the dhcpd.leases
file removes the information, but that file is not a kind of config file on which leases are granted or not.
Thanks.