Kod: Zaznacz cały
TFTP: File not found
Oto configi:
/etc/dhcp3/dhcpd.conf:
Kod: Zaznacz cały
# dhcpd.conf
ddns-update-style ad-hoc;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.0.255;
option routers 192.168.0.2;
option domain-name-servers 192.168.0.2;
option domain-name "your_domain.org"; # 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.0.2;
option root-path "192.168.0.2:/opt/ltsp/i386";
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.100 192.168.0.199;
if substring (option vendor-class-identifier, 0, 9) = "PXEClient" {
filename "/tftpboot/lts/2.6.16.1-ltsp-2/pxelinux.0";
}
else{
filename "/tftpboot/lts/vmlinuz-2.6.16.1-ltsp-2";
}
}
#
# 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";
#
Kod: Zaznacz cały
## LTSP-begin ##
#
# The lines between 'LTSP-begin' and 'LTSP-end' were added
# on: Mon Oct 6 23:40:22 2008, by the ltspcfg configuration tool.
# For more information, visit the LTSP homepage
# at [url]http://www.LTSP.org[/url]
#
/opt/ltsp-4.2 *(ro,no_root_squash,async,no_subtree_check)
## LTSP-end ##
Kod: Zaznacz cały
#Defaults for tftpd-hpa
RUN_DAEMON="yes"
OPTIONS="-l -s /var/lib/tftpboot"
Kod: Zaznacz cały
cd /tftpboot/lts/
2.6.16.1-ltsp-2/ 2.6.20.9-ltsp-1/ vmlinuz-2.6.17.8-ltsp-1
2.6.17.8-ltsp-1/ vmlinuz-2.6.16.1-ltsp-2 vmlinuz-2.6.20.9-ltsp-1
Kod: Zaznacz cały
cd /opt/ltsp-4.2/
gniazdo:/opt/ltsp-4.2# ls
data i386 pkg_cache
gniazdo:/opt/ltsp-4.2# cd i386/
gniazdo:/opt/ltsp-4.2/i386# ls
bin etc include libexec oldroot root share tmp var
dev home lib man proc sbin sys usr