Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
up vote 8 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.