Re: Ping local machine by name.
adding machine names to the hosts file is fine and works well. However, if your router dishes out IP addresses dynamically, the computer addresses can change. That's been my experience so I found another way in these forums, thanks to the original poster:
Rem (#) the line that says
hosts: files dns wins
finally, you need to install winbind
sudo apt-get install winbind
that's all that it took for me.
now ping <hostname> works great. And I can finally use the built-in terminal server client with hostnames instead of IP addresses.
Saddleworth, Manchester (UK).