Gentoo Archives: gentoo-user

From: Mark Knecht <markknecht@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] hotplug/coldplug/init-script - net.eth0 is on when I don't want it on
Date: Tue, 19 Sep 2006 20:46:40
Message-Id: 5bdc1c8b0609191340m9a87adctaef6f507cfc62c9e@mail.gmail.com
1 Hi,
2 For some reason my son's machine has started turning on net.eth0
3 recently. For the last few days it seems to turn on when he boots even
4 though I'm not enabling it in rc-update. Granted, I was lazy and made
5 them both 192.168.1.59 so that I wouldn't have any trouble finding him
6 no matter which interface he was using, but what is starting net.eth0
7 if it's not enabled in rc-update? Is this coldplug or hotplug?
8
9 Everything works fine when I just shut off net.eth0 by hand but I'm
10 sure I shouldn't have to do that.
11
12 How can I keep net.eth0 off unless I turn it on by hand? I am not
13 loading forcedeth explicitly but it's getting loaded anyway.
14
15 Thanks,
16 Mark
17
18 Sector9 ~ # route
19 Kernel IP routing table
20 Destination Gateway Genmask Flags Metric Ref Use Iface
21 192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
22 192.168.1.0 * 255.255.255.0 U 0 0 0 wlan0
23 loopback * 255.0.0.0 U 0 0 0 lo
24 default LinkSys 0.0.0.0 UG 0 0 0 eth0
25 default LinkSys 0.0.0.0 UG 2000 0 0 wlan0
26 Sector9 ~ #
27
28 Sector9 ~ # rc-update show --verbose
29 alsasound | default
30 bootmisc | boot
31 checkfs | boot
32 checkroot | boot
33 clock | boot
34 coldplug | boot
35 consolefont | boot
36 crypto-loop |
37 cupsd | default
38 esound |
39 gpm |
40 hdparm |
41 hlds |
42 hostname | boot
43 hotplug | default
44 keymaps | boot
45 lircd |
46 lircmd |
47 local | default nonetwork
48 localmount | boot
49 modules | boot
50 mysql |
51 net.eth0 |
52 net.lo | boot
53 net.wlan0 | default
54 netmount | default
55 nscd |
56 numlock |
57 rmnologin | boot
58 rsyncd |
59 sshd | default
60 syslog-ng | default
61 urandom | boot
62 vixie-cron | default
63 xdm | default
64 Sector9 ~ #
65
66 Sector9 ~ # /etc/init.d/net.eth0 stop
67 * Stopping eth0
68 * Bringing down eth0
69 * Shutting down eth0 ...
70 [ ok ]
71 Sector9 ~ #
72
73 Sector9 ~ # route
74 Kernel IP routing table
75 Destination Gateway Genmask Flags Metric Ref Use Iface
76 192.168.1.0 * 255.255.255.0 U 0 0 0 wlan0
77 loopback * 255.0.0.0 U 0 0 0 lo
78 default LinkSys 0.0.0.0 UG 2000 0 0 wlan0
79 Sector9 ~ #
80
81 Sector9 ~ # lsmod
82 Module Size Used by
83 snd_seq 40208 0
84 snd_seq_device 5708 1 snd_seq
85 snd_pcm_oss 32864 1
86 snd_mixer_oss 13568 1 snd_pcm_oss
87 tulip 41696 0
88 forcedeth 22732 0
89 snd_hda_intel 13396 1
90 snd_hda_codec 124720 1 snd_hda_intel
91 snd_pcm 65224 3 snd_pcm_oss,snd_hda_intel,snd_hda_codec
92 snd_timer 17476 2 snd_seq,snd_pcm
93 snd 39332 8
94 snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_hda_codec,snd_pcm,snd_timer
95 soundcore 6752 2 snd
96 snd_page_alloc 6856 2 snd_hda_intel,snd_pcm
97 nvidia 4543892 12
98 nvidia_agp 5404 0
99 agpgart 24944 2 nvidia,nvidia_agp
100 ndiswrapper 140048 0
101 Sector9 ~ #
102 --
103 gentoo-user@g.o mailing list

Replies