From owner-freebsd-questions Wed Jan 16 10:16: 3 2002 Delivered-To: freebsd-questions@freebsd.org Received: from femail6.sdc1.sfba.home.com (femail6.sdc1.sfba.home.com [24.0.95.86]) by hub.freebsd.org (Postfix) with ESMTP id 0CE8837B400 for ; Wed, 16 Jan 2002 10:15:59 -0800 (PST) Received: from johnhoover ([68.53.157.101]) by femail6.sdc1.sfba.home.com (InterMail vM.4.01.03.20 201-229-121-120-20010223) with SMTP id <20020116181558.UBSD17929.femail6.sdc1.sfba.home.com@johnhoover> for ; Wed, 16 Jan 2002 10:15:58 -0800 Reply-To: From: "John Hoover" To: Subject: DHCP config question Date: Wed, 16 Jan 2002 12:17:18 -0600 Message-ID: <002501c19eba$0907db20$c801a8c0@internal.unknown> MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <3.0.5.32.20020116112707.017908f8@mail.sage-american.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Importance: Normal 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 Well, that did it, but I would not have guessed it. It still doesn’t remove my wonder about why dhclient after requesting and requiring the hostname from the server isn’t setting it for me with the hostname definition removed. John. -----Original Message----- From: owner-freebsd-questions@FreeBSD.ORG [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of jacks@sage-american.com 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message