Page 1 of 1

DHCP tweaks

Posted: Sun Jul 25, 2010 3:05 am
by vk7hch
I was wondering if it would be possible to introduce a way to lockout a computer by mac address. A bit like access control on a wifi router. On the DHCP page, maybe a radio check button to "Enable / Disable".
I have children that every now and then, for various reasons, I wish to block from accessing the network!

Re: DHCP tweaks

Posted: Sun Jul 25, 2010 5:43 am
by gboudreau
I guess you could block them from using the HDA DNS server, by manually configuring BIND's /etc/named.conf
But Amahi kinda takes control of that file, so it might overwrite your manual changes every so often.
Maybe a cron that replaces it every minute might work...

Code: Select all

acl kids_who_havent_been_nice { 192.168.0.102; 192.168.0.101; }; options { ... blackhole { kids_who_havent_been_nice }; };