From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org)
	by nuthatch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-51466-garchives=archives.gentoo.org@gentoo.org>)
	id 1GPmUK-0006bl-CW
	for garchives@archives.gentoo.org; Tue, 19 Sep 2006 20:46:40 +0000
Received: from robin.gentoo.org (localhost [127.0.0.1])
	by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k8JKjTFe027532;
	Tue, 19 Sep 2006 20:45:29 GMT
Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.199])
	by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k8JKeVfu022877
	for <gentoo-user@lists.gentoo.org>; Tue, 19 Sep 2006 20:40:32 GMT
Received: by nz-out-0102.google.com with SMTP id n1so1940015nzf
        for <gentoo-user@lists.gentoo.org>; Tue, 19 Sep 2006 13:40:31 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
        s=beta; d=gmail.com;
        h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition;
        b=LZfn8ug+C4avKCYL4jH/D9eTMjocIgfUtXmPemr/fP+Jc9JT68DKVIoQtK3vD1/BJ2jYFe0YIT/DRij68JVQCpmBIugROmWF79LolEZeIpjg5igG9Bskf+Q41QdWhiD+vBBjmeTXUlAltiqq7Ert9+LeQyBDsYsxX6rSf+zi34s=
Received: by 10.65.93.18 with SMTP id v18mr15243425qbl;
        Tue, 19 Sep 2006 13:40:30 -0700 (PDT)
Received: by 10.65.156.16 with HTTP; Tue, 19 Sep 2006 13:40:30 -0700 (PDT)
Message-ID: <5bdc1c8b0609191340m9a87adctaef6f507cfc62c9e@mail.gmail.com>
Date: Tue, 19 Sep 2006 13:40:30 -0700
From: "Mark Knecht" <markknecht@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] hotplug/coldplug/init-script - net.eth0 is on when I don't want it on
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Archives-Salt: e638446e-b962-46be-afd0-efd5bcab1b63
X-Archives-Hash: 513bcce1f6f01799e3b1ef5c4e4bee81

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