On Thu, 2004-08-19 at 16:17, Brian Payst wrote:
> You can hand out hostnames as part of the DHCP process:
> 
>      host ws001 {
>          hardware ethernet     00:00:00:00:00:00
>          option root-path      "XXX.XXX.XXX.XXX:/opt/ltsp41/i386";
>          fixed-address         XXX.XXX.XXX.XXX;
>          filename              "/lts/2.4.26-ltsp-1/pxelinux.0";
>      }
> 
> Also make sure there is a corresponding /etc/hosts or DNS entry for each 
> host.

The above example passes a hostname to the client.  This way, the client
knows its own name.  BUT, that doesn't mean that the server will know
the hostname.  For the server to associate a name with the client, you
need to make sure you either have the DNS Reverses setup properly,
or you need to put the entries in the /etc/hosts file for each
workstation.

What is even more confusing, is that the value you put into the
/etc/hosts file can be different from the value that you put in
/etc/dhcpd.conf.  This results in the workstation having one value of
its hostname, but the server having a different value.  I'm not
recommending you do this.  Just beware that the locates for a hostname
are independent of each other.

Jim McQuillan
[EMAIL PROTECTED]



> 
> Brian
> 
> 
> David James Germiquet wrote:
> 
> >              Hi, I'm somewhat familiar with scripting but I am not sure how
> > LTSP works. Is there a way I can keep the host name instead of changing to the
> > hostname as localhost (of my server). I need to do this for 2 reasons..
> > 
> > 
> > I'm using ENBD for using the local media and I need each workstation to run
> > enbd-client to a different port and directory. Second I would like to use KDE
> > to autologin and I think thats the problem
> > 
> > Which file should I modify and how?
> > 
> > Any help would be appreciated...
> > 
> > Dave.
> > 
> > 
> > 
> > -------------------------------------------------------
> > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
> > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
> > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
> > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
> > _____________________________________________________________________
> > 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



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_____________________________________________________________________
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

Reply via email to