* [gentoo-user] hotplug/coldplug/init-script - net.eth0 is on when I don't want it on
@ 2006-09-19 20:40 Mark Knecht
2006-09-19 21:01 ` Neil Bothwick
2006-09-19 21:03 ` [gentoo-user] " Remy Blank
0 siblings, 2 replies; 4+ messages in thread
From: Mark Knecht @ 2006-09-19 20:40 UTC (permalink / raw
To: gentoo-user
Hi,
For some reason my son's machine has started turning on net.eth0
recently. For the last few days it seems to turn on when he boots even
though I'm not enabling it in rc-update. Granted, I was lazy and made
them both 192.168.1.59 so that I wouldn't have any trouble finding him
no matter which interface he was using, but what is starting net.eth0
if it's not enabled in rc-update? Is this coldplug or hotplug?
Everything works fine when I just shut off net.eth0 by hand but I'm
sure I shouldn't have to do that.
How can I keep net.eth0 off unless I turn it on by hand? I am not
loading forcedeth explicitly but it's getting loaded anyway.
Thanks,
Mark
Sector9 ~ # route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
192.168.1.0 * 255.255.255.0 U 0 0 0 wlan0
loopback * 255.0.0.0 U 0 0 0 lo
default LinkSys 0.0.0.0 UG 0 0 0 eth0
default LinkSys 0.0.0.0 UG 2000 0 0 wlan0
Sector9 ~ #
Sector9 ~ # rc-update show --verbose
alsasound | default
bootmisc | boot
checkfs | boot
checkroot | boot
clock | boot
coldplug | boot
consolefont | boot
crypto-loop |
cupsd | default
esound |
gpm |
hdparm |
hlds |
hostname | boot
hotplug | default
keymaps | boot
lircd |
lircmd |
local | default nonetwork
localmount | boot
modules | boot
mysql |
net.eth0 |
net.lo | boot
net.wlan0 | default
netmount | default
nscd |
numlock |
rmnologin | boot
rsyncd |
sshd | default
syslog-ng | default
urandom | boot
vixie-cron | default
xdm | default
Sector9 ~ #
Sector9 ~ # /etc/init.d/net.eth0 stop
* Stopping eth0
* Bringing down eth0
* Shutting down eth0 ...
[ ok ]
Sector9 ~ #
Sector9 ~ # route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 wlan0
loopback * 255.0.0.0 U 0 0 0 lo
default LinkSys 0.0.0.0 UG 2000 0 0 wlan0
Sector9 ~ #
Sector9 ~ # lsmod
Module Size Used by
snd_seq 40208 0
snd_seq_device 5708 1 snd_seq
snd_pcm_oss 32864 1
snd_mixer_oss 13568 1 snd_pcm_oss
tulip 41696 0
forcedeth 22732 0
snd_hda_intel 13396 1
snd_hda_codec 124720 1 snd_hda_intel
snd_pcm 65224 3 snd_pcm_oss,snd_hda_intel,snd_hda_codec
snd_timer 17476 2 snd_seq,snd_pcm
snd 39332 8
snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_hda_codec,snd_pcm,snd_timer
soundcore 6752 2 snd
snd_page_alloc 6856 2 snd_hda_intel,snd_pcm
nvidia 4543892 12
nvidia_agp 5404 0
agpgart 24944 2 nvidia,nvidia_agp
ndiswrapper 140048 0
Sector9 ~ #
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] hotplug/coldplug/init-script - net.eth0 is on when I don't want it on
2006-09-19 20:40 [gentoo-user] hotplug/coldplug/init-script - net.eth0 is on when I don't want it on Mark Knecht
@ 2006-09-19 21:01 ` Neil Bothwick
2006-09-19 21:03 ` [gentoo-user] " Remy Blank
1 sibling, 0 replies; 4+ messages in thread
From: Neil Bothwick @ 2006-09-19 21:01 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 339 bytes --]
On Tue, 19 Sep 2006 13:40:30 -0700, Mark Knecht wrote:
> How can I keep net.eth0 off unless I turn it on by hand? I am not
> loading forcedeth explicitly but it's getting loaded anyway.
See the RC_PLUG_SERVICES section of /etc/conf.d/rc
--
Neil Bothwick
The truth shall make you free, but first it shall piss you off.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* [gentoo-user] Re: hotplug/coldplug/init-script - net.eth0 is on when I don't want it on
2006-09-19 20:40 [gentoo-user] hotplug/coldplug/init-script - net.eth0 is on when I don't want it on Mark Knecht
2006-09-19 21:01 ` Neil Bothwick
@ 2006-09-19 21:03 ` Remy Blank
2006-09-20 0:00 ` Mark Knecht
1 sibling, 1 reply; 4+ messages in thread
From: Remy Blank @ 2006-09-19 21:03 UTC (permalink / raw
To: gentoo-user
Mark Knecht wrote:
> How can I keep net.eth0 off unless I turn it on by hand? I am not
> loading forcedeth explicitly but it's getting loaded anyway.
Set the following variable in /etc/conf.d/rc:
RC_PLUG_SERVICES="!net.*"
This will disable hotplugging for all network interfaces. If you only
want to disable hotplugging for net.eth0, use the following:
RC_PLUG_SERVICES="!net.eth0"
HTH.
-- Remy
Remove underscore and suffix in reply address for a timely response.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] Re: hotplug/coldplug/init-script - net.eth0 is on when I don't want it on
2006-09-19 21:03 ` [gentoo-user] " Remy Blank
@ 2006-09-20 0:00 ` Mark Knecht
0 siblings, 0 replies; 4+ messages in thread
From: Mark Knecht @ 2006-09-20 0:00 UTC (permalink / raw
To: gentoo-user
Remy & Neil,
Thanks very much. This looks like exactly what I need.
With best regards,
Mark
On 9/19/06, Remy Blank <remy.blank_asps@pobox.com> wrote:
> Mark Knecht wrote:
> > How can I keep net.eth0 off unless I turn it on by hand? I am not
> > loading forcedeth explicitly but it's getting loaded anyway.
>
> Set the following variable in /etc/conf.d/rc:
>
> RC_PLUG_SERVICES="!net.*"
>
> This will disable hotplugging for all network interfaces. If you only
> want to disable hotplugging for net.eth0, use the following:
>
> RC_PLUG_SERVICES="!net.eth0"
>
> HTH.
> -- Remy
>
>
> Remove underscore and suffix in reply address for a timely response.
>
> --
> gentoo-user@gentoo.org mailing list
>
>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-09-20 0:08 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-19 20:40 [gentoo-user] hotplug/coldplug/init-script - net.eth0 is on when I don't want it on Mark Knecht
2006-09-19 21:01 ` Neil Bothwick
2006-09-19 21:03 ` [gentoo-user] " Remy Blank
2006-09-20 0:00 ` Mark Knecht
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox