From owner-freebsd-questions@FreeBSD.ORG Thu Sep 23 07:17:55 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C1F21065672 for ; Thu, 23 Sep 2010 07:17:55 +0000 (UTC) (envelope-from raghu@mri.ernet.in) Received: from hrimail.hri.res.in (hrimail.hri.res.in [210.212.50.7]) by mx1.freebsd.org (Postfix) with ESMTP id 1CA228FC08 for ; Thu, 23 Sep 2010 07:17:53 +0000 (UTC) Received: from ipc2.mri.ernet.in (unknown [192.168.3.2]) by hrimail.hri.res.in (Postfix) with ESMTP id 62BA897ECA for ; Thu, 23 Sep 2010 13:08:23 +0530 (IST) Received: from riemann.mri.ernet.in (riemann.mri.ernet.in [192.168.3.122]) by ipc2.mri.ernet.in (Postfix) with ESMTP id 4903076250 for ; Thu, 23 Sep 2010 12:47:25 +0530 (IST) Received: from riemann.mri.ernet.in (localhost [127.0.0.1]) by riemann.mri.ernet.in (8.13.6/8.13.6) with ESMTP id o8N799H8090450 for ; Thu, 23 Sep 2010 12:39:09 +0530 (IST) (envelope-from raghu@riemann.mri.ernet.in) Received: (from raghu@localhost) by riemann.mri.ernet.in (8.13.6/8.13.6/Submit) id o8N7915r090449; Thu, 23 Sep 2010 12:39:01 +0530 (IST) (envelope-from raghu) From: "N. Raghavendra" To: FreeBSD Question In-Reply-To: <86hbhhnh8b.fsf@riemann.mri.ernet.in> (N. Raghavendra's message of "Thu, 23 Sep 2010 11:17:48 +0530") References: <86hbhhnh8b.fsf@riemann.mri.ernet.in> X-Organization: Harish-Chandra Research Institute (HRI) X-Address: Chhatnag Road, Jhusi, Allahabad 211 019, India X-URL: http://www.mri.ernet.in/ and http://www.retrotexts.net/ X-Phone: +91 (532) 2667 509, 2667 318, 2667 578, 2567 746, 2567 747 X-Fax: +91 (532) 2667 576, 2567 748, 2567 444, 2568 036 X-OpenPGP-Key-ID: 0x03618806 X-OpenPGP-Key-Fingerprint: C75D D0AF 457E 7454 BEC2 37AD C6E1 0407 0361 8806 X-OpenPGP-Public-Key-Available-At: http://www.keyserver.net/ Date: Thu, 23 Sep 2010 12:39:01 +0530 Message-ID: <86hbhh2aya.fsf@riemann.mri.ernet.in> User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Subject: Re: DHCP problem after upgrade [solved] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "N. Raghavendra" List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Sep 2010 07:17:55 -0000 At 2010-09-23T11:17:48+05:30, N. Raghavendra wrote: > I upgraded my system from 7.2-STABLE to 8.1-STABLE, and have done > `mergemaster'. Earlier the system used to get its IP address by > DHCP at boot time without any problem. After the upgrade, it is not > doing so. I have ifconfig_em0="DHCP" in /etc/rc.conf. After searching the Web and rc.conf(5), I came across the "SYNCDHCP" value for the ifconfig_ variable. So, either setting ifconfig_em0="SYNCDHCP", or leaving ifconfig_em0="DHCP" as it is and setting synchronous_dhclient="YES" in rc.conf works, and the system gets an IP address from the DHCP server at boot time. Regards, Raghavendra. -- N. Raghavendra | http://www.retrotexts.net/ Harish-Chandra Research Institute | http://www.mri.ernet.in/ See message headers for contact and OpenPGP information.