Re: r239356: does it mean,
Hello, John.
You wrote 21 =E0=E2=E3=F3=F1=F2=E0 2012 =E3., 17:34:31:
JB> Humm. devd is the more common case, and we explicitly don't use devd t=
o start
JB> dhclient on boot even when devd is enabled (so out of the box dhcp woul=
d first
JB> be started by rc, but would be restarted by devd).
It is strange, and, maybe, changed some time ago, because when I
disable "devd" on my NanoBSD-based router (about year or year and half
ago), I've spent several hours to understand, why dhclient doesn't
start anymore. And I need to add this to rc.conf:
synchronous_dhclient=3D"YES"
JB> Another option is to rework dhclient to work like it does on OpenBSD wh=
ere it
JB> renews its lease if the link bounces, but to not exit when the link goe=
s down.
Yes, it looks like proper solution.
JB> That case would fix the currently broken case that you unplug your cabl=
e, take
JB> your laptop over to another network (e.g. take it home if suspend/resume
JB> works), then plug it back in and are still stuck with your old IP.
Yep. But _committed_ solution is very bad. For example, my ISP's
switch lost link every second day for second or two. I don't want to
lost all open connections, firewall state, etc, and to restart
dhclinet by hands, especially, when I'\m not at home anf my
girlfriend is. in such case. Another good example was provided by
Slava -- WiFi could disconnect for 10-15 seconds for multiple
reasons, and dropping of IP and all connections in such case is MAJOR
headache.
--=20
// Black Lion AKA Lev Serebryakov <lev@FreeBSD.org>
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
討論串 (同標題文章)
完整討論串 (本文為第 12 之 28 篇):