From owner-freebsd-current@FreeBSD.ORG Tue Aug 21 22:37:43 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 656C4106564A; Tue, 21 Aug 2012 22:37:43 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [IPv6:2a01:4f8:131:60a2::2]) by mx1.freebsd.org (Postfix) with ESMTP id EDFB38FC16; Tue, 21 Aug 2012 22:37:42 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:8870:d54b:33e8:55b2]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPA id A714A4AC2D; Wed, 22 Aug 2012 02:37:41 +0400 (MSK) Date: Wed, 22 Aug 2012 02:37:38 +0400 From: Lev Serebryakov Organization: FreeBSD X-Priority: 3 (Normal) Message-ID: <19610511471.20120822023738@serebryakov.spb.ru> To: John Baldwin In-Reply-To: <201208211725.23381.jhb@freebsd.org> References: <20120821095527.GA33206@hell.ukr.net> <1959717636.20120821155308@serebryakov.spb.ru> <201208210934.31484.jhb@freebsd.org> <201208211725.23381.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable Cc: Garrett Cooper , freebsd-current@freebsd.org, current@freebsd.org, Peter Jeremy Subject: Re: r239356: does it mean, that synchronous dhcp and dhcplcinet with disabled devd gone? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lev@FreeBSD.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Aug 2012 22:37:43 -0000 Hello, John. You wrote 22 =E0=E2=E3=F3=F1=F2=E0 2012 =E3., 1:25:23: JB> Ok, this is what I came up with, somewhat loosely based on OpenBSD's dh= client. JB> I tested that it survives the following: JB> - Unplugging/replugging does not kill an existing ssh session JB> - Using ifconfig down/up does not kill an existing ssh session JB> - Plugging into a different network does cause dhclient to negotiate JB> a new lease on the new network THANK YOU! --=20 // Black Lion AKA Lev Serebryakov