From owner-freebsd-bugs Mon Feb 12 12:50:12 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 8585637B503 for ; Mon, 12 Feb 2001 12:50:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f1CKo2D44884; Mon, 12 Feb 2001 12:50:02 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 8572337B491 for ; 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 X-Send-Pr-Version: www-1.0 Subject: kern/25038: dhcp client could not set hostname on boot Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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