LTSP server TFTP file not found error
I am trying to configure LTSP client on Red Hat 8.0,
Server is configured and when try to boot client it say ............. ..Me192.168.1.9 Server 192.168.1.55 Loading 192.168.1.55:/tftpboot/lts/vmlinuz.ltsp TFTP error 1 (File not found) Unable to load file <sleep> <abort> Probing for pci nic ... Probing for isa nic.... but vmlinuz file is present over there. I tried changing the path /lts/vmlinuz-2.4.26-ltsp-2 in the dhcpd.conf but then also it doesn't works. Any idea ?? |
I had the same problem. this path filename "/lts/vmlinuz-2.4.26-ltsp-2"; is the correct path in my config (RH9). After changing the path did you restart dhcp? I know it sounds stupid, but I did that exact thing heheheh. After a "service dhcpd restart" everything worked!
|
Yes, I had started the dhcp service after configuring dhcpd.conf file.
?? |
Will you post the contents of your dhcpd.conf file?
|
#cat /etc/dhcpd.conf
ddns-update-style none; default-lease-time 21600; max-lease-time 21600; option subnet-mask 255.255.255.0; option broadcast-address 192.168.1.255; #option domain-name-servers 192.168.1.4; option domain-name "mandrake"; option root-path "192.168.1.55:/opt/ltsp/i386"; shared-network WORKSTATIONS { subnet 192.168.1.0 netmask 255.255.255.0 {} } group { use-host-decl-names on; host ws001 { hardware ethernet 00:C0:26:62:C5:96; fixed-address 192.168.1.9; filename "/tftpboot/lts/vmlinuz.ltsp"; } } |
Quote:
filename "/lts/vmlinuz.ltsp"; Since you are not using the default ip address range of 192.168.0.1 ~ 254, you need to be sure to go through all of the files and make sure they use your ip address range. /etc/exports /etc/hosts.allow /etc/rc.d/init.d/nat /etc/hosts /etc/dhcpd.conf /opt/ltsp/i386/etc/lts.conf /opt/ltsp/templates/k12linux/hosts-update.sh /opt/ltsp/templates/k12linux/setup-update.sh /opt/ltsp/templates/k12linux/ ( check for proper domain name and ip address ) Here is what my dhcp.conf looks like... Code:
# Sample configuration file for ISCD dhcpd |
Quote:
|
#/etc/exports
/opt/ltsp 192.168.1.0/255.255.255.0(ro,no_root_squash,sync) /var/opt/ltsp/swapfiles 192.168.1.0/255.255.255.0(rw,no_root_squash,async) #/etc/hosts.allow bootpd: 0.0.0.0 in.tftpd: 192.168.1. portmap: 192.168.1. #/etc/rc.d/init.d/nat doesn't present in my system #/etc/hosts 192.168.1.1 ws009.ltsp ws009 192.168.1.2 ws002.ltsp ws002 192.168.1.3 ws003.ltsp ws003 192.168.1.4 ws004.ltsp ws004 192.168.1.5 ws005.ltsp ws005 192.168.1.6 ws006.ltsp ws006 192.168.1.7 ws007.ltsp ws007 192.168.1.8 ws008.ltsp ws008 192.168.1.9 ws001.ltsp ws001 192.168.1.10 ws010.ltsp ws010 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 192.168.1.254 ws254.ltsp ws254 #/etc/dhcpd.conf ddns-update-style none; default-lease-time 21600; max-lease-time 21600; option subnet-mask 255.255.255.0; option broadcast-address 192.168.1.255; #option domain-name-servers 192.168.1.4; option domain-name "mandrake"; option root-path "192.168.1.55:/opt/ltsp/i386"; shared-network WORKSTATIONS { subnet 192.168.1.0 netmask 255.255.255.0 { } } group { use-host-decl-names on; host ws001 { hardware ethernet 00:E0:4C:E1:A8:16; fixed-address 192.168.1.9; filename "/lts/vmlinuz.ltsp"; } } #/opt/ltsp/i386/etc/lts.conf [Default] SERVER =192.168.1.55 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 [ws001] XSERVER =auto LOCAL_APPS =N USE_NFS_SWAP =N SWAPFILE_SIZE =48m RUNLEVEL =5 #/opt/ltsp/templates/k12linux/hosts-update.sh doesn't present in my system #/opt/ltsp/templates/k12linux/setup-update.sh doesn't present in my system #/opt/ltsp/templates/k12linux/ ( check for proper domain name and ip address ) doesn't present in my system still same error Unable to Load file ... |
Here is a difference in my /etc/exports
/opt/ltsp/i386 192.168.0.0/255.255.255.0(ro,no_root_squash,sync) /var/opt/ltsp/swapfiles 192.168.0.0/255.255.255.0(rw,no_root_squash,async) Can you put this into the dhcpd.conf > Change the addresses to match your setup. Don't forget to restart the dhcpd service after making these changes. shared-network WORKSTATIONS { subnet 192.168.0.0 netmask 255.255.255.0 { range dynamic-bootp 192.168.0.2 192.168.0.50; use-host-decl-names on; option log-servers 192.168.0.1; # trick from Peter Rundle <peter.rundle@au.interpath.net> if substring (option vendor-class-identifier, 0, 9) = "PXEClient" { filename "/lts/pxe/pxelinux.0"; # NOTE: kernels are specified in /tftpboot/lts/pxe/pxelinux.cfg/ } else { filename "/lts/vmlinuz.ltsp"; } } } |
Quote:
Now what changes i have to make 1) /etc/exports. 2) .....???? |
The dhcpd.conf has a line filename "/lts/vmlinuz.ltsp";
but you have it in with one hardware address. { hardware ethernet 00:E0:4C:E1:A8:16; fixed-address 192.168.1.9; filename "/lts/vmlinuz.ltsp"; } It needs to be in brackets by itself... { filename "/lts/vmlinuz.ltsp"; } |
When i placed brackets and restarted dhcpd services then it is giving me error.
and i made changes in /etc/exports file but then also it is giving me error "Unable to load file...." |
All times are GMT -5. The time now is 03:36 PM. |