Sorry, the double post was my fault trying to clear out all the messages in the approval queue. Sorry to reply on the wrong message in the thread, but I just got access to a RedHat 8.0 box and here is the semi-official way to do it:
Add this line to /etc/sysconfig/network-scripts/ifcfg-eth0 DHCP_HOSTNAME="devin1.rn.byu.edu" If that doesn't work, try DHCP_HOSTNAME="devin1" One of those should do the trick. +-------------+---------------------------------------------+ | Byron Clark | GnuPG Fingerprint: 0365 6979 6C3E BC0C 56C0 | | | FB7F 12B3 75DD 042B EA68 | +-------------+---------------------------------------------+ On Thu, Feb 27, 2003 at 12:56:16AM -0700, Michael Brailsford wrote: > Did you post twice on purpose? If so, please don't it clutters things > up and it reflects poorly to post the same thing twice in so short a > time. > > > I live in Wymount and I'm running Redhat 8.0 on a couple computers. I'd > > like each to be able to request a hostname like devin1.rn.byu.edu from > > the DHCP or DNS server for my computer. How do I do that? > > Assuming that you are using dhcpcd as your dhcp client then you want to specify > the "-H" option. That will tell the dhcp client to set your hostname to > whatever the dhcp server says. I do not think that there is a way to > tell the dhcp server what hostname you want, so with the -H option, you > will get different hostnames each time you lose your dhcp lease. > > -- > Michael > GnuPG Fingerprint: 4C56 7C23 8BD9 8B39 C4D4 B8F3 42FB 3634 31B5 E963
pgp00000.pgp
Description: PGP signature
