Date: Wed, 16 Jan 2002 12:17:18 -0600 From: "John Hoover" <johnhoover@home.com> To: <questions@freebsd.org> Subject: DHCP config question Message-ID: <002501c19eba$0907db20$c801a8c0@internal.unknown> In-Reply-To: <3.0.5.32.20020116112707.017908f8@mail.sage-american.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002501c19eba$0907db20$c801a8c0>