× Introducing the Orbi 970 Series Mesh System with WiFi 7 technology. For more information visit the NETGEAR Press Room.
Orbi WiFi 7 RBE973
Reply

WNDR4500 / Windows + Linux + NAS / cannot always reach by hostname

CFE
Aspirant
Aspirant

WNDR4500 / Windows + Linux + NAS / cannot always reach by hostname

My network generally works well.  I've got DHCP handing out IP addresses and a few fixed IP's for printers and NAS devices.  I've got the following devices on my network all managed through wired and wireless connections:

 

  • Windows PC's (mostly Win7)
  • Ubuntu
  • NAS (Buffalo Storage, WD Cloud)
  • iPad / iPhone

The biggest thorn in my side is the "random" loss of capability to access machines via their hostname (e.g. KITCHEN-PC, NAS-A).  I am not running a Windows Server.  All PC's connect either wirelessly to a WAP or through a hardwire connection to a switch that is hardwired into the Netgear WNDR4500.

 

Some days (weeks?) I just lose the capability to reach shared resources (folders, NAS) on the network by hostname.  The hostname could be the name of the Ubuntu box, the name of the NAS, or the name of another PC.  Usually when one goes, they all go - I cannot connect to any of them by hostname.  Typically, this happens on a laptop that I take back and forth from work.  At work, everything is fine; all devices can be accessed by hostname.  At home, not so much.  For the last week, none of my devices could be reached by my laptop using their hostname, but all of them can be reached by their IP address.  Yet, all of the attached devices on my WNDR4500 have names associated with their IP addresses.

 

Is there a feature in the WNDR4500 that provides this name resolution service?  DNS?  WINS?  ... ?

Message 1 of 13

Accepted Solutions
TheEther
Guru

Re: WNDR4500 / Windows + Linux + NAS / cannot always reach by hostname

What happens if you try nbtstat -a <hostname> from your work laptop to one of your machines?  Check nbtstat -r afterwards to see if the counters increase.

 

Can you look at the advanced adapter settings on your laptop and see whether a WINS server address is configured?  You probably also want to make sure that NetBIOS over TCP/IP is enabled.

 

You may also want to look at the Windows registry for the NetBIOS node type.  I believe the key is HKLM\SYSTEM\CurrentControlSet\Services\NetBT\Parameters\NodeType.  The values are explained at this link.

 

View solution in original post

Message 5 of 13

All Replies
TheEther
Guru

Re: WNDR4500 / Windows + Linux + NAS / cannot always reach by hostname

Does this only happen with your work laptop, or do other machines experience this symptom, too?

 

AFAIK, the WNDR4500 is not a WINS server, nor does it participate in Windows name resolution.  In a home setting, Windows name resolution is serverless and is handled through the use of broadcasts.  If you have multiple IP subnets, then name resolution will not work.  Most home networks are a single subnet.  I assume yours is, too.

 

In a work setting, Windows name resolution is often handled by an Active Directory or a WINS server.  I kinda wonder if, perhaps, your work laptop is trying to contact a work server for name resolution?  You can try using nbtstat at the Command Prompt to troubleshoot name resolution problems.  Wikipedia has a page on it (link).  nbtstat -a <hostname> will attempt a name resolution.  It's equivalent of nslookup for Windows names.  nbtstat -r will give you stats on resolution requests performed by broadcast and by server.  If the server count is non-zero, then your laptop is probably trying to contact a server.  nbtstat -c will display the local name cache.

 

This article is helpful for understanding Windows name resolution (link).

Message 2 of 13
CFE
Aspirant
Aspirant

Re: WNDR4500 / Windows + Linux + NAS / cannot always reach by hostname

Hmmm...  makes sense...

I got this...

 

>nbtstat -r

    NetBIOS Names Resolution and Registration Statistics
    ----------------------------------------------------

    Resolved By Broadcast     = 0
    Resolved By Name Server   = 0

    Registered By Broadcast   = 0
    Registered By Name Server = 0

and

 

>nbtstat -R
Failed to Purge the NBT Remote Cache Table.

Seems like this PC is living in a lonely world.  It cannot find anything and I cannot purge the table.  I would hope that a purge would force it to await broadcasts and rebuild the table.  Any ideas?

 

Message 3 of 13
Retired_Member
Not applicable

Re: WNDR4500 / Windows + Linux + NAS / cannot always reach by hostname

Try replacing the switch!

Message 4 of 13
TheEther
Guru

Re: WNDR4500 / Windows + Linux + NAS / cannot always reach by hostname

What happens if you try nbtstat -a <hostname> from your work laptop to one of your machines?  Check nbtstat -r afterwards to see if the counters increase.

 

Can you look at the advanced adapter settings on your laptop and see whether a WINS server address is configured?  You probably also want to make sure that NetBIOS over TCP/IP is enabled.

 

You may also want to look at the Windows registry for the NetBIOS node type.  I believe the key is HKLM\SYSTEM\CurrentControlSet\Services\NetBT\Parameters\NodeType.  The values are explained at this link.

 

Message 5 of 13
CFE
Aspirant
Aspirant

