Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Mar 2005 23:50:31 +0100
From:      martinko <martinkov@pobox.sk>
To:        freebsd-doc@freebsd.org
Subject:   worth mentioning: making DHCP run on startup
Message-ID:  <423A09B7.4030704@pobox.sk>

next in thread | raw e-mail | index | archive | help
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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?423A09B7.4030704>