* [gentoo-dev] udhcp ebuild... please testy
@ 2002-08-03 7:11 christoph
2002-08-03 13:36 ` Troy Dack
0 siblings, 1 reply; 3+ messages in thread
From: christoph @ 2002-08-03 7:11 UTC (permalink / raw
To: gentoo-dev
New ebuild for a dhcp package. Recommended by Jon Nelson.
This is the right(tm) way of doing dhcp. dhcp events trigger scripts. The
current dhcpcd package is not doing that so that we have a braindead
implementation of dhcp right now:
Current situatiom:
If a dhcp server is not available then
the boot process hangs and then timeouts and proceeds without networking.
If I now fix the dhcp server then gentoo will not recognize that an IP is
now available. Reboot is necessary to activate dhcp again.
udhcp sits in the background and will configure networking when an IP
becomes available. No hangs on boot. Integration with boot up scripts not
yet done.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-dev] udhcp ebuild... please testy
2002-08-03 7:11 [gentoo-dev] udhcp ebuild... please testy christoph
@ 2002-08-03 13:36 ` Troy Dack
2002-08-05 8:43 ` Paul de Vrieze
0 siblings, 1 reply; 3+ messages in thread
From: Troy Dack @ 2002-08-03 13:36 UTC (permalink / raw
To: gentoo-dev
On Sat, 2002-08-03 at 17:11, christoph@lameter.com wrote:
> New ebuild for a dhcp package. Recommended by Jon Nelson.
>
> This is the right(tm) way of doing dhcp. dhcp events trigger scripts. The
> current dhcpcd package is not doing that so that we have a braindead
> implementation of dhcp right now:
>
> Current situatiom:
> If a dhcp server is not available then
> the boot process hangs and then timeouts and proceeds without networking.
> If I now fix the dhcp server then gentoo will not recognize that an IP is
> now available. Reboot is necessary to activate dhcp again.
Why not just restart the interface? eg:
/etc/init.d/net.eth0 restart
--
Troy Dack
http://linuxserver.tkdack.com http://gentoo.tkdack.com
"You can't survive by sucking the juice from a wet mitten."
-- Charles Schulz, "Things I've Had to Learn Over and
Over and Over"
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-dev] udhcp ebuild... please testy
2002-08-03 13:36 ` Troy Dack
@ 2002-08-05 8:43 ` Paul de Vrieze
0 siblings, 0 replies; 3+ messages in thread
From: Paul de Vrieze @ 2002-08-05 8:43 UTC (permalink / raw
To: Troy Dack, gentoo-dev
On Saturday 03 August 2002 15:36, Troy Dack wrote:
> On Sat, 2002-08-03 at 17:11, christoph@lameter.com wrote:
> > New ebuild for a dhcp package. Recommended by Jon Nelson.
> >
> > This is the right(tm) way of doing dhcp. dhcp events trigger scripts. The
> > current dhcpcd package is not doing that so that we have a braindead
> > implementation of dhcp right now:
> >
> > Current situatiom:
> > If a dhcp server is not available then
> > the boot process hangs and then timeouts and proceeds without networking.
> > If I now fix the dhcp server then gentoo will not recognize that an IP is
> > now available. Reboot is necessary to activate dhcp again.
>
> Why not just restart the interface? eg:
>
> /etc/init.d/net.eth0 restart
I myself wrote a hack that gets the old ip-address from the cache and
temporary installs it as the ip-address (my machine has a "static" address,
but lately the cable network has been unstable). This way the machine will
function well in case of network problems. Maybe such an "optional" hack
could also be included in the boot scripts of udhcp.
Paul
--
Paul de Vrieze
Junior Researcher
Mail: pauldv@cs.kun.nl
Homepage: http://www.devrieze.net
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-08-05 8:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-03 7:11 [gentoo-dev] udhcp ebuild... please testy christoph
2002-08-03 13:36 ` Troy Dack
2002-08-05 8:43 ` Paul de Vrieze
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox