Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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!
the last line should look like this....
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
#
# Don't forget to set run_dhcpd=1 in /etc/init.d/dhcpd
# once you adjusted this file and copied it to /etc/dhcpd.conf.
#
default-lease-time 21600;
max-lease-time 21600;
ddns-update-style none;
allow booting;
allow bootp;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.0.255;
option routers 192.168.0.1;
option domain-name-servers 192.168.0.1;
option domain-name "mydomain.com";
option root-path "192.168.0.1:/opt/ltsp/i386";
option option-128 code 128 = string;
option option-129 code 129 = text;
host sony {
hardware ethernet 00:a0:c9:5c:d7:5a;
fixed-address 192.168.0.5;
}
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";
}
}
}
# example configurations for specifying specific kernels to specific clients
#group {
# use-host-decl-names on;
# option log-servers 192.168.0.254;
#
# host ws001 {
# hardware ethernet 00:E0:06:E8:00:84;
# fixed-address 192.168.0.1;
# filename "/lts/vmlinuz.ltsp";
# option option-128 e4:45:74:68:00:00;
# option option-129 "NIC=3c509";
# }
# host ws002 {
# hardware ethernet 00:D0:09:30:6A:1C;
# fixed-address 192.168.0.2;
# filename "/lts/vmlinuz.ltsp";
# option option-128 e4:45:74:68:00:00;
# option option-129 "NIC=ne";
# }
# host ws003 {
# hardware ethernet 00:D0:09:30:28:B2;
# fixed-address 192.168.0.3;
# # kernels are specified in /tftpboot/lts/boot/pxe/pxelinux.cfg/
# filename "/lts/boot/pxe/pxelinux.0";
# }
#}
I tried changing the path /lts/vmlinuz-2.4.26-ltsp-2 in the dhcpd.conf but then also it doesn't works.
Your posted dhcpd.conf file shows the path "filename "/tftpboot/lts/vmlinuz.ltsp";" and I believe it needs to be "filename "/lts/vmlinuz-2.4.26-ltsp-2"; " without the outside quotes. Then reboot dhcp and it should work.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.