From owner-freebsd-questions Wed Jan 16 9:27:23 2002 Delivered-To: freebsd-questions@freebsd.org Received: from sage-american.com (sage-american.com [216.122.141.44]) by hub.freebsd.org (Postfix) with ESMTP id C09E737B404 for ; Wed, 16 Jan 2002 09:27:16 -0800 (PST) Received: from SAGEONE (adsl-64-219-20-175.dsl.crchtx.swbell.net [64.219.20.175]) by sage-american.com (8.9.3/8.9.3) with SMTP id LAA12839; Wed, 16 Jan 2002 11:27:10 -0600 (CST) Message-Id: <3.0.5.32.20020116112707.017908f8@mail.sage-american.com> X-Sender: jacks@mail.sage-american.com X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Wed, 16 Jan 2002 11:27:07 -0600 To: , From: jacks@sage-american.com Subject: Re: DHCP config question In-Reply-To: <002101c19eb2$1ed61b40$c801a8c0@internal.unknown> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Syntax perhaps? Looks like you have extra spaces in rc.conf on hostname line: hostname = "pcp608860pcs.rthfrd01.tn.comcast.net" ...if that is an exact copy... At 11:20 AM 1.16.2002 -0600, John Hoover wrote: > >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 > > Best regards, Jack L. Stone, Server Admin =================================================== Sage-American http://www.sage-american.com jacks@sage-american.com "My center is giving way, my right is in retreat; ....situation excellent! ....I shall attack!" =================================================== To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message