Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jan 2002 11:20:39 -0600
From:      "John Hoover" <johnhoover@home.com>
To:        <questions@freebsd.org>
Subject:   DHCP config question
Message-ID:  <002101c19eb2$1ed61b40$c801a8c0@internal.unknown>

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

Finally converted from static IP to DHCP to make Comcast happy. 

Ok, Here's my question, setup seems ok, resolv.conf being updated
correctly, route tables, ifconfig looks right, but it's not setting
my hostname. Other words, the hostname command returns an empty string.
Anybody got any ideas?

Thanks,
John Hoover
johnhoover@home.com

Relevant setup stuff

FreeBSD 4.5-PRERELEASE #1: Sun Dec 23 18:01:29 CST 2001

/etc/rc.conf
hostname = "pcp608860pcs.rthfrd01.tn.comcast.net"
ifconfig_ed0="DHCP"
dhcp_program="/sbin/dhclient"
dhcp_flags=""

/etc/dhclient.conf
script "/sbin/dhclient-script";
interface "ed0" {
        send host-name "pcp608860pcs";
        request subnet-mask, broadcast-address, time-offset, routers,
                domain-name, domain-name-servers, host-name;
        require host-name;
}

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002101c19eb2$1ed61b40$c801a8c0>