Re: WNDR4500 / Windows + Linux + NAS / cannot always reach by hostname

nbtstat -a <hostname> always comes up with Host Not Found.  nbtstat -r produces no interesting results:  all zeros. 

 

The remainder of my PC's can resolve hostnames, so the network is not the problem, it is the laptop.

 

  1. Enabled NetBIOS (but did not reboot, but did disable / enable LAN connection).  No change.
  2. I don't have a WINS server.  Doesn't that require a server on my network?  I only have routers / switches.
  3. The NetBIOS Type = 1, which is:  

B-node. NetBT uses IP broadcast messages to register and resolve IP addresses from NetBIOS names.

 

Any other ideas?

Message 6 of 13
CFE
Aspirant
Aspirant

Re: WNDR4500 / Windows + Linux + NAS / cannot always reach by hostname

Replacing the switch is probably not the answer... all other PC's are OK.

Message 7 of 13
TheEther
Guru

Re: WNDR4500 / Windows + Linux + NAS / cannot always reach by hostname

Is Windows Network Discovery enabled?

 

You can cross-check that the NetBIOS Type is set to B-node using ipconfig /all and looking at Node Type.

 

I found some additional troubleshooting that you may want to try.

Two Minute Drill: Troubleshooting Name Resolution (i.e. try new view \\hostname and net view \\<ipaddress>)

TechNet: Unable to reach a Host or NetBIOS Name (It has a trouble troubleshooting flowchart)

Default Node Type for Microsoft Clients (You can try coercing the Node Type by editing the registry.  You will probably have to reboot each time.)

 

Finally, try installing Wireshark on the laptop and sniff the traffic on your laptop.  You will want to see if NetBIOS broadcasts are being sent.

 

As a last resort, you may consider resetting TCP/IP.  It's a pretty drastic step, but Microsoft has an article on it.  Make sure you are comfortable doing this.  I cannot take a responsibility for any damage.  I'm only providing the rope.  Smiley Happy

How to reset TCP/IP by using the NetShell utility

 

Message 8 of 13
Retired_Member
Not applicable

Re: WNDR4500 / Windows + Linux + NAS / cannot always reach by hostname


@CFE wrote:

Replacing the switch is probably not the answer... all other PC's are OK.


 I only suggested it because, I also had issues trying to reach network devices when going gigi years ago and randomly not able reach NAS folders. Problem was 3 netgear switches (those white plastic POS) replaced with blue metal GS108 and never a had another problem.

 

Try power cycling the switch next time.

Message 9 of 13
CFE
Aspirant
Aspirant

Re: WNDR4500 / Windows + Linux + NAS / cannot always reach by hostname

Ethernet adapter Local Area Connection:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Intel(R) Ethernet Connection I217-LM
   Physical Address. . . . . . . . . : EC-F4-BB-06-B7-90
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::9464:b3b7:18fb:b9e4%11(Preferred)
   IPv4 Address. . . . . . . . . . . : 10.0.0.15(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : Saturday, January 16, 2016 8:00:53 AM
   Lease Expires . . . . . . . . . . : Sunday, January 17, 2016 8:00:53 AM
   Default Gateway . . . . . . . . . : 10.0.0.1
   DHCP Server . . . . . . . . . . . : 10.0.0.1
   DHCPv6 IAID . . . . . . . . . . . : 250410171
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1A-70-B6-F1-EC-F4-BB-06-B7-90

   DNS Servers . . . . . . . . . . . : 10.0.0.1
   NetBIOS over Tcpip. . . . . . . . : Enabled

Still not quite getting there...  no change in symptoms...

 

nbtstat yields nothing interesting... all other PC's on LAN are working fine...

Message 10 of 13
TheEther
Guru

Re: WNDR4500 / Windows + Linux + NAS / cannot always reach by hostname

What about the Node Type?

 

>ipconfig /all | more

Windows IP Configuration

   Host Name . . . . . . . . . . . . : DESKTOP-VJ2S2MB
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Hybrid <------
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No
Message 11 of 13
CFE
Aspirant
Aspirant

Re: WNDR4500 / Windows + Linux + NAS / cannot always reach by hostname

Previously, I had set the wrong property using Regedit.  Upon further review, the NetBIOS was set to Peer-to-Peer!  I found the property after digging deeper in the hierarchy in HKLM\...

 

I set it to Broadcast and all is OK (at least at home).  I will try at work on Tuesday.  Any idea how (why?) it had ever been set to Peer-to-Peer?  Is this a default in Win 7 installation?

 

Regedit NetBIOS Property

Message 12 of 13
TheEther
Guru

Re: WNDR4500 / Windows + Linux + NAS / cannot always reach by hostname

Glad you solved the problem.  I no longer have Win 7 running in the house but I think the default is either Broadcast or Hybrid.  I just checked two Win 10 machines and they are set to Hybrid.  I found this article but it's very old (link).

Message 13 of 13
Top Contributors
Discussion stats
  • 12 replies
  • 4863 views
  • 1 kudo
  • 3 in conversation
Announcements

Orbi WiFi 7