Running openSUSE 11 in VMware. Trying to get LTSP working

Hey, guys. We’re setting up a server to test all the popular versions of linux with our new LTSP clients, and are running in to problems with opensuse.

I’ll post all the conf files first:

/etc/xinetd.d/tftp

# default: off
# description: tftp service is provided primarily for booting or when a \
#       router need an upgrade. Most sites run this only on machines acting as
#       "boot servers".
service tftp
{
        socket_type             = dgram
        protocol                = udp
        wait                    = yes
        user                    = root
        server                  = /usr/sbin/in.tftpd
        server_args = -s /srv/tftpboot
        disable = no
}

/etc/dhcpd.conf

# dhcpd.conf.template - 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           2007-08-25      Initial release

option domain-name "test.acurrus.com";
option domain-name-servers 10.0.0.254;
option routers 10.0.0.254;
default-lease-time 14400;
ddns-update-style none;
next-server 10.0.0.254;
subnet 10.0.0.0 netmask 255.255.255.0 {
  range 10.0.0.50 10.0.0.100;
  default-lease-time 14400;
  max-lease-time 172800;
  filename "pxelinux.0";
}

IP tables – totally open

linux-94jf:/srv/tftpboot # iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination         

The problem I am having is with the TFTP initialization. If doesn’t seem to be active. I have tried to manually initialize (/usr/sbin/in.tftpd), which does not error. Instead, once executed, it executes, and leaves the blinking cursor.

running netstat -anp | grep tft prior to executing /usr/sbin/in.tftpd results in nothing found.

running netstat -anp | grep tft after executing /usr/sbin/in.tftpd results in the following:

linux-xxxxx:/var/log # netstat -anp | grep tft
unix  2       ]         DGRAM                    15846  4365/in.tftpd       

When booting the LTSP client, it echoes the following:

CLIENT MAC ADDR: 00 13 90 02 1A D6
CLIENT IP: 10.0.0.100 MASK: 255.255.255.0 DHCP IP: 10.0.0.1
GATEWAY IP: 10.0.0.254
PXE-E11: ARP TIMEOUT
PXE-E11: ARP TIMEOUT
PXE-E38: TFTP CANNOT OPEN CONNECTION
PXE-M0F: EXITING PXE ROM.
DISK BOOT FAILURE, INSERT SYSTEM DISK AND PRESS ENTER

edit: forgot to add this

when running kiwi-ltsp-setup -c I get the following:

linux-94jf:/var/log # kiwi-ltsp-setup -c
KIWI-LTSP: 2008-07-22-14:31:21: ====== Starting ======
KIWI-LTSP: 2008-07-22-14:31:21: Setting up a sample DHCP configuration file
KIWI-LTSP: 2008-07-22-14:31:21: Modifying /etc/exports
KIWI-LTSP: 2008-07-22-14:31:21: Setting up KIWI PXE support.
KIWI-LTSP: 2008-07-22-14:31:21: Setting up the SSH keys in /srv/tftpboot/KIWI/ssh_known_hosts
KIWI-LTSP: 2008-07-22-14:31:21: Creating dsa-hostkey for linux-94jf.dresults.com
KIWI-LTSP: 2008-07-22-14:31:21: Creating rsa-hostkey for linux-94jf.dresults.com
KIWI-LTSP: 2008-07-22-14:31:21: Creating dsa-hostkey for 192.168.1.223
KIWI-LTSP: 2008-07-22-14:31:21: Creating rsa-hostkey for 192.168.1.223
KIWI-LTSP: 2008-07-22-14:31:21: Creating dsa-hostkey for 10.0.0.1
KIWI-LTSP: 2008-07-22-14:31:21: Creating rsa-hostkey for 10.0.0.1
KIWI-LTSP: 2008-07-22-14:31:21: Setting up the hosts file and lts.conf
KIWI-LTSP: 2008-07-22-14:31:21: Making changes to misc configuration files.
KIWI-LTSP: 2008-07-22-14:31:21: Setting dhcpd to start automatically.
Shutting down DHCP server                                             done
Starting DHCP server [chroot]                                         done
KIWI-LTSP: 2008-07-22-14:31:25: Setting xinetd to start automatically.
Shutting down xinetd:                                                 done
Starting INET services. (xinetd)                                      done
The following tasks need to be done manually:
 ===> Review /etc/dhcpd.conf.ltsp and modify /etc/dhcpd.conf to suit.
KIWI-LTSP: 2008-07-22-14:31:25: ====== Setup completed ======

I would appreciate any help I can get.

Thanks a lot, guys.

Joel

Make sure you’re running your VM’s in network bridged mode in the VM settings.
Download the latest VMware Fusion 2.X Beta

not sure, but look at the following on your PXE/DHCP server:

have a look at your DHCP server and see if it starts up properly and see if another normall client / laptop / workstation gets an ip address outside PXE boot (just another linux or windows client).
tail -f /var/log/messages # and see if you see ARP requests coming in.
check your next-server in the /etc/dhcpd.conf
check your tftp server and test it with tftp <server>
tcpdump # will also give you some clues

Hope it helps mate…

Let me know