Hi folks,
for learning purposes of PXE boot environment I started to configure TFTP server:
sudo dnf install tftp-server tftp
sudo chmod 777 /var/lib/tftpboot
sudo systemctl start tftp
sudo systemctl enable tftp
sudo firewall-cmd --zone=public --add-service=tftp --permanent
sudo firewall-cmd --reload
sudo touch /var/lib/tftpboot/file1.txt
echo "Hello File 1" | sudo tee /var/lib/tftpboot/file1.txt
Now, on the same machine I can retrieve the file:
tftp myserver.mydomain.local -m binary -c get file1.txt /dev/stdout Hello File 1
On another machine I can connect to the tftp server but the transfer of the file fails:
tftp myserver.mydomain.local -m binary -c get file1.txt /dev/stdout Transfer timed out.
And then
tftp myserver.mydomain.local tftp> mode binary tftp> trace Packet tracing on. tftp> literal Literal mode on. tftp> status Connected to myserver.mydomain.local. Mode: octet Verbose: off Tracing: on Literal: on Rexmt-interval: 5 seconds, Max-timeout: 25 seconds tftp> verbose Verbose mode on. tftp> get file1.txt getting from myserver.mydomain.local:file1.txt to file1.txt [octet] sent RRQ <file=file1.txt, mode=octet> sent RRQ <file=file1.txt, mode=octet> sent RRQ <file=file1.txt, mode=octet> sent RRQ <file=file1.txt, mode=octet> sent RRQ <file=file1.txt, mode=octet> Transfer timed out.
What can I do to further analyse the problem ?
Regards,
Meikel