View previous topic :: View next topic |
Author |
Message |
mani-man n00b
Joined: 24 Jun 2003 Posts: 68
|
Posted: Thu Sep 04, 2003 9:56 am Post subject: dhcpd - how to make dhcp client send it's hostname |
|
|
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 |
|
|
water Guru
Joined: 19 Jun 2002 Posts: 387 Location: Zierikzee, The Netherlands
|
Posted: Thu Sep 04, 2003 10:55 am Post subject: |
|
|
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 |
|
|
mani-man n00b
Joined: 24 Jun 2003 Posts: 68
|
Posted: Thu Sep 04, 2003 11:04 am Post subject: |
|
|
Oh, forgive me. Didnt find the man page since i confused dhcpcd with dhcpd.
Thanks! |
|
Back to top |
|
|
misfit_nl n00b
Joined: 04 Sep 2003 Posts: 1
|
Posted: Thu Sep 04, 2003 11:08 am Post subject: Re: dhcpd - how to make dhcp client send it's hostname |
|
|
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 |
|
|
mani-man n00b
Joined: 24 Jun 2003 Posts: 68
|
Posted: Thu Sep 04, 2003 11:27 am Post subject: |
|
|
Thanks! |
|
Back to top |
|
|
|