I’m trying to setup LTSP in my school’s computer lab.
I downloaded and installed openSUSE 11.0 64 bit and KIWI-LTSP prebuilt image on HP Proliant ML115. The clients are i386 machines.I set the clients to pxe boot but they don’t load.
Below is the result of the code from the troubleshooting site.
Any help would be appreciated.
Thanks
teacher@linux-e0fh:~> rpm -qa | grep kiwi
kiwi-desc-ltsp-0.5.0-2.1
kiwi-desc-isoboot-3.01-100.1
kiwi-tools-3.01-100.1
kiwi-3.01-100.1
kiwi-ltsp-bootimages-0.5.0-1.1
kiwi-ltsp-prebuilt-0.5.0-4.1
kiwi-pxeboot-3.01-100.1
kiwi-desc-netboot-3.01-100.1
kiwi-desc-usbboot-3.01-100.1
teacher@linux-e0fh:~> cat /etc/sysconfig/kiwi-ltsp
Path: System/Kiwi-ltsp
Description: kiwi-ltsp setup - Part of KIWI-LTSP as created by CyberOrg
Copyright (c) 2007 Cyberorg
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later
version.
This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
details.
You should have received a copy of the GNU General Public License along with
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
Place, Suite 330, Boston, MA 02111-1307 USA
Authors: Cyberorg Cyberorg <cyberorg@cyberorg.info>
Magnus Boman <captain.magnus@gmail.com>
Version Date Changes
0.1.1 2007-08-25 Initial release
0.1.2 2007-08-27 Added {SUSE,LTSP}_INSTALL_SOURCE
0.1.2 2007-09-05 Image type and nfs chroot paths
0.1.3 2007-09-09 Added DHCP_IFACE=“eth0”
0.1.4 2007-09-11 Move it to /etc/sysconfig
0.1.5 2007-09-24 Added LTSSQUASHPATH="/srv/kiwi-ltsp"
0.1.6 2007-11-04 Auto detect server IP address based on specified DHCP interface
Type: integer(0:1)
Default: 0
#Set LTSP_DEBUG “0” logs to file and “1” to log KIWI activity to screen instead of log file
LTSP_DEBUG=“1”
Type: list(NFS,NBD)
Default: NBD
#Set the image type, NFS and NBD supported, NBD is default
IMAGETYPE=“NBD”
Type: string
Default: /mnt/10.3
#Set the installation source path or URL
SUSE_INSTALL_SOURCE="/mnt/11.0"
Type: string(yast2,rpm-dir)
Default: yast2
#Set the installation source type
SUSE_INSTALL_SOURCE_TYPE=“yast2”
Type: list(10.3,11.0)
Default: 11.0
#Set the openSUSE version to use for creating image
SUSE_VERSION=“11.0”
Type: string
Default: 10.0.0.50 10.0.0.100
#Range of IP addresses to be used for DHCP setup
DHCP_RANGE=“10.0.0.50 10.0.0.100”
Type: string
Default: 10.0.0.0
#Subnet to be used for DHCP setup
DHCP_SUBNET=“10.0.0.0”
Type: string
Default: 255.255.255.0
#Netmask to be used for DHCP setup
DHCP_NETMASK=“255.255.255.0”
Type: string(eth0,eth1,eth2,ANY)
Default: ANY
#DHCP Interface connected to ltsp network
DHCP_IFACE=“eth0”
Type: string
Default: 10.0.0.254
#Set the IP address of this server that would be accessed by ltsp clients
SERVER_IP=“10.0.0.254”
Type: string
Default: digitalairlines.com
#your domainname for DHCP setup
DOMAIN=“digitalairlines.com”
Type: string
Default: $SERVER_IP
#DNS server to be used for DHCP setup
NAME_SERVERS="$SERVER_IP"
Type: string
Default: $SERVER_IP
#Gateway IP to be used for DHCP setup
GATEWAY="$SERVER_IP"
Type: string
Default: $SERVER_IP
#TFTP server IP for PXE boot, this is the server where the netboot image is stored
#This is usually same as server IP, do not change this if you don’t know what it is.
TFTP_SERVER="$SERVER_IP"
Type: string
Default: /usr/share/kiwi/image/ltsp/suse-$SUSE_VERSION
#Please do not change this, unless you know what you are doing
KIWIPATH="/usr/share/kiwi/image/ltsp/suse-$SUSE_VERSION"
Type: string
Default: /srv/kiwi-ltsp
#Please do not change this, unless you know what you are doing
DESTPATH="/srv/kiwi-ltsp"
Type: string
Default: /srv/tftpboot
#Please do not change this, unless you know what you are doing
TFTPBOOTPATH="/srv/tftpboot"
Type: string
Default: /tmp/kiwi-netboot
#Please do not change this, unless you know what you are doing
TMPPATH="/tmp/kiwi-netboot"
Type: string
Default: /srv/kiwi-ltsp
#Please do not change this, unless you know what you are doing
LTSSQUASHPATH="/srv/kiwi-ltsp"
Type: string
Default: $LTSSQUASHPATH-nfs
#Please do not change this, unless you know what you are doing
LTSNFSPATH="$LTSSQUASHPATH-nfs"
Type: string
Default: /usr/share/kiwi/image/netboot/suse-$SUSE_VERSION
#Please do not change this, unless you know what you are doing
KIWINBPATH="/usr/share/kiwi/image/netboot/suse-$SUSE_VERSION"
Type: string
Default:
#Add space separated list of packages to be installed in the client for use as localapps
LTSP_LOCALAPPS=""
teacher@linux-e0fh:~> cat /etc/dhcpd.conf
dhcpd.conf
Sample configuration file for ISC dhcpd
option definitions common to all supported networks…
option domain-name “example.org”;
option domain-name-servers ns1.example.org, ns2.example.org;
default-lease-time 600;
max-lease-time 7200;
if you do not use dynamical DNS updates:
this statement is needed by dhcpd-3 needs at least this statement.
you have to delete it for dhcpd-2, because it does not know it.
if you want to use dynamical DNS updates, you should first read
read /usr/share/doc/packages/dhcp-server/DDNS-howto.txt
ddns-update-style none; ddns-updates off;
If this DHCP server is the official DHCP server for the local
network, the authoritative directive should be uncommented.
#authoritative;
Use this to send dhcp log messages to a different log file (you also
have to hack syslog.conf to complete the redirection).
log-facility local7;
No service will be given on this subnet, but declaring it helps the
DHCP server to understand the network topology.
subnet 10.152.187.0 netmask 255.255.255.0 {
}
This is a very basic subnet declaration.
subnet 10.254.239.0 netmask 255.255.255.224 {
range 10.254.239.10 10.254.239.20;
option routers rtr-239-0-1.example.org, rtr-239-0-2.example.org;
}
This declaration allows BOOTP clients to get dynamic addresses,
which we don’t really recommend.
subnet 10.254.239.32 netmask 255.255.255.224 {
range dynamic-bootp 10.254.239.40 10.254.239.60;
option broadcast-address 10.254.239.31;
option routers rtr-239-32-1.example.org;
}
A slightly different configuration for an internal subnet.
subnet 10.5.5.0 netmask 255.255.255.224 {
range 10.5.5.26 10.5.5.30;
option domain-name-servers ns1.internal.example.org;
option domain-name “internal.example.org”;
option routers 10.5.5.1;
option broadcast-address 10.5.5.31;
default-lease-time 600;
max-lease-time 7200;
}
Hosts which require special configuration options can be listed in
host statements. If no address is specified, the address will be
allocated dynamically (if possible), but the host-specific information
will still come from the host declaration.
host passacaglia {
hardware ethernet 0:0:c0:5d:bd:95;
filename “vmunix.passacaglia”;
server-name “toccata.fugue.com”;
}
Fixed IP addresses can also be specified for hosts. These addresses
should not also be listed as being available for dynamic assignment.
Hosts for which fixed IP addresses have been specified can boot using
BOOTP or DHCP. Hosts for which no fixed address is specified can only
be booted with DHCP, unless there is an address range on the subnet
to which a BOOTP client is connected which has the dynamic-bootp flag
set.
host fantasia {
hardware ethernet 08:00:07:26:c0:a5;
fixed-address fantasia.fugue.com;
}
You can declare a class of clients and then do address allocation
based on that. The example below shows a case where all clients
in a certain class get addresses on the 10.17.224/24 subnet, and all
other clients get addresses on the 10.0.29/24 subnet.
class “foo” {
match if substring (option vendor-class-identifier, 0, 4) = “SUNW”;
}
shared-network 224-29 {
subnet 10.17.224.0 netmask 255.255.255.0 {
option routers rtr-224.example.org;
}
subnet 10.0.29.0 netmask 255.255.255.0 {
option routers rtr-29.example.org;
}
pool {
allow members of “foo”;
range 10.17.224.10 10.17.224.250;
}
pool {
deny members of “foo”;
range 10.0.29.10 10.0.29.230;
}
}
teacher@linux-e0fh:~> ifconfig
bash: ifconfig: command not found
teacher@linux-e0fh:~> kiwi-ltsp-setup -c
bash: kiwi-ltsp-setup: command not found
teacher@linux-e0fh:~>