我已经设置了 DHCP 和 TFTP 服务器以允许通过网络启动。我的服务器是192.168.10.50,客户端是192.168.10.51
客户给我这个:
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
在服务器端,系统日志显示:
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
如果我这样做ls -l /var/lib/tftpboot/pxelinux.cfg
,我会得到:
-rwxrwxrwx 1 root root 0 Jun 23 11:59 default
即,该文件存在且可读。谁能告诉我为什么 tftp 客户端无法启动?