I have set up DHCP and TFTP servers to allow boot via network. My server is 192.168.10.50 and the client is 192.168.10.51
The client gives me this:
Searching for server (DHCP)...
Me: 192.168.10.51, DHCP: 192.168.10.50, TFTP: 192.168.10.50, GATEWAY: 192.168.10.50
Loading 192.168.10.50:pxelinux.0 ...(done)
...
TFTP prefix:
Unable to locate configuration file
Boot failed
On the server side, the syslog says:
testserver dhcpd: DHCPACK on 192.168.10.51 to 52:54:00:28:90:f6 via eth1
testserver tftpd: trying to get file: pxelinux.0
testserver tftpd: serving file from /var/lib/tftpboot
testserver tftpd: trying to get file: pxelinux.cfg/default
testserver tftpd: serving file from /var/lib/tftpboot
If I do ls -l /var/lib/tftpboot/pxelinux.cfg
, I get:
-rwxrwxrwx 1 root root 0 Jun 23 11:59 default
i.e., the file exists and is readable. Can anyone tell me why the tftp client fails to boot?
The path seems a bit wrong to me. Try to create a folder named
pxelinux.cfg
.In that, the config-file named
default
should reside, ie (in your case):The whole path (to/including
default
) needs to be world readable.