device-finder is the command line tool for device discovery. It uses mDNS to find Fuchsia devices.
Currently only Linux is supported. For Mac users see the “For Mac Users” section.
The simplest way to get all the devices on the network by their address is to run
$ ./device-finder list 192.168.42.156
This will give you the addresses of all Fuchsia devices on the network. If you'd like to get their hostnames as well as their addresses, you can include the
If you'd like to find your device by its unique hostname (e.g.
lunch-feta-stool-woozy) you can use the
$ ./device-finder resolve lunch-feta-stool-woozy 192.168.42.156
To find the interface connected to the device, include the
-local flag to either the
list command or the
resolve command, which will give you the address that the Fuchsia device can use to connect to your host.
For those on Mac hosts, you can use the included
dns-sd command to find your device. Here's an example command along with the output you should see when a device is on your network:
$ dns-sd -B _fuchsia._udp . Browsing for _fuchsia._udp DATE: ---Fri 14 Dec 2018--- 15:28:21.447 ...STARTING... Timestamp A/R Flags if Domain Service Type Instance Name 15:28:21.448 Add 2 7 local. _fuchsia._udp. quake-agile-lurk-even
Mac does not support the equivalent of a
local flag as described above in the