[LCA2015-Chat] SimpleBots on the conference WiFi

Mike Abrahall mike at abrahall.id.au
Thu Jan 15 06:22:33 EST 2015

On Thu, Jan 15, 2015 at 12:32:20AM +1300, Angus Gratton wrote:
> On Wed, Jan 14, 2015 at 01:27:11AM -0800, Stephen Donnelly wrote:
> > Looks like mdns (avahi) is filtered on the LCA2015 network, how can we tell 
> > what IP it gets in order to ssh in?
> > 
> > I may be missing something obvious...
> Oh no! I admit I actually had the same symptom but thought it was my
> firewall/nsswitch config, because it didn't work for me on the private
> AP either. (I'd disabled mdns resolution at some point a while ago.)
> When I was testing this the Pi was also connected via ethernet to my
> laptop, sowhen avahi didn't work I just looked there for the WiFi
> IP.  Then I rebooted without the ethernet cable and verified it all
> still worked (which it did, as the DHCP server continued the same
> lease).  Not the best testing metholodogy I guess. :(
> My network-fu is at its limits... does anyone have any good ideas? :/
> (The best I can think of, given the IP is likely to change as you move
> around campus, is a script that updates a dynamic DNS entry somehow
> using the assigned private IP. Not exactly a great solution though.)

Does the DHCP client on the Pi send the hostname while asking for an IP?
At home and work dnsmasq remembers the mapping of requested hostname and
IP address so that you can address it via DNS. I believe this is default
in dnsmasq, I know the dhclient config in Ubuntu doesn't send the
hostname by default though, not sure about Debian or Raspbian.

Mike Abrahall

More information about the Chat mailing list