public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Александър Л. Димитров" <aleks_d@gmx.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Stop net.eth0 from starting?
Date: Sat, 4 Aug 2007 15:40:07 +0200	[thread overview]
Message-ID: <20070804134007.GA21145@brmbr> (raw)
In-Reply-To: <4ef07b8c0708020647i62b1c7ffw1196fb55045b33b8@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1027 bytes --]

On 08:47 Thu 02 Aug     , Dan Cowsill wrote:
> I've got wifi configured with madwifi and use my wifi interface a lot
> more than the ethernet I had thought that removing net.eth0 from
> rc-update, but that didn't seem to work.  Every time I booted, the
> interface tried to go up and get dhcp information.  I then read about
> and used a preup function to check that interfaces are actually
> connected before they are brought up, and this essentially solves the
> problem.  It occurs to me that it would just be a whole lot easier and
> cleaner if net.eth0 just didn't try to start at all, but I haven't
> found any way to do this short of removing the init.d script from
> rc-update.
> 
> My question is, is there any way to stop net.eth0 from starting
> besides ethtool's preup function?

There's yet another solution to this problem:

$ cat net
config_eth0=( null )

So just set the configuration for the interface to `null' so it doesn't
do atything when brought up at boot time.

Regards,
	Aleks

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

      parent reply	other threads:[~2007-08-04 13:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-02 13:47 [gentoo-user] Stop net.eth0 from starting? Dan Cowsill
2007-08-02 14:06 ` [gentoo-user] " Alexander Skwar
2007-08-02 14:53 ` [gentoo-user] " Neil Bothwick
2007-08-04 13:40 ` Александър Л. Димитров [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070804134007.GA21145@brmbr \
    --to=aleks_d@gmx.de \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox