On Mon, 2006-08-21 at 10:05 +0200, Alexander Skwar wrote:
> ยท Alan Mckinnon <[EMAIL PROTECTED]>:

> > 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 via email to