Hacker News new | ask | show | jobs
by cbolton97 4282 days ago
Thanks for the tip! Exactly the info we were looking for when we posted on HN :)
1 comments

Great to hear. I haven't looked into the project fully, so I'll apologize in advance if you already have a solution for what I describe below.

I used a catch all DNS wildcard with a dnsmasq rule which I set up on a DD-WRT flashed router.

address=/#/192.168.11.2

That IP was the IP of my server. The nice part of that rule is that many people will type in google.com or something similar when they find your open wifi spot assuming they are connected to the web. The wildcard will resolve that the the IP of the local server and send them there automatically. That can be the landing page of the network that introduces things, provides links etc.

We ended up using an mDNS (http://www.avahi.org/) that pointed towards hostname.local - not perfect, but we didn't have to use the IP address anymore. The catch all is a much better idea.