Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
net.eth0 starting automatically not inside rc-update
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
doubled157940
Tux's lil' helper
Tux's lil' helper


Joined: 13 Sep 2006
Posts: 85

PostPosted: Fri Aug 24, 2007 5:33 pm    Post subject: net.eth0 starting automatically not inside rc-update Reply with quote

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:
Code:
rc-update show

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
View user's profile Send private message
Stever
Apprentice
Apprentice


Joined: 01 Mar 2005
Posts: 151
Location: North Carolina

PostPosted: Fri Aug 24, 2007 5:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
rman77
n00b
n00b


Joined: 18 Sep 2004
Posts: 50
Location: USA

PostPosted: Fri Aug 24, 2007 5:37 pm    Post subject: Reply with quote

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 :P
Back to top
View user's profile Send private message
Stever
Apprentice
Apprentice


Joined: 01 Mar 2005
Posts: 151
Location: North Carolina

PostPosted: Fri Aug 24, 2007 5:42 pm    Post subject: Reply with quote

rman77 wrote:
**EDIT** Stever hit the post button first :P

I just gave a shorter answer ;)
Back to top
View user's profile Send private message
doubled157940
Tux's lil' helper
Tux's lil' helper


Joined: 13 Sep 2006
Posts: 85

PostPosted: Fri Aug 24, 2007 6:09 pm    Post subject: Reply with quote

Code:
RC_PLUG_SERVICES=""

thats what my line says, are you saying I should input:
Code:
!net.*

to keep from any network interfaces from starting, or would this include net.lo?
Back to top
View user's profile Send private message
gerard27
Advocate
Advocate


Joined: 04 Jan 2004
Posts: 2377
Location: Netherlands

PostPosted: Fri Aug 24, 2007 6:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
Stever
Apprentice
Apprentice


Joined: 01 Mar 2005
Posts: 151
Location: North Carolina

PostPosted: Fri Aug 24, 2007 7:29 pm    Post subject: Reply with quote

doubled157940 wrote:
are you saying I should input:
Code:
!net.*

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
View user's profile Send private message
broken_chaos
Guru
Guru


Joined: 18 Jan 2006
Posts: 370
Location: Ontario, Canada

PostPosted: Fri Aug 24, 2007 7:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum