Gentoo Archives: gentoo-server

From: Joby Walker <zorloc@××××××××.org>
To: gentoo-server@l.g.o
Subject: Re: [gentoo-server] Disabling net.eth0
Date: Sun, 02 May 2004 07:27:21
Message-Id: 4094A2CF.1070403@imperium.org
In Reply to: Re: [gentoo-server] Disabling net.eth0 by Dadi
1 A couple more options:
2
3 1) delete the 3c59x module under /lib/modules -- then there will be no
4 module to load.
5 2) You might be able to disable the NIC in the BIOS of the laptop.
6
7 jbw
8
9 Dadi wrote:
10
11 > If you use hotplug, put the module name in /etc/hotplug/blacklist
12 > If not :-), put a rmmod 3c59x in /etc/conf.d/local.start
13 > Hopefully it will unload the module after loading and not before
14 >
15 > Regards,
16 > Dadi
17 >
18 > On Sunday 02 May 2004 02:59, Collin Starkweather wrote:
19 >
20 >>This is a question about my laptop, but I figure the folks on the server
21 >>list might be more in tune with the issues so please bear with me.
22 >>
23 >>I recently ran into a problem where my ethernet controller on my laptop
24 >>died a grisly death. It kinda works for a few minutes after booting,
25 >>then triggers a kernel panic. For those who want more detail, see
26 >>today's post at
27 >>
28 >> http://www.collinstarkweather.com
29 >>
30 >>Problem is, it's built into the motherboard. If a kernel panic isn't
31 >>triggered immediately on boot, I
32 >>
33 >> rmmod 3c59x
34 >>
35 >>which keeps the problem from cropping up and use my 802.11g card for
36 >>networking. This has led me to some interesting questions I haven't
37 >>been able to figure out.
38 >>
39 >>1) I could recompile my kernel without 3c59x, but is there a way
40 >>instead to simply keep the module from being loaded on boot?
41 >>
42 >>2) My wireless card is set up as an interface named ath0. But no
43 >>matter what I do, net.eth0 wants to come up on boot. `rc-update show |
44 >>grep eth0` gives
45 >>
46 >> net.eth0 |
47 >>
48 >>Doesn't look like I can disable it with rc-update since it's not
49 >>explicitly associated with a runlevel to begin with. Other than
50 >>renaming /etc/init.d/net.eth0, which seems an awful kludge, is there a
51 >>way to keep it from coming up on boot?
52 >>
53 >>Thanks,
54 >>
55 >>-Collin
56 >>
57 >>--
58 >>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
59 >>Collin Starkweather, Ph.D. collin.starkweather@××××××××××××××××××.com
60 >>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
61 >>
62 >>