View previous topic :: View next topic |
Author |
Message |
doubled157940 Tux's lil' helper
Joined: 13 Sep 2006 Posts: 85
|
Posted: Fri Aug 24, 2007 5:33 pm Post subject: net.eth0 starting automatically not inside rc-update |
|
|
I'm running Gentoo on a laptop, so when I'm traveling around, most of the time I don't need Gentoo starting the network automatically, so I never added it to rc-update, and its not inside of rc-update when I run:
However, during boot, all of my network devices is automatically starting up and trying to do their own thing, slowing down my boot. I would like to know, what is causing my network devices to automatically start without rc-update, and how do I stop it. Thanks |
|
Back to top |
|
|
Stever Apprentice
Joined: 01 Mar 2005 Posts: 151 Location: North Carolina
|
Posted: Fri Aug 24, 2007 5:36 pm Post subject: |
|
|
Take a look at /etc/conf.d/rc
RC_HOTPLUG, RC_COLDPLUG and RC_PLUG_SERVICES are what you want to set. |
|
Back to top |
|
|
rman77 n00b
Joined: 18 Sep 2004 Posts: 50 Location: USA
|
Posted: Fri Aug 24, 2007 5:37 pm Post subject: |
|
|
udev is starting it for you
have a look at /etc/conf.d/rc
Code: |
RC_PLUG_SERVICES="!net.eth0"
|
**EDIT** Stever hit the post button first |
|
Back to top |
|
|
Stever Apprentice
Joined: 01 Mar 2005 Posts: 151 Location: North Carolina
|
Posted: Fri Aug 24, 2007 5:42 pm Post subject: |
|
|
rman77 wrote: | **EDIT** Stever hit the post button first |
I just gave a shorter answer |
|
Back to top |
|
|
doubled157940 Tux's lil' helper
Joined: 13 Sep 2006 Posts: 85
|
Posted: Fri Aug 24, 2007 6:09 pm Post subject: |
|
|
Code: | RC_PLUG_SERVICES="" |
thats what my line says, are you saying I should input:
to keep from any network interfaces from starting, or would this include net.lo? |
|
Back to top |
|
|
gerard27 Advocate
Joined: 04 Jan 2004 Posts: 2377 Location: Netherlands
|
Posted: Fri Aug 24, 2007 6:14 pm Post subject: |
|
|
Better make that Code: |
RC_PLUG_SERVICES="!net.*"
|
You probably also have PCMCA.
Gerard.
Well you beat me to it. _________________ To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download |
|
Back to top |
|
|
Stever Apprentice
Joined: 01 Mar 2005 Posts: 151 Location: North Carolina
|
Posted: Fri Aug 24, 2007 7:29 pm Post subject: |
|
|
doubled157940 wrote: | are you saying I should input:
to keep from any network interfaces from starting, or would this include net.lo? |
I think net.lo should be included in runlevel boot by default, so "!net.*" should be fine as long as you have added all the other interfaces you want using rc-update. |
|
Back to top |
|
|
broken_chaos Guru
Joined: 18 Jan 2006 Posts: 370 Location: Ontario, Canada
|
Posted: Fri Aug 24, 2007 7:43 pm Post subject: |
|
|
You could also look at ifplugd or netplug if you want the services to startup, but not actually activate until you plug the network cable in. |
|
Back to top |
|
|
|