I just installed raspbian on my raspberry pi, and was wondering why I can't use it's hostname from other machines.
on my router, I can see which computers are connected by their name, for example a windows pc, a mac, my iphone, etc... all have names. But for my Pi, I see only the ip adress.
on the pi, I have set hostname correctly, like this:
pi@pi ~ $ sysctl kernel.hostname kernel.hostname = pi
hostname also delivers:
pi@pi ~ $ hostname pi
but hostname -d won't deliver anything:
pi@pi ~ $ hostname -d pi@pi ~ $
why is this? why can't I run
ping pi on any other machine and get to the pi?