Re: How to send hostname through DHCP more often.
From: TreeBoy (debian-user_at_petethetree.co.uk)
Date: 08/31/05
- Previous message: Jörg Schütter: "Re: How to send hostname through DHCP more often."
- In reply to: Bogdan Calmac: "How to send hostname through DHCP more often."
- Next in thread: Bogdan Calmac: "Re: Re: How to send hostname through DHCP more often."
- Maybe reply: Bogdan Calmac: "Re: Re: How to send hostname through DHCP more often."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: debian-user@lists.debian.org Date: Wed, 31 Aug 2005 17:43:53 +0100
On Wednesday 31 Aug 2005 17:00, Bogdan Calmac wrote:
> I use debian stable (sarge) and the dhcp3-client package. I register
> my hostname by adding
>
> send hostname "foo";
>
> in /etc/dhcp3/dhclient.conf. Everything works fine but for some reason
> the DHCP/DNS server (which I don't control) loses the hostname
> registration and the next day I need to connect to my machine using
> the IP. Once I logon, I do
>
> ifup --force eth0
>
> and the hostname is registered again. This is obviously not nice, so
> is it possible to:
>
> 1. configure dhclient to send the hostname at a certain interval?
> 2. configure dhclient to send just the hostname?
> 3. control the interval at which dhclient renews the lease and set it
> to a few hours so that the hostname is sent more frequently?
>
> Do you have any other suggestion for approaching this? Again, I cannot
> touch the server.
>
> In the worst case I would probably set a cron job to do "ifup --force eth0"
> :-(
I think the problem is that it should be "send host-name" instead of "send
hostname".
-- It's bad enough that life is a rat-race, but why do the rats always have to win? -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
- Previous message: Jörg Schütter: "Re: How to send hostname through DHCP more often."
- In reply to: Bogdan Calmac: "How to send hostname through DHCP more often."
- Next in thread: Bogdan Calmac: "Re: Re: How to send hostname through DHCP more often."
- Maybe reply: Bogdan Calmac: "Re: Re: How to send hostname through DHCP more often."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|