Re: IP up

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
Slet denne besked
Besvar denne besked
Skribent: Craig White
Dato:  
Til: plug-discuss
Emne: Re: IP up
On Tue, 2004-07-27 at 09:17, ec wrote:
> Being 'man page' stupid, how does one 'turn on' eth0
> from the command line? Do you have to be root?
>
> What is the syntax that does it? I know it is stupidly
> simple to do, but the wife turns on her computer after
> a storm passes before I get the modem hooked back up
> to the power and phone line. I just need the script to
> get her back up without rebooting her system.
>
> I have figured out how to kill mine, but so far
> haven't turned it back on except by reboot.
>

----
ifconfig
will list all the active interfaces

ifdown eth0 will make eth0 inactive
ifup eth0 will make eth0 active (based upon it's settings)

Craig

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss