Ahh, wrong button.

----------  Videresendt melding  ----------

Subject: Re: [Ltsp-discuss] Hostname assignment
Date: Wed, 20 Nov 2002 22:31:16 +0100
From: Ragnar Wisl�ff <[EMAIL PROTECTED]>
To: Georg Baum <[EMAIL PROTECTED]>

onsdag 20. november 2002, 21:30 skrev du :
> I don't understand that: So the hostname gets passed? I thought the
> problem was that it did not get passed!

OK, I explained that a bit roughly. It's the fixed address ones with a
host <hostname> {}
that get one, not the dynamic ones.

> BTW; I never cared for the domain name, since all my clients are on
> the same domain.

So are ours.

> > Entering the ip and hostname in /etc/hosts does not have an effect
> > either.
> >
> > The dhcpd is 2.0pl5-11 (Debian Woody).
>
> Did you try v. 3? Don't forget to add

No I did not try v.3. Is that in woody?

> option option-128 code 128 = string;
> option option-129 code 129 = text;
>
> to dhcpd.conf, apart from that the old config file should work. I
> have used the woody versions of both dhcpd v2 and v3, and tehy both

Ah, so it *is* in woody.

> work with this setting for fixed address clients:
>
> group {
>   next-server myserver;
>   option domain-name-servers myserver;
>   use-host-decl-names on;
>   option option-128     e4:45:74:68:00:00;
>   option root-path      "192.168.0.254:/opt/ltsp/i386";
>
>   host Client-A11 {
>     hardware ethernet 00:00:21:4e:4f:5a;
>     filename "/tftpboot/lts/vmlinuz-2.4.19-ltsp-1";
>     fixed-address Client-A11;
>     option option-129     "NIC=ne IO=0x300";
>   }
> }

Great, thanks. We need to look into v3 of dhcpd it seems.

> > Perhaps it is not important for the client to have it's own
> > hostname set? When it does get a hostname, it gets set in
> > /etc/hosts as 127.0.0.1 in addition to localhost. Other than that
> > I can see no effects. But perhaps I'm not looking in the right
> > places?
>
> I think the only reason where it is important is lts.conf. If the
> client does not know its hostname, per client settings in lts.conf do
> only work with ip-addresses as section identifiers instead of
> hostnames.

Right. That makes sense. I need to test that, but we only use the
dynamic addresses for a sort of catch-all so that clients that have not
been entered explicitly into dhcpd still can get a connection. So if
the schools need to tweak anything they need to make sure the ws is
registered with its MAC address.


Thanks for your response.

--

Mvh
Ragnar Wisl�ff
----------
life is a reach. then you gybe.
---------------------

-------------------------------------------------------

-- 

Mvh
Ragnar Wisl�ff
----------
life is a reach. then you gybe.
---------------------


-------------------------------------------------------
This sf.net email is sponsored by: 
Battle your brains against the best in the Thawte Crypto 
Challenge. Be the first to crack the code - register now: 
http://www.gothawte.com/rd521.html
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.openprojects.net

Reply via email to