Gentoo Archives: gentoo-dev

From: Paul de Vrieze <pauldv@××××××.nl>
To: Troy Dack <troy@××××××.com>, gentoo-dev@g.o
Subject: Re: [gentoo-dev] udhcp ebuild... please testy
Date: Mon, 05 Aug 2002 03:43:33
Message-Id: 200208051043.28675.pauldv@cs.kun.nl
In Reply to: Re: [gentoo-dev] udhcp ebuild... please testy by Troy Dack
1 On Saturday 03 August 2002 15:36, Troy Dack wrote:
2 > On Sat, 2002-08-03 at 17:11, christoph@×××××××.com wrote:
3 > > New ebuild for a dhcp package. Recommended by Jon Nelson.
4 > >
5 > > This is the right(tm) way of doing dhcp. dhcp events trigger scripts. The
6 > > current dhcpcd package is not doing that so that we have a braindead
7 > > implementation of dhcp right now:
8 > >
9 > > Current situatiom:
10 > > If a dhcp server is not available then
11 > > the boot process hangs and then timeouts and proceeds without networking.
12 > > If I now fix the dhcp server then gentoo will not recognize that an IP is
13 > > now available. Reboot is necessary to activate dhcp again.
14 >
15 > Why not just restart the interface? eg:
16 >
17 > /etc/init.d/net.eth0 restart
18
19 I myself wrote a hack that gets the old ip-address from the cache and
20 temporary installs it as the ip-address (my machine has a "static" address,
21 but lately the cable network has been unstable). This way the machine will
22 function well in case of network problems. Maybe such an "optional" hack
23 could also be included in the boot scripts of udhcp.
24
25 Paul
26
27 --
28 Paul de Vrieze
29 Junior Researcher
30 Mail: pauldv@××××××.nl
31 Homepage: http://www.devrieze.net