Gentoo Archives: gentoo-amd64

From: Mike Owen <kyphros@×××××.com>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] installing (2nd)
Date: Wed, 15 Feb 2006 21:58:00
Message-Id: 8f5ca2210602151355x5e70bcc1o3a017b5415fd711d@mail.gmail.com
In Reply to: [gentoo-amd64] installing (2nd) by Thierry de Coulon
1 On 2/15/06, Thierry de Coulon <tcoulon@××××××××.ch> wrote:
2 > Hello, I'm back :)
3 >
4
5 Welcome back :)
6
7 > anyway, the problem is that that while Gentoo mostly
8 > identifies the first port as Ethernet, it sometimes jumps on the second.
9
10 Use nameif.
11
12 Add to /etc/conf.d/local.start something like this:
13
14 /sbin/nameif temp.eth0 <mac of the primary interface>
15 /sbin/nameif temp.eth1 <mac of the second interface>
16
17 /sbin/nameif eth0 <mac of the primary interface>
18 /sbin/nameif eth1 <mac of the secondary interface>
19
20 It's a little clunky, but it works. Ensure local is set to start at
21 boot, and add "before *" to the depend section:
22
23 depend() {
24 before *
25 }
26
27
28 This will ensure it gets started before anything touches the
29 interfaces, and will make sure the correct interface is eth0 every
30 time.
31
32 I'm sure there is a better/easier way of doing this, but it's a stupid
33 hack that works for me :)
34
35 HTH,
36 Mike
37
38 --
39 gentoo-amd64@g.o mailing list

Replies

Subject Author
Re: [gentoo-amd64] installing (2nd) David Guerizec <david@××××××××.net>