Saturday, November 5, 2016

Linux and Window computers unable to browse home network

Hi have a home network that consists of an ADSL router and a wireless access point.

Among the 4 smart phones, 5 tablets and 4 RaspberryPis I have 1 Linux Mint 18 desktop, 1 Ubuntu 16.04 server, 1 Linux Mint laptop, 3x Windows 10 laptops and 1 Windows 10 desktop. (I know to many for a household of 4 people but it is what I do for a living)

Recently I installed Windows 10 onto a laptop and suddenly was not able to browse the network from any of the network browsers (Linux or Windows). The strange this was that I was able to connect (from linux) using smb:// and (from Windows) \\\ShareName

After searching for the solution and trying many, many of the solutions I was not successful. I shutdown all the devices and started the Linux mint machines first then started the Windows machines (which was a real PITA) but nothing worked.

What finally DID WORK!

On the windows machines I opened a command line as administrator and ran the following:

  1. Click on Start button.
  2. Type Cmd in the Start Search text box.
  3. Press Ctrl-Shift-Enter keyboard shortcut to run command prompt as Administrator. Allow elevation request.
  4. Type netsh winsock reset in the Command Prompt shell, and then press the Enter key.
  5. Restart the computer.

Afterwards I was able to browse the network from both the windows machines as well as the Linux ones.

What netsh winsock reset command does are it resets Winsock Catalog to a clean state or default configuration. It removes all Winsock LSP (Layered Service Providers) previously installed, including the potential malfunctioned LSP that causes loss of network packets transmission failure. So all previously-installed LSPs must be reinstalled. This command does not affect Winsock Name Space Provider entries. (Shamelessly copied from here)