Install Bonjour on your PC to easily discovery your Linux board

With Bonjour activated on your PC it's easy to discover devices on your LAN and reach them using their hostnames and .local domain instead of its IP address.

For example you can reach the web page on a Arietta G25 board simply using this URL:

or open an SSH session with it by typing:

$ ssh root@arietta.localhost

Installing Bonjour on your PC

Windows PC:

Download and install Bonjour on your Windows PC following this link:

Linux Ubuntu PC:

Install libnss-mdns package then try a ping to the board typing:

~$ ping myboard.local
PING myboard.local (192.168.1.7) 56(84) bytes of data.
64 bytes from myboard.station (192.168.1.7): icmp_req=1 ttl=64 time=0.785 ms
64 bytes from myboard.station (192.168.1.7): icmp_req=2 ttl=64 time=0.402 ms

Or scan your LAN by typing:

~$ avahi-discover

What to install on your Arietta

The Acme Systems Debian microSD is ready to works with Bonjour by default.

On other boards you need to install libnss-mdns package by typing:

~# apt-get update
~# apt-get install libnss-mdns

How to set your board name

This example shows how to set the name "myboard" and reach it on LAN using the address "http://myboard.local".

~# echo "myboard" > /etc/hostname 
~# reboot

Related links