Linux - Cant Ping Ubuntu Vm by Name From Windows Machine
Published: Linux Estimated reading time: ~1 minutes
In order to ping an Ubuntu box using its NetBIOS name, use the following steps:
- edit
/etc/nsswitch.conf
- Replace this line:
hosts: files dns
- With this line:
hosts: files dns wins
- Next, install winbind:
sudo apt-get install winbind.
- Now the machine should be ready to ping from Windows.