Laurie,

If you are using LTSP4, go through the erratta page for LTSP4 on LTSP website 
which tells you about the bug in parsing parameters in lts.conf.
I faced similar problem earlier when all my clients were getting DEFAULT 
parameters and not the ones specific to them. I hope you are not experiencing 
the same problem.

Pradeep Bhomia 

---------- Original Message -----------
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Fri, 13 Feb 2004 14:27:02 +0100
Subject: Re: [Ltsp-discuss] Hostname not being set on client

> You might want use the mac address of the client in the lts.conf 
> file to circumvent adding special fixed hosts to your dhcpd.conf file.
> 
> regards, Chris
> 
> [EMAIL PROTECTED] schrieb am 13.02.2004 14:16:35:
> 
> > Laurie,
> >
> > Real simple fix:
> >
> >   Add a line to the top of your dhcpd.conf file that looks like this:
> >
> >               use-host-decl-names       on;
> >
> >
> > That will cause dhcp to send the hostnames to the workstations.
> >
> > But, that's only for the workstations that you explicitly set
> > in dhcpd.conf.  Not the workstations that get their info
> > from the range statements.
> >
> > Jim McQuillan
> > [EMAIL PROTECTED]
> >
> >
> >
> > On Fri, 13 Feb 2004 [EMAIL PROTECTED] wrote:
> >
> > > Hi.
> > >
> > > For some reason the hostname on my clients are not being set at all.
> > > During bootup the "Current Hostname" entry remains blank. This is not a
> > > major trainsmash taken on its own but now I am unable to pass speciffic
> > > configuration settings on via the ltsp.conf file. Only entries in the
> > > [default] section is read. Anything under [ws001] which is different is
> > > ignored.
> > >
> > > I have checked that the IP addresses and hostnames in /etc/hosts and in
> > > /etc/dhcpd.conf correspond but that doesn't seem to be the problem.
> > >
> > >
> > > Any ideas?
> > >
> > > Thanks,
> > >
> > > Laurie
> > >
> > > Here is /etc/hosts
> > >
> > >
> ============================================================================
> 
> > > ## LTSP-begin ##
> > > #
> > > # The lines between 'LTSP-begin' and 'LTSP-end' were added
> > > # on: Tue Feb  3 10:25:55 2004, by the ltspcfg configuration tool.
> > > # For more information, visit the LTSP homepage
> > > # at http://www.LTSP.org
> > > #
> > >
> > > 172.16.0.31             ws001.mosselbaymun.co.za        ws001
> > > 172.16.0.32             ws002.mosselbaymun.co.za        ws002
> > >
> > >
> > > ## LTSP-end ##
> > >
> ============================================================================
> 
> > >
> > > and this is dhcpd.conf
> > >
> > >
> >
> 
=============================================================================
> 
> > > # Sample configuration file for ISCD dhcpd
> > > #
> > > # Don't forget to set run_dhcpd=1 in /etc/init.d/dhcpd
> > > # once you adjusted this file and copied it to /etc/dhcpd.conf.
> > > #
> > >
> > > ddns-update-style             none;
> > > default-lease-time            21600;
> > > max-lease-time                21600;
> > >
> > > option subnet-mask            255.255.254.0;
> > > option broadcast-address      172.16.0.255;
> > > option routers                172.16.0.1;
> > > option domain-name-servers    172.16.0.2;
> > > option domain-name            "mossselbaymun.co.za";
> > > option root-path              "172.16.0.2:/opt/ltsp/i386";
> > >
> > > option option-128 code 128 = string;
> > > option option-129 code 129 = text;
> > >
> > > subnet 172.16.0.0 netmask 255.255.254.0 {
> > >     range 172.16.0.86 172.16.0.149 ;
> > >     range 172.16.0.151 172.16.0.198;
> > >    range 172.16.0.204 172.16.0.216;
> > >
> > > host ws001 {
> > >         hardware ethernet     00:c0:df:12:46:48;
> > >         fixed-address         172.16.0.31;
> > >         filename              "/lts/vmlinuz-2.4.22-ltsp-2";
> > >
> > >     }
> > >
> > > host ws002 {
> > >         hardware ethernet     00:20:af:5d:f0:37;
> > >         fixed-address         172.16.0.32;
> > >         filename              "/lts/vmlinuz-2.4.22-ltsp-2";
> > >         option option-128     e4:45:74:68:00:00;
> > >         option option-129     "NIC=3c509";
> > >     }
> > >
> > > host ws003 {
> > >         hardware ethernet     00:00:05:e7:62:1e;
> > >         fixed-address         172.16.0.33;
> > >         filename              "/lts/vmlinuz-2.4.22-ltsp-2";
> > >         option option-128     e4:45:74:68:00:00;
> > >         option option-129     "NIC=ne IO=0x300 ";
> > >     }
> > >
> > >
> ===========================================================================
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> > > Build and deploy apps & Web services for Linux with
> > > a free DVD software kit from IBM. Click Now!
> > > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> > > _____________________________________________________________________
> > > 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 is sponsored by: Speed Start Your Linux Apps Now.
> > Build and deploy apps & Web services for Linux with
> > a free DVD software kit from IBM. Click Now!
> > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> > _____________________________________________________________________
> > 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 is sponsored by: Speed Start Your Linux Apps Now.
> Build and deploy apps & Web services for Linux with
> a free DVD software kit from IBM. Click Now!
> http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> _____________________________________________________________________
> 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
------- End of Original Message -------



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_____________________________________________________________________
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