Am Mittwoch, 20. November 2002 15:22 schrieb Ragnar Wisl�ff:
> Yes, that's there all right. And I can see that e.g. the mount
> request for the root file system reports the correct dns host
> name.
Well, on my system the mount request reports the IP-Address, but the client
knows its hostname.
> But the domain name is not set correctly at the client, even
> if the
>
> option domain-name "domain";
>
> is set in the scope. Only the hostname itself gets passed to the
> client.
I don't understand that: So the hostname gets passed? I thought the problem
was that it did not get passed!
BTW; I never cared for the domain name, since all my clients are on the same
domain.
> 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
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 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";
}
}
> 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.
Georg
-------------------------------------------------------
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