I have a Linksys WRT54G router running Tomato 1.21 firmware.
Some time back I came across a posting detailing how to move the HOSTS file off the computer and onto the router using a script which I did.
The script downloads the HOSTS file from
http://www.mvps.org every Friday at 11.00pm to the router, edits the file and then creates a file in /etc/hosts.
Then the script sends a signal to dnsmasq to re-read the hosts file and whenever the router has an inbound url that is in the HOSTS file
it substitues 0.0.0.0 (in preference to 127.0.0.1) and thus the url is blocked.
e.g.If the url was an advertisment on a web page. that area of the webpage is now void of the advertisement.
I am wondering if there would be any way to get Hostsman to read/write to the router HOSTS file rather than the one on the computer?
Many thanks
John J
San Francisco