5 quick fixes for 'Net connection hang-ups

Dead Net connection? Use the power of the Windows command prompt to get back online fast.

When you start up Firefox or Internet Explorer, the last thing you want to see is a plain, white screen declaring 'The page cannot be displayed'. But if you ever do encounter one, we have the fix. Whether you work in Windows XP or Vista, tracking down connection failures can be a simple, methodical process.

Both XP and Vista are supposed to be advanced, graphical operating systems, but when your connection goes down, you'll find the solution in the command prompt - specifically, the Ipconfig command. Short for "Internet Protocol configuration," Ipconfig is key to establishing and reestablishing your Internet connectivity. Invariably, this command, with its array of appended parameters, is what your ISP's tech support rep will tell you to try when you're having difficulty getting online.

Here are five ways that you can raise your IP IQ and troubleshoot your connection yourself.

Web connection woes? Refresh your IP address

If you use DSL or cable broadband, you probably have a dynamic IP (Internet Protocol) address, which means that your PC's Internet address changes each time you log on. Your IP address should be assigned by DHCP (Dynamic Host Control Protocol).

From time to time, however, this process doesn't behave as dynamically as its name implies: Sometimes it doesn't assign a new address at boot-up, and you're stuck with the previous address. Since a fresh IP address is necessary to reach the Internet, when you open your browser, all you see is an error screen stating that the PC cannot establish a connection to the Internet.

Whether your system connects directly through a modem or via a router, the first step in getting an IP address assigned is to right-click the network icon in the system tray. From the resulting menu, select Repair. Windows will automatically flush the old addresses and request new ones from your router or Internet service provider, depending on how your PC is connected.

Most of the time, this operation works like a charm. But when it doesn't, you'll have to troubleshoot the situation manually, and this is where knowing the ins and outs of Ipconfig can help you get your connection up and running.

Click Start, Run and type cmd. In Vista you can save a step simply by typing cmd in the Start Search box.

At the command prompt, type ipconfig to see your currently known IP address, the subnet mask, and the default gateway for all adapters. Other adapters might include Wi-Fi and Bluetooth cards, although they may be listed as disconnected.

Ipconfig example

By itself, Ipconfig does nothing more than display information. To make it actually do something -- like refreshing your IP address -- you must add parameters preceded by a space and a forward slash. The two parameters that do the most effective job of repairing your Internet connection are '/release' and '/renew'.

Typing ipconfig /release instructs the DHCP server to erase the existing IP address for all adapters, be they ethernet or wireless. The process should take a few seconds, confirmed with a display in the DOS box showing all zeros for the IP address and subnet mask.

Now type ipconfig /renew. If the command is successful, a new IP address, a subnet mask, and the default gateway will appear along with the DNS suffix (basically your ISP's address, such as comcast.net).

Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Michael S. Lasky

PC World

Comments

Comments are now closed.

Most Popular Reviews

Follow Us

Best Deals on GoodGearGuide

Shopping.com

Latest News Articles

Resources

GGG Evaluation Team

Kathy Cassidy

STYLISTIC Q702

First impression on unpacking the Q702 test unit was the solid feel and clean, minimalist styling.

Anthony Grifoni

STYLISTIC Q572

For work use, Microsoft Word and Excel programs pre-installed on the device are adequate for preparing short documents.

Steph Mundell

LIFEBOOK UH574

The Fujitsu LifeBook UH574 allowed for great mobility without being obnoxiously heavy or clunky. Its twelve hours of battery life did not disappoint.

Andrew Mitsi

STYLISTIC Q702

The screen was particularly good. It is bright and visible from most angles, however heat is an issue, particularly around the Windows button on the front, and on the back where the battery housing is located.

Simon Harriott

STYLISTIC Q702

My first impression after unboxing the Q702 is that it is a nice looking unit. Styling is somewhat minimalist but very effective. The tablet part, once detached, has a nice weight, and no buttons or switches are located in awkward or intrusive positions.

Latest Jobs

Shopping.com

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?