From owner-freebsd-doc@FreeBSD.ORG  Thu Mar 17 22:50:36 2005
Return-Path: <owner-freebsd-doc@FreeBSD.ORG>
Delivered-To: freebsd-doc@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 3EDC616A4CE
	for <freebsd-doc@freebsd.org>; Thu, 17 Mar 2005 22:50:36 +0000 (GMT)
Received: from smtp.dkm.cz (smtp.dkm.cz [62.24.64.34])
	by mx1.FreeBSD.org (Postfix) with SMTP id 8DA5C43D41
	for <freebsd-doc@freebsd.org>; Thu, 17 Mar 2005 22:50:32 +0000 (GMT)
	(envelope-from martinkov@pobox.sk)
Received: (qmail 583 invoked by uid 0); 17 Mar 2005 22:50:31 -0000
Received: from r4i114.chello.upc.cz (HELO ?84.42.136.114?) (84.42.136.114)
  by smtp.dkm.cz with SMTP; 17 Mar 2005 22:50:31 -0000
Message-ID: <423A09B7.4030704@pobox.sk>
Date: Thu, 17 Mar 2005 23:50:31 +0100
From: martinko <martinkov@pobox.sk>
User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20050220
X-Accept-Language: sk, cs, en-gb, en-us, en
MIME-Version: 1.0
To: freebsd-doc@freebsd.org
Content-Type: multipart/mixed;
 boundary="------------050504070803060806010506"
Subject: worth mentioning: making DHCP run on startup
X-BeenThere: freebsd-doc@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: Documentation project <freebsd-doc.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-doc>,
	<mailto:freebsd-doc-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-doc>
List-Post: <mailto:freebsd-doc@freebsd.org>
List-Help: <mailto:freebsd-doc-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-doc>,
	<mailto:freebsd-doc-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 17 Mar 2005 22:50:36 -0000

This is a multi-part message in MIME format.
--------------050504070803060806010506
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

hello,

i had this problem when sysinstall(8) configured my network interface 
for DHCP (in /etc/rc.conf) but DHCP failed to initialise properly on 
(each) startup. long time afterwards only i found out simple solution to 
this - using "ifconfig {if} up" in /etc/start_if.{if}

i guess this is not uncommon problem, therefore i would suggest it to be 
mentioned in the handbook. it might save beginners many hours and nerves 
spent on this issue.

regards,

martin

ps: attached is the email i wanted to post to a newsgroup at that time 
but didn't eventually.

--------------050504070803060806010506
Content-Type: message/rfc822;
 name="Re: 5.3 and DHCP"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="Re: 5.3 and DHCP"

X-Identity-Key: id2
X-Account-Key: account3
Date: Tue, 01 Feb 2005 21:25:42 +0100
From: martinko <martinkov@pobox.sk>
User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20041016
X-Accept-Language: sk, cs, en-gb, en-us, en
MIME-Version: 1.0
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: 5.3 and DHCP
References: <10vg8v42rqgflc7@corp.supernews.com>
In-Reply-To: <10vg8v42rqgflc7@corp.supernews.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Rebel wrote:
> I can't get dhclient working. I've found info. on early version of 
> FreeBSD, but nothing close or preferable 5.3  I have the 5.3 manual.  I 
> simply have one computer to connect to my ISP using DHCP.  Good thing 
> Linux is working. Please help!

hello,
i have similar problem on my 5.3-R.
i've put (or initially sysinstall did) DHCP into rc.conf but it fails on 
every boot - my NIC gets configured with IP 0.0.0.0 and i'm getting 
kernel error messages from ARP.
then i usually try "dhclient -r sk0" which fails. so i try "dhclient -1 
sk0" which happens to configure my machine successfully.
nevertheless the same/similar story goes on on each boot.
could anyone point me into right direction pls?
cheers,
martin


--------------050504070803060806010506--