With Bonjour / Zeroconf activated on your Raspbian, it's easy to reach your Raspberry Pi from other devices on your LAN: just use hostname "raspberrypi.local" in your ssh / ping / browser, and it should work. That is, if the other device has Bonjour / Zeroconf installed too. That's true for OSX and Ubuntu. On Windows, it works if you have itunes installed, or "Bonjour Print Services for Windows".
On Raspbian, type this:
Code: Select all
sudo apt-get update
sudo apt-get install libnss-mdns
And that's it. From my Ubuntu, I can now reach my Raspi easily:
Code: Select all
sander@R540:~$ ping -c 4 raspberrypi.local
PING raspberrypi.local (192.168.1.54) 56(84) bytes of data.
64 bytes from raspberrypi.home (192.168.1.54): icmp_req=1 ttl=64 time=96.6 ms
64 bytes from raspberrypi.home (192.168.1.54): icmp_req=2 ttl=64 time=3.56 ms
64 bytes from raspberrypi.home (192.168.1.54): icmp_req=3 ttl=64 time=2.71 ms
64 bytes from raspberrypi.home (192.168.1.54): icmp_req=4 ttl=64 time=2.65 ms
--- raspberrypi.local ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3003ms
rtt min/avg/max/mdev = 2.652/26.385/96.604/40.542 ms
sander@R540:~$
sander@R540:~$ ssh -X [email protected].
[email protected].'s password:
Linux raspberrypi 3.2.27+ #160 PREEMPT Mon Sep 17 23:18:42 BST 2012 armv6l
...
HTH