Repair a Connection


Besides Ipconfig and Ping, there's a graphical tool that lets you examine and troubleshoot your network connections.

The Status dialog box shows, well, the status of a given connection. To access this diagnostic tool, right-click on the connection in the Network Connections dialog box and choose Status. You get the interface shown in Figure 9-7.

Figure 9-7. The status of a connection.


You can also use the Support tab to display the connection's Big Three: IP address, subnet mask, and default gateway. It will also identify how the IP address was assigned.

If you're looking at the Status because the connection's not working, you'll be much more interested in the Repair button, which is also found on the Support tab. You can use this Repair button to initiate an automated repair. When you do, XP runs several commands in the background to try and get the connection up and running again. The commands include:

  • Disabling and enabling the network connection in question.

  • ipconfig /renew. Renews the adapter's IP address from a DHCP server.

  • arp -d. Flushes the Address Resolution Protocol cache. Incorrect cached entries can cause a computer name to be resolved to the wrong IP address.

  • Nbtstat -r. Reloads the NetBIOS cache.

  • Ipconfig/flushdns. Clears any existing entries in the DNS resolver cache. Discussed earlier.

  • Ipconfig/registerdns. Registers the computer name at the configured DNS server.

Of course, there's nothing that says you can't try these commands and actions yourself. With Repair, though, XP performs all the heavy lifting with a single mouse click. It's a real timesaver.



Spring Into Windows XP Service Pack 2
Spring Into Windows XP Service Pack 2
ISBN: 013167983X
EAN: 2147483647
Year: 2004
Pages: 275
Authors: Brian Culp

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net