Thursday, November 18, 2021

Resolve Windows NetBIOS name in Ubuntu 20.04

Resolve Windows NetBIOS name in Ubuntu 20.04

It is very common to have a mix of Windows and Ubuntu/Linux in an enterprise environment. There are scenarios where Ubuntu can get IP via DHCP but not enroll the machine to DNS. To resolve Windows NetBIOS machine name in Ubuntu in a workgroup environment do the following. Install nss-winbind like below

$: sudo apt install libnss-winbind

Then update /etc/nsswitch.conf. On Ubuntu 20.04, this will be line 12, which should look like below:
hosts:          files wins dns

Refs:
https://8thstring.blogspot.com/2010/05/resolve-netbios-name-in-ubuntu.html

No comments:

Configuring TUN/TAP virtual network interface for use with QEMU on Xubuntu 24.04

Configuring TUN/TAP virtual network interface for use with QEMU on Xubuntu 24.04 I am planning to run qemu-system-ppc to play around QEMU ...