I have samba installed, and have also followed all the steps here: http://elinux.org/RPi_Advanced_Setup
However I still can't access the pi by hostname. I get the message: Ping request could not find host raspberry.local. Please check the name and try again.
I've also tried with the name "raspberry" but that doesn't work either. Can anyone help me out? I'm trying to ping from a windows machine.
EDIT: Hostname is raspberry, I am able to ping the Pi by IP, and bonjour is installed on the windows machine.
EDIT2: Something else strange is when I type
host <myhostname> into the terminal I get the response
;; connection timed out; no servers could be reached
EDIT3: I can also ping my windows machine from my pi by host name... grrr