U1.07 Ubuntu Quick Start (QS): Wins(NetBIOS) - chempkovsky/CS2WPF-and-CS2XAMARIN GitHub Wiki

Packages to install

with ubuntu 20.04 right after operating system installation finished

  • the following packages should be installed (Note: no additional packages required):
sudo apt-get install libnss-winbind

Configuration

nsswitch.conf

  • open the file
sudo nano /etc/nsswitch.conf
  • modify the line (wins must be added)
hosts: files wins mdns4_minimal [NOTFOUND=return] dns

start winbind-service

  • run the command to start the service
sudo service winbind start
  • or restart winbind-service
sudo service winbind restart

If "ping host_name_of_windows_machine" does not work

  • open smb.conf
sudo nano /etc/samba/smb.conf
  • make sure workgroup-name is correct
    • under [global] section
[global]
...
   workgroup=WORKGROUP
...

As a result

Click to show the picture

picture

ufw allow from 192.168.59.0/24 to any app Samba
⚠️ **GitHub.com Fallback** ⚠️