O'Reilly logo

Linux Utilities Cookbook by James Kent Lewis

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Troubleshooting bad connections

This seems to happen occasionally, and at the worst possible time. These are the steps I normally take to diagnose and solve the problem on a wired connection. It is assumed that the connection worked properly at some time in the past.

Getting ready

There is no special setup for this example, unless you happen to have a broken machine somewhere. You can run most of these commands without fear of hurting a good system.

How to do it...

Try these steps when diagnosing a network issue:

  1. First let's make sure the connection is really down by pinging a known external address. I use Road Runner as my ISP, so for me the command would be:
    ping rr.com
    
  2. Something like this should appear:
  3. Press Ctrl + C to stop the output. If the command ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required