Hello,
I have been looking for a solution to the following ltsp problem. I know the error means my config is not correct but I am unsure what is wrong, it does pick up the correct ip address and gateway from dhcp. Please can someone check my config as a sanity check and let me know what I am doing wrong.
My DHCP server is: 192.168.2.100 My router is: 192.168.2.1 # (dhcp disabled)
ERROR PXE-T01: File not found PXE-E3B: TFTP Error - File Not found PXE-M0F: Exiting Intel PXE ROM. Operating System not found
$ cat /etc/dhcpd.conf
START
# dhcpd.conf
ddns-update-style ad-hoc;
option subnet-mask 255.255.255.0; option broadcast-address 192.168.2.255; option routers 192.168.2.1; option domain-name-servers 192.168.2.1; option domain-name "pward.co.uk"; # You really should fix this option option-128 code 128 = string; option option-129 code 129 = text;
get-lease-hostnames true;
next-server 192.168.2.100; option root-path "192.168.2.100:/opt/ltsp/i386";
subnet 192.168.2.0 netmask 255.255.255.0 { range 192.168.2.150 192.168.2.199; if substring (option vendor-class-identifier, 0, 9) = "PXEClient" { filename "/tftpboot/lts/2.6.20.9-ltsp-1/pxelinux.0"; } else{ filename "/tftpboot/lts/vmlinuz-2.6.17.8-ltsp-1"; } } # # If you need to pass parameters on the kernel command line, you can # do it with option-129. In order for Etherboot to look at option-129, # you MUST have option-128 set to a specific value. The value is a # special Etherboot signature of 'e4:45:74:68:00:00'. # # Add these two lines to the host entry that needs kernel parameters # # option option-128 e4:45:74:68:00:00; # NOT a mac address # option option-129 "NIC=ne IO=0x300";
<END -- Proof pxelinux.0 exists
START
$ locate pxelinux.0 /tftpboot/lts/2.6.16.1-ltsp-2/pxelinux.0 /tftpboot/lts/2.6.17.8-ltsp-1/pxelinux.0 /tftpboot/lts/2.6.20.9-ltsp-1/pxelinux.0
$ locate vmlinuz /tftpboot/lts/vmlinuz-2.6.16.1-ltsp-2 /tftpboot/lts/vmlinuz-2.6.17.8-ltsp-1 /tftpboot/lts/vmlinuz-2.6.20.9-ltsp-1 <END
<START $ chkconfig --list |grep on acpid 0:off 1:off 2:on 3:on 4:on 5:on 6:off anacron 0:off 1:off 2:on 3:on 4:on 5:on 6:off atd 0:off 1:off 2:off 3:on 4:on 5:on 6:off auditd 0:off 1:off 2:on 3:on 4:on 5:on 6:off autofs 0:off 1:off 2:off 3:on 4:on 5:on 6:off avahi-daemon 0:off 1:off 2:off 3:on 4:on 5:on 6:off cpuspeed 0:off 1:on 2:on 3:on 4:on 5:on 6:off crond 0:off 1:off 2:on 3:on 4:on 5:on 6:off cups 0:off 1:off 2:on 3:off 4:off 5:off 6:off ddclient 0:off 1:off 2:off 3:on 4:on 5:on 6:off dhcpd 0:off 1:off 2:on 3:on 4:on 5:on 6:off dhcrelay 0:off 1:off 2:on 3:on 4:on 5:on 6:off gpm 0:off 1:off 2:on 3:on 4:on 5:on 6:off httpd 0:off 1:off 2:off 3:on 4:on 5:on 6:off irqbalance 0:off 1:off 2:off 3:on 4:on 5:on 6:off iscsi 0:off 1:off 2:off 3:on 4:on 5:on 6:off iscsid 0:off 1:off 2:off 3:on 4:on 5:on 6:off messagebus 0:off 1:off 2:on 3:on 4:on 5:on 6:off mysqld 0:off 1:off 2:on 3:on 4:on 5:on 6:off nasd 0:off 1:off 2:off 3:on 4:on 5:on 6:off netconsole 0:off 1:off 2:off 3:off 4:off 5:off 6:off netfs 0:off 1:off 2:off 3:on 4:on 5:on 6:off network 0:off 1:off 2:on 3:on 4:on 5:on 6:off nfs 0:off 1:off 2:off 3:on 4:on 5:on 6:off nfslock 0:off 1:off 2:off 3:on 4:on 5:on 6:off ntpd 0:off 1:off 2:off 3:on 4:on 5:on 6:off postfix 0:off 1:off 2:off 3:on 4:on 5:on 6:off restorecond 0:off 1:off 2:on 3:on 4:on 5:on 6:off rpcbind 0:off 1:off 2:on 3:on 4:on 5:on 6:off rpcgssd 0:off 1:off 2:off 3:on 4:on 5:on 6:off rpcidmapd 0:off 1:off 2:off 3:on 4:on 5:on 6:off rsyslog 0:off 1:off 2:on 3:on 4:on 5:on 6:off setroubleshoot 0:off 1:off 2:off 3:on 4:on 5:on 6:off smb 0:off 1:off 2:off 3:on 4:on 5:on 6:off smolt 0:off 1:off 2:on 3:on 4:on 5:on 6:off sshd 0:off 1:off 2:on 3:on 4:on 5:on 6:off udev-post 0:off 1:off 2:off 3:on 4:on 5:on 6:off xinetd 0:off 1:off 2:off 3:on 4:on 5:on 6:off
END
$ /opt/ltsp/i386/etc/lts.conf
START
# # Copyright (c) 2003 by James A. McQuillan (McQuillan Systems, LLC) # # This software is licensed under the Gnu General Public License. # The full text of which can be found at http://www.LTSP.org/license.txt # # # Config file for the Linux Terminal Server Project (www.ltsp.org) #
[Default] SERVER = 192.168.2.100 XSERVER = auto X_MOUSE_PROTOCOL = "PS/2" X_MOUSE_DEVICE = "/dev/psaux" X_MOUSE_RESOLUTION = 400 X_MOUSE_BUTTONS = 3 USE_XFS = N SCREEN_01 = startx <END
$ exportfs /opt/ltsp <world>
$ ltspcfg
ltspcfg v0.16 The Linux Terminal Server Project ( http://www.LTSP.org)
Interface IP Address Netmask Network Broadcast Used eth0 192.168.2.100 255.255.255.0 192.168.2.0 192.168.2.255 <-----
Service Installed Enabled Running Notes dhcpd Yes Yes Yes Version 3 tftpd Yes Yes Yes Has '-s' flag portmapper no no no nfs Yes Yes no xdmcp Yes no no gdm, kdm Using: none!
File Configured Notes /etc/hosts Yes /etc/hosts.allow Yes /etc/exports Yes /opt/ltsp/i386/etc/lts.conf Yes
Configured runlevel: 3 (value of initdefault in /etc/inittab) Current runlevel: 3 (output of the 'runlevel' command)
Installation dir...: /opt/ltsp