Linux Stuff

Just a stub for now, but I really should throw something in here, so you won't feel totally ripped-off when you come to look at this page...

Ah. Here's something I've been doing with my /etc/hosts file, to block advertising. Only works if you're behind a router, that router has an HTTP/HTML configuration interface, and you know its IP address.

127.0.0.1 localhost
127.0.1.1 nix
#  Your hostname goes here; do NOT change
#  the above lines in *your* /etc/hosts file.

192.168.0.1 pagead.googlesyndication.com
192.168.0.1 pagead1.googlesyndication.com
192.168.0.1 pagead2.googlesyndication.com
192.168.0.1 pagead3.googlesyndication.com
192.168.0.1 pagead4.googlesyndication.com
192.168.0.1 ad.doubleclick.net
#^^^^^^^^^^ router address; returns 404 pages instead of spam.

# [some IPv6 stuff...]

The funny thing is that my router normally demands HTTP authentication before it will show me anything, but doesn't require authentication for pages that don't exist [404 errors]. I'm not sure if this is a security issue or not, but it does cut down on the amount of advertising I see.

-- pAb


Up to Main Index