1 |
On Mon, 2006-08-21 at 10:05 +0200, Alexander Skwar wrote: |
2 |
> · Alan Mckinnon <alan@××××××××××××××××.za>: |
3 |
|
4 |
> > Docs on /etc/conf.d/net are about as clear as mud from where I sit. The |
5 |
> > last thing I need to figure out is what exactly is the difference |
6 |
> > between config_eth0 and iface_eth0 entries? |
7 |
> |
8 |
> Oh, that's simple! config_eth0 exists and iface_* doesn't. Quite |
9 |
> clear, as far as I'm concerned. |
10 |
|
11 |
Hmmm, it's now as clear as mud smeared all over a 100 foot black |
12 |
obsidian monolith. If iface_* doesn't exist, then why does it work on my |
13 |
machine? It not only works, but it works stably and well whereas |
14 |
config_* is unstable, eg if it can't find a dhcp server it tends to hang |
15 |
and wait forever. My /etc/init.d/net looks like: |
16 |
|
17 |
iface_eth0="192.168.0.3 broadcast 192.168.0.255 netmask 255.255.255.0" |
18 |
iface_eth1="dhcp" |
19 |
modules=( "wpa_supplicant" ) |
20 |
wpa_supplicant_eth0="-Dipw2200" |
21 |
|
22 |
eth0 is a wired on-board nic, eth1 is an ipw2200 |
23 |
|
24 |
> > I once found a note in some other obscure doc that iface_eth0 seems to |
25 |
> > be the syntax for ifconfig, while config_eth0 seems to be for iproute2. |
26 |
> > Can anyone confirm or deny this? |
27 |
> |
28 |
> Check out the documentation in /etc/conf.d/net.example. It'll deny |
29 |
> that iface_* is for one tool and config_* for the other tool. |
30 |
|
31 |
I read it, but it doesn't deny anything - it simply doesn't mention |
32 |
iface_* at all. Maybe iface_* is deprecated, but I've used it since |
33 |
2005.0 and that's what the docs said then. I haven't seen any updates |
34 |
about it either. The baselayout ebuild has several checks at the end for |
35 |
old deprecated files and veriables, but iface_* isn't one of them. |
36 |
|
37 |
I'm using baselayout-1.12.4-r6 |
38 |
|
39 |
alan |
40 |
|
41 |
|
42 |
-- |
43 |
gentoo-user@g.o mailing list |