weird tftp problem

Issues related to configuring your network
Post Reply
higg
Posts: 7
Joined: 2012/04/26 06:41:48

weird tftp problem

Post by higg » 2021/10/13 11:11:55

Hello,
Centos 7, all latest updates. I installed tftp server according to instructions and don't understand what's wrong.
Client (from same subnet), either Linux or Windows, only able to create 0 size file, then timeout.
I turned off firewalld and put SELinux to disabled. No help.
I didn't understand, why I need to install both tftp-server and xinetd, first installed only tftp-server with same problem.
Installed xinetd as well, no luck, same problem.

User avatar
TrevorH
Forum Moderator
Posts: 31159
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: weird tftp problem

Post by TrevorH » 2021/10/13 11:53:08

Make sure that when you use firewall-cmd you enable the _service_ not the port - i.e. firewall-cmd --add-service=tftp NOT --add-port=69/udp
CentOS 6 died in November 2020 - migrate to a new version!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

higg
Posts: 7
Joined: 2012/04/26 06:41:48

Re: weird tftp problem

Post by higg » 2021/10/13 12:16:01

thanks for reply, but I bet this is not related to firewall, as I wrote, I disabled it.

User avatar
TrevorH
Forum Moderator
Posts: 31159
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: weird tftp problem

Post by TrevorH » 2021/10/13 15:07:11

But you will want to re-enable it again at some point...
CentOS 6 died in November 2020 - migrate to a new version!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

User avatar
jlehtone
Posts: 3711
Joined: 2007/12/11 08:17:33
Location: Finland

Re: weird tftp problem

Post by jlehtone » 2021/10/14 09:49:21

TrevorH wrote:
2021/10/13 15:07:11
But you will want to re-enable it again at some point...
... and the SELinux too.

The man tftpd of 'tftp-server' package mentions option --create and has a section about security.

Is tftp really the best option for writing to server?

higg
Posts: 7
Joined: 2012/04/26 06:41:48

Re: weird tftp problem

Post by higg » 2021/10/14 12:59:34

jlehtone wrote:
2021/10/14 09:49:21
Is tftp really the best option for writing to server?
I didn't ask is it best option or not. I asked why it's not working.

Post Reply

Return to “CentOS 7 - Networking Support”