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.67) (envelope-from ) id 1IHJx2-0002nu-Vs for garchives@archives.gentoo.org; Sat, 04 Aug 2007 13:45:53 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l74Dia6h003353; Sat, 4 Aug 2007 13:44:36 GMT Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l74DeRK8031176 for ; Sat, 4 Aug 2007 13:40:27 GMT Received: (qmail invoked by alias); 04 Aug 2007 13:40:27 -0000 Received: from e176246003.adsl.alicedsl.de (EHLO brmbr.local) [85.176.246.3] by mail.gmx.net (mp019) with SMTP; 04 Aug 2007 15:40:27 +0200 X-Authenticated: #14782887 X-Provags-ID: V01U2FsdGVkX18UvJkGZgAUFPPjgjbwoSluiE8KbYVWENucgRp7p6 ZGlF7Odg9bTm9M Received: from brmbr.local (brmbr.local [127.0.0.1]) by brmbr.local (8.14.1/8.14.1) with ESMTP id l74De7du029843 for ; Sat, 4 Aug 2007 15:40:07 +0200 Received: (from aleks@localhost) by brmbr.local (8.14.1/8.14.1/Submit) id l74De7DO029842 for gentoo-user@lists.gentoo.org; Sat, 4 Aug 2007 15:40:07 +0200 X-Authentication-Warning: brmbr.local: aleks set sender to aleks_d using -f Date: Sat, 4 Aug 2007 15:40:07 +0200 From: =?utf-8?B?0JDQu9C10LrRgdCw0L3QtNGK0YAg0JsuINCU0LjQvNC40YLRgNC+0LI=?= To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Stop net.eth0 from starting? Message-ID: <20070804134007.GA21145@brmbr> Mail-Followup-To: gentoo-user@lists.gentoo.org References: <4ef07b8c0708020647i62b1c7ffw1196fb55045b33b8@mail.gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VbJkn9YxBvnuCH5J" Content-Disposition: inline In-Reply-To: <4ef07b8c0708020647i62b1c7ffw1196fb55045b33b8@mail.gmail.com> User-Agent: Mutt/1.5.15 (2007-04-06) X-Y-GMX-Trusted: 0 X-Archives-Salt: 47941245-46b0-457a-9ea3-d9e70fca057e X-Archives-Hash: 2918fa403ca5b9186bb48892344bbd8a --VbJkn9YxBvnuCH5J Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. >=20 > 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=3D( 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 --VbJkn9YxBvnuCH5J Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.5 (GNU/Linux) iD8DBQFGtIG3rljAdGQVWuARAkWSAKCtBzqu/YN6Crm4evvYlxhOG3tGMQCgrqP1 GOQwE/3utbq6HJq+v5EORw4= =1/ij -----END PGP SIGNATURE----- --VbJkn9YxBvnuCH5J-- -- gentoo-user@gentoo.org mailing list