Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dhcp client doesn't post hostname?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
neilblue
n00b
n00b


Joined: 11 Jul 2003
Posts: 74

PostPosted: Mon Jul 28, 2003 8:20 am    Post subject: dhcp client doesn't post hostname? Reply with quote

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
View user's profile Send private message
dma
Guru
Guru


Joined: 31 Jan 2003
Posts: 437
Location: Charlotte, NC, USA

PostPosted: Mon Jul 28, 2003 11:39 am    Post subject: Reply with quote

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
View user's profile Send private message
neilblue
n00b
n00b


Joined: 11 Jul 2003
Posts: 74

PostPosted: Mon Jul 28, 2003 6:59 pm    Post subject: Reply with quote

that works great thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum