[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] DHCP/Multiple DHCP
Quoting Chris Johnson <chris [at] seseaz.org.uk>:
> I've got an old Cyrix 6x86 that doesn't want to have suse 8.2 installed
> (can't remember the error now but I've decided to test Thin client computing
> with it. I chose LTSP as its the first one I found and seems to have been
> used in education quite a lot. I've installed the latest server side apps
> on my Suse 8.2 server and created the boot disk from www.rom-o-matic.com but
> it only gets as far as looking for DHCP. On the server when I do
>
> ps aux |grep dhcp I only get 2 lines, one for the grep command and one for
>
> /sbin/syslogd -m 0 -r -s 192.168.0.0/192.168.0.255 -a /var/lib/dhcp/dev/log
>
> I should point out that my nextwork is on 192.168.100.0 but this output
> still doesn't seem to indicate that dhcp is running.
>
> How can I set my thin client server so that it runs dhcp services?
>
Install the dhcp packages from the SuSE 8.2 CD's edit /etc/dhcpd.conf and
set them to run at runlevel 3 and 5 ( insserv dhcpd )(?)
I've run LTSP with some success previously (though I must say it was mostly
for fun rather than profit).
I installed on SuSE 8.2, and used the rpm's from the www.ltsp.org. I had to
install 3 packages ..
ltsp_core
ltsp_kernel
ltsp_x_core
ltsp_x_fonts
and an x-server package for the particular clients in my case
ltsp_x336_svga
There are still a number of config files that need editing. If you miss one
.. things tend not to work, though the error messages were quite meaningful in
retrospect, its a case of undersatnding what they mean in the first place.
The documentation on the www.ltsp.org web site is quite comprehensive, plus
they have an irc channel. This has helped me once before on a project where
we were still tring to get stuff to go at 2:00am for a 10am kick off!
As well as the ltsp rpms, I needed to make sure that I had
1. a dhcp server running, on suse that involved adding the dhcpd package from
yast, and editing /etc/dhcpd.conf
2. a tftp server running, again adding it from yast
3. Portmapper and NFS server running
A script, ltsp_initialize in /opt/ltsp/templates
sets up much of the config for these services
tcpdump was helpful debugging things, ie you could see dhcpd requests, nfs
mounts going on, ( or not as the case may be)
The full documentation from the ltsp web site is very useful.
> My IPCop firewall is also configured as a DHCP server. Could this have any
> effect on the other DHCP server (on the thin client server) or on the
> booting of the thin client workstation? If it should work then I'll
> concentrate my efforts elsewhere but I can switch it off if it might be
> causing a problem.
>
I ran in a situation with 2 dhcp servers .. this probably isn't recommended
though.
You should see the boot process on the thin client, getting a IP address from
dhcp, tftp'ing a kernel, loading the kernel, mounting the nfs filesystems,
starting xserver,
You don't seem to be getting an IP address though so look at dhcpd first?
> Any other comments on thin client server problems/solutions software greatly
> appreciated as I'm trying to build up a broad base of knowledge to be able
> to work from. If I can put a thin client server in a school then they can
> run applications on any PC where the Windoughs installation has crashed by
> booting it to work as a thin client instead, or they can boot as a thin
> client if the linux software offers something they can't get in Windows.
>
You could set the PC's to pxe boot if no hdd is available so you'd get the
thin client if no local OS was available. Or perhaps create a custom
bootloader that offered the choice of a local boot or network boot.
Thin clients boot incredibly fast compared to fat ones (seconds over minutes),
and if they play up you just hit the reset button and your back on again. I
used 486DX66 with 16MbRAM and no local disks in my experiments and was
incredibly pleased with the result.
Accessing local printers and using sound may be more problematic though. As
always YMMV
Hope this helps
AED
--
"Ideas improve. The meaning of words participates in the improvement.
Plagiarism is necessary. Progress implies it. It embraces an author's phrase,
makes use of his expressions, erases a false idea, and replaces it with the
right idea. "
-------------------------------------------------
E-mail provided by the Burngreave Community Network
http://www.burngreave.net
___________________________________________________________________
Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html
GNU the choice of a complete generation.