Making host lookup with name work
From Erlands Wiki
To make it possible to use name based hostname lookup on linux in your local network you will have to do the following
- 1. sudo apt-get install winbind
- 2. sudo vi /etc/nsswitch.conf
- 3. Change the line:
hosts: files dns mdns
- To
hosts: files dns wins mdns
- 4. Save and exit
You should now be able to reach your other computers in the local network using hostnames instead of just using IP adresses.
