OpenWRT WINS with Samba: Difference between revisions

Line 16: Line 16:
nmblookup is the command that can be used to check information within the Samba WINS database.
nmblookup is the command that can be used to check information within the Samba WINS database.


Example nbmlookup WhatEverNameOfHost will display the IP Address information for that host.
Examples;
 
* nbmlookup WhatEverNameOfHost will display the IP Address information for that host.
* nbmlookup -S WhatEverWorkGroupName will display all the records*
 
<nowiki>*</nowiki> This webpage notes that there are various ways to display all of the records: https://superuser.com/questions/1492010/finding-all-samba-shares-in-local-network


=====Recommendation for Windows Hosts that are Multihomed (IE, have more than one network interface)=====
=====Recommendation for Windows Hosts that are Multihomed (IE, have more than one network interface)=====
For some odd reason, if only one interface is configured with WINS server information, it reports the IP Address of all the network interfaces on the Windows machine to the WINS Server.  IE, all the other network interfaces can have a blank / empty entry for WINS server, but that one network interface configured with a WINS server will report ''all'' of the IP Addresses associated with all of the other network interface.  To prevent this, configure a different WINS server for each interface OR "Disable NetBIOS over TCP/IP" (oddly, this does not disable the ability of one to access shared folders, incoming or outgoing, on the network interface in question as it seems NetBEUI is the acronym that encompasses that functionality).
For some odd reason, if only one interface is configured with WINS server information, it reports the IP Address of all the network interfaces on the Windows machine to the WINS Server.  IE, all the other network interfaces can have a blank / empty entry for WINS server, but that one network interface configured with a WINS server will report ''all'' of the IP Addresses associated with all of the other network interface.  To prevent this, configure a different WINS server for each interface OR "Disable NetBIOS over TCP/IP" (oddly, this does not disable the ability of one to access shared folders, incoming or outgoing, on the network interface in question as it seems NetBEUI is the acronym that encompasses that functionality).  This even includes PPTP VPN Connections and probably OpenVPN connections too.