Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Feb 2001 12:43:49 -0800 (PST)
From:      lev@serebryakov.spb.ru
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/25038: dhcp client could not set hostname on boot
Message-ID:  <200102122043.f1CKhnT40098@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         25038
>Category:       kern
>Synopsis:       dhcp client could not set hostname on boot
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 12 12:50:02 PST 2001
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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