Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Aug 2012 01:01:28 +0400
From:      Lev Serebryakov <lev@FreeBSD.org>
To:        Warner Losh <imp@bsdimp.com>
Cc:        Ian Lepore <freebsd@damnhippie.dyndns.org>, freebsd-current@freebsd.org
Subject:   Re: r239356: does it mean, that synchronous dhcp and dhcplcinet with disabled devd gone?
Message-ID:  <1328222662.20120822010128@serebryakov.spb.ru>
In-Reply-To: <B9382A54-A00C-4FDE-9A52-939BB3BE12E2@bsdimp.com>
References:  <20120821095527.GA33206@hell.ukr.net> <67977762.20120821154035@serebryakov.spb.ru> <1959717636.20120821155308@serebryakov.spb.ru> <201208210934.31484.jhb@freebsd.org> <1049151425.20120821190433@serebryakov.spb.ru> <1345562163.27688.347.camel@revolution.hippie.lan> <709115163.20120821192652@serebryakov.spb.ru> <1345564507.27688.354.camel@revolution.hippie.lan> <1409150425.20120821210152@serebryakov.spb.ru> <1345570590.27688.367.camel@revolution.hippie.lan> <686419050.20120821214225@serebryakov.spb.ru> <B9382A54-A00C-4FDE-9A52-939BB3BE12E2@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello, Warner.
You wrote 22 =D0=B0=D0=B2=D0=B3=D1=83=D1=81=D1=82=D0=B0 2012 =D0=B3., 0:04:=
41:


>>  BTW, typical  MIPS  SoC-based  router has only 16MiB of flash. And,
>> yes, FreeBSD doesn't fit well in this size now, but why add another
>> mandatory program, only role of which is to monitor network cable and
>> re-run the same program every time?
WL> You'd typically not run dhclient in daemon mode in a SoC, since
WL> you don't want to chew up the memory all the time, and you'd
WL> likely replace the system dhclient with one that's simpler...  But
  My  ISP  wants lease renewal every 10800 second (3 hours). Do I need
to  add  cron  task  if  I  don't  want to run dhclient as a daemon on
router?

WL> the network notification part of devd would be trivial to
WL> reproduce if you wanted in a specialized daemon that would do what's re=
quired.
 IMHO, OpenBSD way, when dhclient renew lease after down/up cycle by
 itself, is much better.

--=20
// Black Lion AKA Lev Serebryakov <lev@FreeBSD.org>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1328222662.20120822010128>