Re: How to send hostname through DHCP more often.

From: Jörg Schütter (joerg_at_schuetter.org)
Date: 08/31/05

  • Next message: TreeBoy: "Re: How to send hostname through DHCP more often."
    Date: Wed, 31 Aug 2005 18:36:27 +0200
    To: debian-user@lists.debian.org
    
    

    Hello Bogdan,

    On Wed, 31 Aug 2005 12:00:26 -0400
    Bogdan Calmac <bcalmac@gmail.com> 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?

    /etc/dhclient.conf
    ...
    send dhcp-lease-time 3600;
    ...
    >

    Jörg

    -- 
    Jörg Schütter                      http://www.schuetter.org/joerg
    joerg@schuetter.org                http://www.lug-untermain.de/
    

  • Next message: TreeBoy: "Re: How to send hostname through DHCP more often."

    Relevant Pages

    • IE Hosted UserControl - javascript interaction not working.
      ... In my sample I have a simple control with a single button ... Within this method an event is raised once the hostname has been obtained, ... private void DoHostIdentificationComplete() ... public interface IMyControlCOMEvents ...
      (microsoft.public.dotnet.framework.windowsforms)
    • RE: IE Hosted UserControl - javascript interaction not working.
      ... public interface HostNameControlCOMIncoming ... string HostName ... To access public properties or invoke public methods of the control from ... need assign the control assembly embeded in the web page the permission to ...
      (microsoft.public.dotnet.framework.windowsforms)
    • Re: How to send hostname through DHCP more often.
      ... > the DHCP/DNS server loses the hostname ... configure dhclient to send the hostname at a certain interval? ... control the interval at which dhclient renews the lease and set it ...
      (Debian-User)
    • How to send hostname through DHCP more often.
      ... I register ... my hostname by adding ... configure dhclient to send the hostname at a certain interval? ... control the interval at which dhclient renews the lease and set it ...
      (Debian-User)
    • Re: dhcp evils
      ... >> the client's name is stmike, that the server told the client that the ... my dhclient told Cable One's dhcp server that I ... but not a hostname. ...
      (Fedora)