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 ) id 1GFABi-0007Jg-AF for garchives@archives.gentoo.org; Mon, 21 Aug 2006 13:51:34 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k7LDm7nZ029028; Mon, 21 Aug 2006 13:48:07 GMT Received: from cranium.sybase.co.za (sqlprd.sybase.co.za [192.96.139.1]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k7LDiB6s003885 for ; Mon, 21 Aug 2006 13:44:20 GMT Received: from localhost (cranium.sybase.co.za [127.0.0.1]) by cranium.sybase.co.za (Postfix) with ESMTP id 7A8CE83460 for ; Mon, 21 Aug 2006 15:44:44 +0200 (SAST) X-Virus-Scanned: amavisd-new at sybase.co.za Received: from cranium.sybase.co.za ([127.0.0.1]) by localhost (cranium.sybase.co.za [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LbDvnaOcYU-n for ; Mon, 21 Aug 2006 15:44:37 +0200 (SAST) Received: from [192.168.2.140] (unknown [192.168.2.140]) by cranium.sybase.co.za (Postfix) with ESMTP id 49FB38346C for ; Mon, 21 Aug 2006 15:44:33 +0200 (SAST) Subject: Re: [gentoo-user] Re: /etc/conf.d/net From: Alan Mckinnon To: gentoo-user@lists.gentoo.org In-Reply-To: <9255127.rUmiBHuGQS@m-id.message-center.info> References: <200608191020.40691.gentoo.org@machturtle.com> <20060820055221.GA4812@sympatico.ca> <1156146443.26520.22.camel@gentoo> <9255127.rUmiBHuGQS@m-id.message-center.info> Content-Type: text/plain; charset=UTF-8 Date: Mon, 21 Aug 2006 15:43:17 +0200 Message-Id: <1156167798.26520.73.camel@gentoo> 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 X-Mailer: Evolution 2.6.2 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by robin.gentoo.org id k7LDm7o5029028 X-Archives-Salt: c1ea8e2c-0747-4ef5-83e5-e9004e6a287c X-Archives-Hash: 09acd1574368603c821c8c482aed4fa0 On Mon, 2006-08-21 at 10:05 +0200, Alexander Skwar wrote: > =C2=B7 Alan Mckinnon : > > Docs on /etc/conf.d/net are about as clear as mud from where I sit. T= he > > last thing I need to figure out is what exactly is the difference > > between config_eth0 and iface_eth0 entries? >=20 > Oh, that's simple! config_eth0 exists and iface_* doesn't. Quite > clear, as far as I'm concerned. Hmmm, it's now as clear as mud smeared all over a 100 foot black obsidian monolith. If iface_* doesn't exist, then why does it work on my machine? It not only works, but it works stably and well whereas config_* is unstable, eg if it can't find a dhcp server it tends to hang and wait forever. My /etc/init.d/net looks like: iface_eth0=3D"192.168.0.3 broadcast 192.168.0.255 netmask 255.255.255.0" iface_eth1=3D"dhcp" modules=3D( "wpa_supplicant" ) wpa_supplicant_eth0=3D"-Dipw2200" eth0 is a wired on-board nic, eth1 is an ipw2200 > > I once found a note in some other obscure doc that iface_eth0 seems t= o > > be the syntax for ifconfig, while config_eth0 seems to be for iproute= 2. > > Can anyone confirm or deny this? > > Check out the documentation in /etc/conf.d/net.example. It'll deny > that iface_* is for one tool and config_* for the other tool. I read it, but it doesn't deny anything - it simply doesn't mention iface_* at all. Maybe iface_* is deprecated, but I've used it since 2005.0 and that's what the docs said then. I haven't seen any updates about it either. The baselayout ebuild has several checks at the end for old deprecated files and veriables, but iface_* isn't one of them. I'm using baselayout-1.12.4-r6 alan --=20 gentoo-user@gentoo.org mailing list