I find the hostname works on some networks but not others and for different things. Home network, hostname is fine for everything. Work network, it is fine for vnc, shh, but not smb (annoying, but still enough to work with - shh in to get the ip etc). You'll probably find that the ip address will stick on a network for 24 hours or so, as they get allocated and expire.droople wrote:I have the same issuetexy wrote:Well despite the dhcp update procedure above, my pi is still 'UNKNOWN' by my Sky router. I seem to have a constant ip address unless I reset the router of course, but its still UNKNOWN. So in order to connect via putty or vnc, I put in the ip of the pi, not the name. Its no big deal to me, but I,d still like to get to the bottom of it.
You could also try setting a fixed ip address on the Rpi, although that is only useful if keeping on a single network (some routers will allow you to set a static DHCP ip address too - assuming your mac stays put).