Hello,
I understand:
thinking about hostnames then this is possible. In dhcpd.conf you do host ws001 { hardware ethernet 90:12:02:51:58:43; fixed-address 192.168.1.2; <other statements>;
/etc/hosts file (simple). 192.168.1.2 ws001
You should now be able to ping ws001 by hostname.
But this is not exactly what I want. Please correct me when I am wrong:
When I only provide a range in dhcp.conf then the next available IP
address gets assinged to the terminal requesting for an IP Address. The hostname is
Wrong. It could be *any* IP in the range apart from the ones already in use. Those in use can be found in the leases file, or they will be listed as fixed IPs in the dhcpd.conf file.
what ever I have put in /etc/hosts.
Correct. However, when using only a range, the *thin client itself* does not know its own hostname, which may or may not be a problem. This is due to the fact that dhcpd does not send a hostname explicitly to the thin client along with the rest of the information when the IP is chosen dynamically from the range. Using the stanza I showed in my previous posting causes dhcpd.conf to send the hostname as well.
But how can I now ping/work on a certain machine e.g. grap the srceen
for remote assistance? How do I know which IP a certian workplace got out of the
possible range of IP addresses?
You don't unless you examine the leases file and extract the information from there. That is possible, but seems a convoluted way of doing it compared to the simple use of fixed IP assignment by MAC address.
I would like to aviod to work with fixed IP Adresses but it seems as if
I need to go this way --- or is there a way that the client "tells" dhcp its own
hostname? I recall that I saw something like this???
I really don't know what you have seen :) But I have never heard of the thin client telling the dhcp server about its own hostname. How would it know? What it *does* know is the MAC address of the network card, and I have shown you a way to capture that and turn it into an IP that will be the same every time the client requests an IP.
-- Med vennlig hilsen Ragnar Wisl�ff ------------- Life is a reach. Then you gybe.
------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _____________________________________________________________________ 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.freenode.net
