OpenWRT WINS with Samba: Difference between revisions

mNo edit summary
Line 42: Line 42:
=====Other Information=====
=====Other Information=====


If there is no Windows Domain Controller within a subnet, the following configuration is recommended for the /etc/dhcpd;<syntaxhighlight lang="text">
* If there is no Windows Domain Controller within a subnet, the following configuration is recommended for the /etc/dhcpd;
<syntaxhighlight lang="text">
# This configures Samba to enable WINS support
# This configures Samba to enable WINS support
wins support = yes
wins support = yes
Line 51: Line 52:
preferred master = yes
preferred master = yes
domain master = yes
domain master = yes
</syntaxhighlight><br />
</syntaxhighlight>
 
* The netbios name = |NAME| directive in Services, Network Share, Edit Template Tab in the OpenWRT GUI configures SAMBA with the name defined in the System, System, Hostname Field.
*
 
==== Remaining Items to Document ====
 
* LMHOSTS
** https://www.samba.org/samba/docs/using_samba/ch07.html
 
* nss-mdns: A simple service that doesn't seem to exist any longer for OpenWRT (possibly replaced by UMDNS or can be replace by Avahi) that allows a Linux (AKA OpenWRT) device to resolve WINS style host names from an LMHOSTS file (which only resolves names for the local router).
** https://forum.openwrt.org/t/what-happened-to-nss-mdns-package-mdns-local-dns-resolution/25799
** https://serverfault.com/questions/272965/how-can-i-make-ubuntu-use-samba-to-resolve-windows-host-names
** https://fedoramagazine.org/find-systems-easily-lan-mdns/
* AVAHI
** https://openwrt.org/docs/guide-user/network/zeroconfig/zeroconf
* UMDNS: An alternative to AVAHI from OpenWRT ( )
** https://openwrt.org/docs/guide-user/network/zeroconfig/zeroconf
** <br />