[Freedombox-discuss] Avahi (was: Re: How to use JWChat on the freedombox?)

Tim Retout tim at retout.co.uk
Tue Mar 18 18:31:28 UTC 2014


On 17 Mar 2014 22:06, "Petter Reinholdtsen" <pere at hungry.com> wrote:
>
>
> [Alberto Fuentes]
> > echo "fb ip" fbx >>/etc/hosts
> >
> > then navigate to fbx
>
> You are right.  This actually work.  When I visit
> http://<eth0-ip-on-freedombox/, I get the redirect to 403 Forbidden. If
> I add fbx to /etc/hosts on my local machine and then access http://fbx/,
> I get JWChat.
>
> This do not seem like a good idea.  I expected both URLs to work the
> same.  Is there something we could change to get that behaviour?

I've not looked into what's going on with jwchat, but I've been looking at
mDNS for the last couple of days, and I think it could be really useful for
avoiding modification of the user's hosts file.

In short:

- set up the freedombox's hostname as normal
- install avahi-daemon on it
- point your desktop system (with libnss-mdns installed) at
http://fbx.local/ or similar.

Windows support needs more to get going - you can install Bonjour, which is
Apache-licensed.

Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/freedombox-discuss/attachments/20140318/61718026/attachment.html>


More information about the Freedombox-discuss mailing list