Quoting Khalil Foundy <[EMAIL PROTECTED]>:
> --- [EMAIL PROTECTED] a �crit : > On Wed, 14 Jan 2004,
> [EMAIL PROTECTED] wrote:
> [cut]
> >
> > use-host-decl-names on;
> >
> >
> > If you are doing a range of addresses, then I don't know of any
> > way to hand the hostname back to the workstation.
> >
> > Jim
>
> one way to handle hostnames to the clients while managing range of IPs
> is to have a "host-name" option with dynamicaly generated hostnames.
> here's and example I am using:
>
> use-host-decl-names on;
> option host-name =
> concat("ws",binary-to-ascii(10,8,"",substring(leased-address,3,1)));
>
> This will generate a hostname wich is a concatination of "ws" and the
> last byte (rightmost) of the client IP. you need to have your
> /etc/hosts containing all the hostnames with the corresponding IP.
If you use dynamic dns updates (ddns) as well, doesn't that remove the need for
a hosts file? It should be fairly easy to set up. I believe ad-hoc mode has
been deprecated, but interim mode should work.
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_____________________________________________________________________
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