Tag Archives: advertising

results from running pi-hole for several weeks

I came across pi-hole recently – an ad blocker and DNS service that you can run on a Raspberry Pi in Raspian (or any Debian or Ubuntu (ie Debian-like)) system. Using pi-hole should obviate the need for running ad-blockers in your browser (so long as you’re on a network that is running DNS queries through pi-hole).

I’ve seen some people running it on CentOS – but I’ve had issues with that combination, so am keeping to the .deb-based distros (specifically, I’m running it on the smallest droplet size from Digital Ocean with Ubuntu 16.04).

First the good – it is truly stupidly-simple to get setup and running. A little too simple – not because tools should have to be hard to use, but because there’s not much configuration that goes in the automated script. Also, updating the blacklist and whitelist are easy – though they don’t always update via the web portal as you’d hope.

Second, configuration is almost all manual: so, if you want to use more than 2 upstream DNS hosts (I personally want to hit both Google and Freenom upstream), for example, there is manual file editing. Or if you want to have basic auth enabled for the web portal, you need to not only add it manually, but you need to re-add it manually after any updates.

Third, the bad. This is not a pi-hole issue, per se, but it is still relevant: most devices that you would configure to use DNS for your home (or maybe even enterprise) want at least two entries (eg your cable modem, or home wifi router). You can set only one DNS provider with some devices, but not all. Which goes towards showing how pi-hole might not be best run outside your network – if you run piggy-back DHCP and DNS both off your RPi, and not off the wireless router you’re probably running, then you’re OK. But if your wireless router / cable modem demands multiple DNS entries, you either need to run multiple pi-hole servers somewhere, or you need to realize not everything will end up going through the hole.

Pi-hole sets up lighttpd instance (which you don’t have to use) so you can see a pretty admin panel:


I added basic authentication to the admin subdirectory by adding the following lines to /etc/lighttpd/lighttpd.conf after following this tutorial:

#add http basic auth
auth.backend = "htdigest"
auth.backend.htdigest.userfile = "/etc/lighttpd/.htpasswd/lighttpd-htdigest.user"
auth.require = ("/admin" =>
( "method" => "digest",
"realm" => "rerss",
"require" => "valid-user" )

I also have 4 upstream DNS providers in /etc/dnsmasq.d/01-pihole.conf:


I still need to SSLify the page, but that’s coming.

The 8.8.* addresses are Google’s public DNS. The 80.80.* addresses are Freenom’s. There are myriad more free DNS providers out there – these are just the ones I use.

So what’s my tl;dr on pi-hole? It’s pretty good. It needs a little work to get it more stable between updates – but it’s very close. And I bet if I understood a little more of the setup process, I could probably make a fix to the update script that wouldn’t clobber (or would restore) any custom settings I have in place.

passive income is not a business plan


Shortcuts are great.

But only when you know the long way.

Without hard work, the short cut will seem hard.

Passive income seems to fall into this category.

Some people think panhandling is a form of passive income. It’s not. The panhandler works for his money – he talks to people, shakes a cup, whatever: he gets your attention, and tries to make you give him what he wants.

I have a Google AdSense account. I am also an affiliate with a few other places. I put Amazon links into some posts. From those links, if any purchase is made, I get a small percentage back.

But they are NOT a business.

They’re a shortcut. They’re fantastic – but in the last several years of having an AdSense account, I have yet to see a check from Google. In the past several years of having an Amazon affiliate account, I’ve paid for about three books.

You hear of high-volume sites that make all their money off advertising revenue – advertising may or may not be “passive”. But to maintain a high-volume site takes work. Hard work. Lots of it.

You [generally] don’t magically get traffic just because you are the smartest person in the world (I should know, I get on the order of only a few dozen hits per week! :))

You get – and keep – traffic because you have content or a service that people want to use. That they rely on. That they interact with in some meaningful way.

My friend Jay maintain[ed|s] AIMFix. For quite a while, it was THE best (and only) tool which would remove viruses which spread via malicious links across IM networks – dominantly AIM. I wrote a small library he used (at least for a while) in that program.

He put a metric butt load of effort into that tool, and made a little money from the “passive” advertising he had on his site.

Then traffic tailed-off, and so did his AdSense revenue.

So many businesses are started online with the premise that they’ll “make money from ads”… with nothing more of a business plan than that. They fail almost universally.

Businesses succeed when they follow the tried-and-true path of “work-deliver-earn”. And, “spend less than you earn” [ref].

If your only plan for earning money is to park a bunch of ads on a domain, you may make a little money for a little while. Especially if you’ve managed to register a reasonable typo domain (eg “antipuacity.com or “antipauctiy.com”).

But you need to have a reason for people to want to come back. To engage. To use what you offer.

Make something I want. Give me a service I need. Provide me with content I’ll return to.

Or maybe, just maybe, build something I can buy and hold.