View previous topic :: View next topic |
Author |
Message |
neilblue n00b

Joined: 11 Jul 2003 Posts: 74
|
Posted: Mon Jul 28, 2003 8:20 am Post subject: dhcp client doesn't post hostname? |
|
|
Hello,
I have installed gentoo with dhcp set on the interface. The IP adress is assigned fine. But, on my server I run (RH9) dhcp updateing the dns records, so that when a client connects, their dhcp hostname is added to the dns records. However from my newly installed gentoo client, the dhcp host name does not seem to be sent to the dhcp server. Is there a way to set this, (I guess there is, I just don't know how to)?
Thank you
Neil Blue |
|
Back to top |
|
 |
dma Guru

Joined: 31 Jan 2003 Posts: 437 Location: Charlotte, NC, USA
|
Posted: Mon Jul 28, 2003 11:39 am Post subject: |
|
|
I had the same problem.
Open up /etc/conf.d/net
Add the "-h" option to the dhcpcd line like this:
Code: | dhcpcd_eth0="-h laureate" |
Where laureate is your host name. It works fine for me.
You might need to restart the "net.eth0" (or whatever) service.
- dma |
|
Back to top |
|
 |
neilblue n00b

Joined: 11 Jul 2003 Posts: 74
|
Posted: Mon Jul 28, 2003 6:59 pm Post subject: |
|
|
that works great thanks! |
|
Back to top |
|
 |
|