From owner-freebsd-questions@FreeBSD.ORG Thu Feb 6 18:40:59 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 87E0522A for ; Thu, 6 Feb 2014 18:40:59 +0000 (UTC) Received: from oneyou.mcmli.com (oneyou.mcmli.com [IPv6:2001:470:1d:8da::100]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4F34616F2 for ; Thu, 6 Feb 2014 18:40:59 +0000 (UTC) Received: from sentry.24cl.com (sentry.24cl.com [IPv6:2001:470:89e9:1:feed::1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "sentry.24cl.com", Issuer "Mike's Certificate Authority" (verified OK)) by oneyou.mcmli.com (Postfix) with ESMTPS id 3fKpPN5VKRz1DNq for ; Thu, 6 Feb 2014 13:40:56 -0500 (EST) Received: from BigBloat (bigbloat.24cl.home [10.20.1.4]) by sentry.24cl.com (Postfix) with ESMTP id 3fKpPK418Yz1PWm for ; Thu, 6 Feb 2014 13:40:53 -0500 (EST) Message-ID: <201402061340490129.013D609C@smtp.24cl.home> X-Mailer: Courier 3.50.00.09.1098 (http://www.rosecitysoftware.com) (P) Date: Thu, 06 Feb 2014 13:40:49 -0500 From: "Mike." To: freebsd-questions@freebsd.org Subject: dhclient and 10.0 Content-Type: text/plain; charset="ISO-8859-1" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Feb 2014 18:40:59 -0000 I wrote a simple dhclient-exit-hooks script consisting only of the following three lines: logger -t deh entering dhclient-exit-hooks env | logger -t deh logger -t deh leaving dhclient-exit-hooks So far I've been using IPv4 DHCP only. When the lease on the IP address is renewed or changes, I see entries in the messages log corresponding to those three lines. However, when the computer first boots up, I do not see any entries in the messages log for the initial run of dhclient during the boot process. I'd like to see those entries, but I cannot find a configuration parameter that instructs dhclient to call the dhclient-exit-hooks script during the inital running of dhclient. rc.conf contains: ifconfig_fxp0="DHCP" dhclient_program="/sbin/dhclient" Am I missing something else that needs to be in rc.conf? Thanks.