Gentoo Archives: gentoo-user

From: Mark Shields <laebshade@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] eth0 fallback configuration is ignored
Date: Tue, 30 Oct 2007 12:08:48
Message-Id: 642958cc0710300503m7de8ac7ag1032986825dff286@mail.gmail.com
In Reply to: Re: [gentoo-user] eth0 fallback configuration is ignored by Mick
1 On 10/29/07, Mick <michaelkintzios@×××××.com> wrote:
2 >
3 > On Sunday 28 October 2007, Dan Farrell wrote:
4 > > On Sun, 28 Oct 2007 12:19:13 +0000
5 > >
6 > > Mick <michaelkintzios@×××××.com> wrote:
7 > > > On Saturday 27 October 2007, Dan Farrell wrote:
8 > > > > On Sat, 27 Oct 2007 21:58:11 +0930
9 > > > >
10 > > > > Iain Buchanan <iaindb@××××××××××××.au> wrote:
11 >
12 > > > > This behaviour is called APIPA (Automatic PRivate IP Addressing)
13 > > > > (from /etc/conf.d/net.example):
14 > > > > # APIPA is a module that tries to find a free address in the range
15 > > > > # Automatic Private IP Addressing (APIPA)
16 > > > > # use APIPA to find a free address in the range
17 > > > > # 169.254.0.0-169.254.255.255
18 > > > >
19 > > > > It provides DHCP-like functionality without a DHCP server. Pretty
20 > > > > useless, unless you use it to configure all your IPs or a route for
21 > > > > that subnet.
22 > > >
23 > > > Even worse, if your DHCP server comes up later, your PC will still
24 > > > hold on to APIPA - not sure how this feature can be of any use to be
25 > > > honest, but most devices these days from MS Windows to PDAs tend to
26 > > > behave like this.
27 >
28 > Let me correct myself here: my Gentoo boxen behave like this. A WinXP
29 > that I
30 > tested for this purpose does not. It comes up with the APIPA address and
31 > when a router becomes available in the network later on, it readily
32 > obtains a
33 > dhcp address and drops the APIPA. Any idea how to configure Gentoo to do
34 > the
35 > same?
36
37
38 I think ifplugd does this.
39
40 eix ifplugd
41 * sys-apps/ifplugd
42 Available versions: 0.28-r7 ~0.28-r8 {doc}
43 Homepage: http://0pointer.de/lennart/projects/ifplugd/
44 Description: Brings up/down ethernet ports automatically with
45 cable detection
46
47
48
49
50
51 --
52 - Mark Shields

Replies

Subject Author
Re: [gentoo-user] eth0 fallback configuration is ignored Mick <michaelkintzios@×××××.com>