Re: [SLUG] Frank's Computer Networking Problems - Continued

From: Steven Johnson (alinuxguru@hotmail.com)
Date: Sun Sep 02 2001 - 19:58:59 EDT


First, was I that off in the find command? Are my waning linux skills so
impaired and diminished? I could have sworn that "find . -name wins.dat
-print" is the correct syntax. Did I neglect to mention that the command
should be run from / ? Anyway, the location should be
"/var/lock/samba/wins.dat" for most distributions.

We are going to take a huge step back and return to basics. Since I have no
intention of taking a trip to the all but abandoned town of Detroit, let's
tear everything down and build it back up :)

Do the Windows boxes get their IP Addresses from a DHCP Server or are the
addresses configured statically. If the address is provided by a DHCP
server, is the DHCP server setting the node type or specifying a scope ID?
To check to see if either of those settings are set, run the command on the
Windows machines "IPconfig /all" (winipcfg if 9x boxes) and look for "Node
Type" or "scope ID".

Make a note of what the Node Type is. It should say either "Broadcast"
(0x1), "point-to-point" (0x2), "Hybrid" (0x8), or "Mixed" (0x4). What I
expect to see is "Hybrid" (0x8) because we set up the linux box as a WINS
server to cut down on network traffic.

If you see a scope ID, this is the source of the problem. However, I do not
expect this so let's move on :)

Now let's test your smb.conf file. Run the command "testparm" and pipe it
to more or a file. Correct any errors.

If you reached this point, we assume that

A) Your TCP/IP Settings on both your Windows and Linux Box are good. Same
subnet, etc. Doublecheck for typos.

B) You do not have a Scope ID screwing things up.

C) The Linux box is the WINS server for this subnet and the Windows boxes
are configured to use it. (i.e. the windows boxes are set up for Hybrid)

D) Your smb.conf file is clean

E) smbd and nmbd are running without errors. Review your log files.

Now let's check to see if the Linux box can see the Windows boxes. Use the
command nmblookup. Refer to the man pages for the proper syntax. What you
want to test is to see if the linux box can resolve the NetBIOS name of the
Windows boxes. Let's focus on this for now. If this comes back
successfully then we will work from there.

------ Do not read this if you are afraid of the registry -------
This can be set from the registry by editing the key
\Registry\Machine\System\CurrentControlSet\Services\NetBT\Parameters
   NodeType = REG_DWORD 0x00000008
------------------------------------------------------------------

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 18:39:17 EDT