[avahi] Resolve/Browse non-desktop/laptop devices

John Frankish j-frankish at slb.com
Fri Jun 10 03:24:34 PDT 2011


For some non-desktop/laptop devices, avahi resolves their hostname and for some others it does not (appear to)  - is there a way to check if they actually have a host name or not?

Similarly, for some non-desktop/laptop devices, avahi does not (appear to) show any services that might be available - is there a way to check if they have services that should be browse-able?

Examples below:

$ avahi-resolve -a 192.168.1.107
192.168.1.107   j-frankishs-iPhone.local

$ ping j-frankishs-iPhone.local
PING j-frankishs-iPhone.local (192.168.1.107): 56 data bytes
64 bytes from 192.168.1.107: seq=1 ttl=64 time=27.342 ms

$ avahi-resolve -a 192.168.1.102
Failed to resolve address '192.168.1.102': Timeout reached

$ ping  192.168.1.102 [Pure Evoke Flow Internet Radio]
PING 192.168.1.102 (192.168.1.102): 56 data bytes
64 bytes from 192.168.1.102: seq=1 ttl=64 time=7.035 ms

$ avahi-browse -a -t
+   eth0 IPv4 wd-1-4tb                                      _smb._tcp            local
+   eth0 IPv4 wd-1-4tb                                      _daap._tcp           local
+   eth0 IPv4 AirPrint OfficeJetG85 @ dslkayak              _ipp._tcp            local
+   eth0 IPv4 mss-FFB1EF Session Service                    _netbios-ssn._tcp    local
+   eth0 IPv4 mss-FFB1EF Name Service                       _netbios-ns._udp     local
+   eth0 IPv4 mss-FFB1EF Configuration                      _mssmaxtorconfig._tcp local
+   eth0 IPv4 mss-FFB1EF Information                        _mssmaxtorinfo._udp  local
+   eth0 IPv4 wap9f88b6                                     _csco-sb._tcp        local
+   eth0 IPv4 wap88a9b8                                     _csco-sb._tcp        local
+   eth0 IPv4 wd-1-4tb                                      _http._tcp           local
+   eth0 IPv4 wap88a9b8                                     _http._tcp           local
+   eth0 IPv4 wap9f88b6                                     _http._tcp           local
+   eth0 IPv4 boxdell [00:24:2b:60:07:5a]                   _workstation._tcp    local
+   eth0 IPv4 dslkayak [00:60:b0:87:88:c7]                  _workstation._tcp    local
+   eth0 IPv4 boxdell                                       _ssh._tcp            local
+   eth0 IPv4 dslkayak                                      _ssh._tcp            local
+   eth0 IPv4 boxdell                                       _sftp-ssh._tcp       local
+   eth0 IPv4 dslkayak    


More information about the avahi mailing list