From nobody@FreeBSD.org  Mon Feb 12 12:43:49 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 8572337B491
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 12 Feb 2001 12:43:49 -0800 (PST)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.1/8.11.1) id f1CKhnT40098;
	Mon, 12 Feb 2001 12:43:49 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200102122043.f1CKhnT40098@freefall.freebsd.org>
Date: Mon, 12 Feb 2001 12:43:49 -0800 (PST)
From: lev@serebryakov.spb.ru
To: freebsd-gnats-submit@FreeBSD.org
Subject: dhcp client could not set hostname on boot
X-Send-Pr-Version: www-1.0

>Number:         25038
>Category:       kern
>Synopsis:       dhcp client could not set hostname on boot
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    murray
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 12 12:50:02 PST 2001
>Closed-Date:    Fri Mar 18 02:33:31 GMT 2005
>Last-Modified:  Fri Mar 18 02:33:31 GMT 2005
>Originator:     Lev Serebryakov
>Release:        4.2-STABLE from 02022001
>Organization:
>Environment:
FreeBSD lev 4.2-STABLE FreeBSD 4.2-STABLE #0: Sun Feb  4 18:19:34 MSK 2001
  root@:/usr/obj/usr/src/sys/LEV586  i386

>Description:
I got this error on boot:
======================================================================
Doing initial network setup:
 hostname.
ifconfig: ioctl (SIOCDIFADDR): Can't assign requested address
dhclient: New IP Address(ed0): 192.168.1.1
dhclient: New Subnet Mask (ed0): 255.255.255.0
dhclient: New Broadcast Address(ed0): 192.168.1.255
dhclient: New Routers: 192.168.1.3
======================================================================

It apperas about 4 times for every 5 boots. And sometimes it works Ok.
If I have "hostanem="lev"" in my /etc/rc.conf fille, I got this error too, but hostname have been set Ok. If here is no "hostname" in rc.conf, error appears, and there is nor hostname ((Amnesiac) in login prompt).

All my network configuration is one line:
ifconfig_ed0="DHCP"

>How-To-Repeat:
Try to boot with DHCP client.
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->murray 
Responsible-Changed-By: murray 
Responsible-Changed-When: Tue Feb 19 01:21:21 PST 2002 
Responsible-Changed-Why:  
I'll look at this one. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=25038 
State-Changed-From-To: open->closed 
State-Changed-By: murray 
State-Changed-When: Fri Mar 18 02:33:14 GMT 2005 
State-Changed-Why:  
This has been fixed with upgrade of DHCP to 3.0.1. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=25038 
>Unformatted:
