Sign up ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

My debian is not discoverable via its hostname in my LAN.

I have a couple of other ubuntu machines in the LAN and they are all pingable via their hostnames.

on my debian:

pi@raspberrypi ~ $ hostname

on another machine in the same LAN:

ping raspberrypi
ping: unknown host raspberrypi
share|improve this question

1 Answer 1

up vote 7 down vote accepted

Your Ubuntu system has the Avahi daemon running while this is not the case for your Raspberry Pi. Install Avahi to solve the problem:

# apt-get install avahi-daemon avahi-discover libnss-mdns
share|improve this answer
jftr you probably have to use the .local domain, e.g. raspberrypi.local – Ulrich Dangel May 26 '13 at 22:04
When/how does Ubuntu run the daemon? I don't see anything called 'avahi' in the output of ps -x – user7000 Apr 25 '14 at 5:32
EDIT - run service --status-all | grep avahi – user7000 Apr 25 '14 at 5:33

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.