Re: IP up

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Alexander Henry
Date:  
To: plug-discuss
Subject: Re: IP up
On Tue, 27 Jul 2004 09:17:01 -0700 (PDT), 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.
>
> =====


/etc/init.d/eth0 start

This is exactly how the boot script does it.

The directories /etc/rc? will contain symbolic links to stuff in
/etc/init.d . This is how it knows when to boot what.

http://www.tldp.org/LDP/intro-linux/html/sect_04_02.html

Though I don't have any on my Gentoo box :) Need to figure out Gentoo's
way behind-the-scenes-of-rc-update.

--

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