public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alan Mckinnon <alan@linuxholdings.co.za>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user]  Re: /etc/conf.d/net
Date: Mon, 21 Aug 2006 15:43:17 +0200	[thread overview]
Message-ID: <1156167798.26520.73.camel@gentoo> (raw)
In-Reply-To: <9255127.rUmiBHuGQS@m-id.message-center.info>

On Mon, 2006-08-21 at 10:05 +0200, Alexander Skwar wrote:
> · Alan Mckinnon <alan@linuxholdings.co.za>:

> > Docs on /etc/conf.d/net are about as clear as mud from where I sit. The
> > last thing I need to figure out is what exactly is the difference
> > between config_eth0 and iface_eth0 entries?
> 
> 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="192.168.0.3 broadcast 192.168.0.255 netmask 255.255.255.0"
iface_eth1="dhcp"
modules=( "wpa_supplicant" )
wpa_supplicant_eth0="-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 to
> > be the syntax for ifconfig, while config_eth0 seems to be for iproute2.
> > 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


-- 
gentoo-user@gentoo.org mailing list



  reply	other threads:[~2006-08-21 13:51 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-19 14:20 [gentoo-user] /etc/conf.d/net David Corbin
2006-08-19 17:09 ` Pablo Antonio
2006-08-19 23:59   ` David Corbin
2006-08-20  5:52 ` Philip Webb
2006-08-21  7:47   ` Alan Mckinnon
2006-08-21  8:05     ` [gentoo-user] /etc/conf.d/net Alexander Skwar
2006-08-21 13:43       ` Alan Mckinnon [this message]
2006-08-21 21:11         ` [gentoo-user] " Alexander Skwar

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=1156167798.26520.73.camel@gentoo \
    --to=alan@linuxholdings.co.za \
    --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