Re: OT: Booting LTSP client using a floppy / cd
The documentation on http://www.ltsp.org/ is very good.
http://www.ltsp.org/documentation/ltsp-3.0-4-en.html
First install the server (dhcpd, tftpd, nfs server, ltsp .deb packages)
and configure all services.
Booting from floppy is quite easy:
- identify your netword card
- download appropriate boot image from http://www.rom-o-matic.net/
(can't still beieve somebody called a site rom-o-matic :-D )
and copy to floppy with
cp image /dev/hda
sync
(without mounting the floppy!)
- you will have to do some config for each client:
- configure the lease in the dhcp server config file
- configure the workstations in /opt/ltsp/i386/etc/lts.conf
Example:
LTS server (dhcpd, tfpt and nfs server) address is 192.168.0.1
/etc/dhcpd.conf
default-lease-time 21600;
max-lease-time 21600;
option subnet-mask 255.255.0.0;
option broadcast-address 192.168.255.255;
option routers 192.168.0.1;
option domain-name-servers 192.168.0.1;
option domain-name "yourdomain.com";
option root-path "192.168.0.1:/opt/ltsp/i386";
shared-network WORKSTATIONS {
subnet 192.168.0.0 netmask 255.255.0.0 {
range 192.168.1.1 192.168.1.254;
}
}
group {
use-host-decl-names on;
option log-servers 192.168.0.1;
host ws001 {
hardware ethernet 00:C0:26:EA:CD:12;
fixed-address 192.168.1.0;
filename "/tftpboot/lts/vmlinuz-2.4.9-ltsp-5";
}
...
}
/opt/ltsp/i386/etc/lts.conf
#
# Config file for the Linux Terminal Server Project (www.ltsp.org)
#
[Default]
SERVER = 192.168.0.1
XSERVER = auto
X_MOUSE_PROTOCOL = "PS/2"
X_MOUSE_DEVICE = "/dev/psaux"
X_MOUSE_RESOLUTION = 400
X_MOUSE_BUTTONS = 3
USE_XFS = N
LOCAL_APPS = N
RUNLEVEL = 5
#------------------------------------------------------------------------------
#
# Example of specifying X settings for a workstation
#
[ws001]
XSERVER = XF86_SVGA
X_MODE_0 = 640x480
X_COLOR_DEPTH = 8
XkbModel = "pc105"
XkbLayout = "it"
USE_NFS_SWAP = Y
SWAPFILE_SIZE = 32m
--
Massimiliano Ferrero
Midhgard s.r.l.
C/so Re Umberto 23
10128 - Torino
tel. +39-0112301400 - fax +39-0112301422
e-mail: m.ferrero@midhgard.it
sito web: http://www.midhgard.it
Reply to: