eth0 down... then what...

Rus Foster rghf at fsck.me.uk
Wed May 12 23:05:33 UTC 2004


On Wed, 12 May 2004, Robert Achmann wrote:

> ok - newbie admin question...
>
> I want to test out a cool command line command...
> ifconfig eth0 down
>
> wow! I can't connect to the internet...cool.
> ok...
>
> ifconfig eth0 up
>
> no joy...
>
> Q: what command can I use to determine why I no longer have an internet
> conection? netstat and ifconfig just give me a lovely bunch of summary
> info. What do I need to look at/do to:
> 1. verify that I am down
> 2. get the internet active again.
> (NO GUI PROGRAMS - command line answers only please! - although that's
> appearantly the only way to manage disk volumes & volume groups (whoah -
> later discussion!) )

Do a nestart -rn before the following

Try /etc/init.d/network restart

Look at netstat -rn

You will at least get a new default route

Rus

-- 
e: rghf at vpscolo.com : t: 1-888-327-6330
www.jvds.com - Root on your own box
www.vpscolo.com - Your next hosting company
www.cherryhosting.net - Shared Hosting With Everything On Top





More information about the fedora-list mailing list