TechSoup.org The place for nonprofits, charities, and libraries

Network Troubleshooting for Workstations

Second in the series on how to troubleshoot your network

Network Troubleshooting for Workstations 
Lasa - March 16, 2010
Editor’s note: This article was originally published in 2004 and updated in 2006 by the Lasa Information Systems Team. The Lasa knowledgebase is designed to help community and voluntary sector organizations access the benefits of information technology. This is the second in a three-part series on network troubleshooting we'll be republishing on TechSoup. See the introductory article here.

Logging In

If a user reports they cannot log on to the network and you have checked the hardware and network infrastructure is all okay, make sure they are using the correct combination of username and password. Check that caps lock isn't on if they insist the password is correct. If you have a policy of changing passwords regularly (and you should!) then ensure the user has not just forgotten changing it yesterday. Make sure the domain setting is correct in the log.

IP Addresses

Most modern networks use the TCP/IP protocol to transport data. Check out the W3Schools TCP/IP tutorial. However, as a brief introduction, each computer on a network is given a numerical address in the format xxx.xxx.xxx.xxx (known as an IP address). For example, 192.168.0.2. This ensures that network traffic ends up the correct place. On server-based networks it is common to find that the server automatically allocates each computer with an IP address via a service called Dynamic Host Configuration Protocol (DHCP). On peer-to-peer networks the router may act as a DHCP service, but in some cases fixed or "static" IP addresses are allocated to the machines when they are first configured by whoever set up the network.

To see your IP settings in Windows open a command prompt (Start, Run, then type cmd) and at the prompt type ipconfig /all. This command is not a diagnostic utility, but if it does not show any IP information this could indicate that something is amiss! Problems will occur when using static IP addresses and two PCs are given the same one. Just as having houses on a street with same number would cause the postal staff to have serious delivery problems, IP address conflicts cause your network problems. Windows will warn you if you assign the same IP address as one used by another computer on the network if that computer is switched on. If you are setting up a new PC check that you carefully enter the IP information – make sure that the first three sets of numbers you use are identical and the last one unique. If you can use DHCP do so – it is much easier to manage!

Checking IP Settings

If you have a PC which cannot see the Internet, check out the TCP/IP properties (right click on Network Neighborhood or My Network Places or Network Connections on the desktop and select Properties).

In Windows XP right click on Local Area Network and select Properties, then TCP/IP which is linked to the network adaptor and click Properties. In Windows Vista or 7, click the Networking tab and select your IP version and then Properties.

If your server is handling DHCP then you may find that all the settings are blank – essentially the server is handling the configuration for you.

If you have a static IP then the details for this will be shown, probably along with a gateway address (that of your Internet router) and perhaps the address of a DNS server.

Check that the gateway address is correct and that the DNS entries match those given to you by your Internet Service Provider.

If you are using a proxy server (where your local server acts as a web server by retrieving and caching pages from the Internet) then you'll need to set this up in the browser options (Tools > Network > Settings in Firefox; Tools > Internet Options > Connections > LAN settings in Internet Explorer.) Whoever set up the proxy server will need to give you the address (IP or computer name) and the port, probably 80 or 8080.

Network Cards

In Device Manager (Start > Control Panel > System > Hardware > Device Manager), check that all network cards are installed properly – there may be a yellow exclamation mark next to any that aren't. This can be caused by several things – the card installed is not the one which Windows thinks it is or the driver may be wrong or out of date. Note carefully the network card's make and model number – these are listed in Device Manager – and then visit the manufacturer's website (if you can get on the web!) where they may have recorded known issues.

If a new driver fails to sort the problem try using Belarc Advisor to run an audit on the PC to check the card. If that fails you may need to open the box and check what is actually written on the card.

Ping

A really useful tool for tracking down network errors is ping. Open up a command prompt and type ping followed by the IP address of a computer you know is on your network, the server for example e.g. ping 192.168.1.1. If your PC is on the network and can see the server you should get a response from it in the form of a number of replies and some statistics. If this works, try pinging an address outside your network – 8.8.8.8 for example, which is one of Google's addresses. Note that some networks will not allow ping commands to reach the outside world for security reasons. If you ping a web address (for example, ping www.google.com) you will see if DNS is working properly.

Peer-to-Peer Networks

If you cannot access files or printers on a shared machine, first check that it is turned on. If it is, and other PCs can access its resources then you need to look more closely at the PC which cannot connect. For printer issues see the Knowledgebase article Printer Not Working?

If you cannot see shared resources on a peer-to-peer network, ensure the workgroup name is the same on all the PCs in the workgroup. In Windows XP right click on My Computer and bring up Properties – click on Network Identification and then on Properties. In Windows 7, right click on Computer, and look under Computer name, domain, and workgroup settings.

There's more on peer-to-peer networks and potential problems in the Knowledgebase article Setting Up a Small Peer-to-Peer Network.

Image: Keyboard stethoscope, Shutterstock