Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dhcpd - how to make dhcp client send it's hostname
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
mani-man
n00b
n00b


Joined: 24 Jun 2003
Posts: 68

PostPosted: Thu Sep 04, 2003 9:56 am    Post subject: dhcpd - how to make dhcp client send it's hostname Reply with quote

Hi!

Ive recently finished installing gentoo. Since I'm using dhcp on my LAN with ddns, it relies on that the client sends their hostname to the dhcp-server in order for it to update the DNS for the ip the client recieved.

Anyone that could point me in the right direction?

br
.m
Back to top
View user's profile Send private message
water
Guru
Guru


Joined: 19 Jun 2002
Posts: 387
Location: Zierikzee, The Netherlands

PostPosted: Thu Sep 04, 2003 10:55 am    Post subject: Reply with quote

From the manpage of dhcpcd:

Quote:

-h <hostname>
specifies a string used for the hostname option field when dhcpcd sends DHCP messages. Some DHCP servers, notably those used by @Home Networks, require the hostname option field containing a specific string in the DHCP messages from clients.

_________________
Groeten uit Holland
Back to top
View user's profile Send private message
mani-man
n00b
n00b


Joined: 24 Jun 2003
Posts: 68

PostPosted: Thu Sep 04, 2003 11:04 am    Post subject: Reply with quote

Oh, forgive me. Didnt find the man page since i confused dhcpcd with dhcpd.

Thanks!
Back to top
View user's profile Send private message
misfit_nl
n00b
n00b


Joined: 04 Sep 2003
Posts: 1

PostPosted: Thu Sep 04, 2003 11:08 am    Post subject: Re: dhcpd - how to make dhcp client send it's hostname Reply with quote

mani-man wrote:
Hi!

Ive recently finished installing gentoo. Since I'm using dhcp on my LAN with ddns, it relies on that the client sends their hostname to the dhcp-server in order for it to update the DNS for the ip the client recieved.

Anyone that could point me in the right direction?

br
.m


edit /etc/conf.d/net.

should look something like this
iface_eth0="dhcp"
dhcpd_eth0="-h <your hostname>"
_________________
doh!
Back to top
View user's profile Send private message
mani-man
n00b
n00b


Joined: 24 Jun 2003
Posts: 68

PostPosted: Thu Sep 04, 2003 11:27 am    Post subject: Reply with quote

Thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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