[arch-general] avahi problem

Alper Kanat tunix at raptiye.org
Thu Apr 5 07:20:54 EDT 2012


Hey There,

I've installed an Arch Linux server in our office for serving files over
the network via Bonjour/avahi. All computers are connected to an ADSL modem
via wireless. Only the server is connected via LAN. When I start the
server, I can ping it:

--- CMD OUTPUT
-------------------------------------------------------------------------------

$ ping office.local
PING office.local (192.168.1.107): 56 data bytes
64 bytes from 192.168.1.107: icmp_seq=0 ttl=64 time=1.080 ms
64 bytes from 192.168.1.107: icmp_seq=1 ttl=64 time=1.671 ms
64 bytes from 192.168.1.107: icmp_seq=2 ttl=64 time=0.979 ms
^C
--- office.local ping statistics ---
3 packets transmitted, 3 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.979/1.243/1.671/0.305 ms

$ ping 192.168.1.107
PING 192.168.1.107 (192.168.1.107): 56 data bytes
64 bytes from 192.168.1.107: icmp_seq=0 ttl=64 time=1.194 ms
64 bytes from 192.168.1.107: icmp_seq=1 ttl=64 time=1.229 ms
^C
--- 192.168.1.107 ping statistics ---
2 packets transmitted, 2 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 1.194/1.212/1.229/0.017 ms

After a few minutes however I can't ping it using the .local address:

*$ ping office.local*
*ping: cannot resolve office.local: Unknown host*

$ ping 192.168.1.107
PING 192.168.1.107 (192.168.1.107): 56 data bytes
64 bytes from 192.168.1.107: icmp_seq=0 ttl=64 time=1.375 ms
64 bytes from 192.168.1.107: icmp_seq=1 ttl=64 time=1.562 ms
^C
--- 192.168.1.107 ping statistics ---
2 packets transmitted, 2 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 1.375/1.469/1.562/0.094 ms

--- CMD OUTPUT
-------------------------------------------------------------------------------

If I restart avahi-daemon, we can ping office.local for another few
minutes. Any ideas?

---
Quis custodiet ipsos custodes?


More information about the arch-general mailing list