Problem with tftp server
Tommy Trussell
tommy.trussell at gmail.com
Fri Jan 28 04:01:01 UTC 2022
On Thu, Jan 27, 2022 at 11:16 AM Jerry Geis <jerry.geis at gmail.com> wrote:
>
>
> On Sat, Jan 22, 2022 at 7:32 PM Jerry Geis <jerry.geis at gmail.com> wrote:
>
>> I have 20.04 running, I have these lines in the firewalld
>>
>> zones/public.xml: <port port="69" protocol="tcp"/>
>>
>> zones/public.xml: <port port="69" protocol="udp"/>
>>
>>
>> When I run "tftp localhost" it works just fine. (get file)
>>
>> When I run "tftp myserverip" from another machine - it times out.
>>
>>
>> What dont I have configured right ?
>>
>>
>> Thanks,
>>
>>
>>
>> Jerry
>>
>
>
>
> Hi All - back on this with more information;
>
> from a PC on the network running ubuntu also I connect to the server and
> ask for a file that does exist.
> tftp 10.80.4.101
> tftp> get jerry
> Transfer timed out.
>
> tftp> quit
>
>
> grep tftp on the SERVER in syslog
> Jan 27 12:11:16 lsiSCSDB tftpd[2796307]: tftpd: trying to get file: jerry
> Jan 27 12:11:16 lsiSCSDB tftpd[2796307]: tftpd: serving file from /tftpboot
> Jan 27 12:11:21 lsiSCSDB tftpd[2796309]: tftpd: trying to get file: jerry
> Jan 27 12:11:21 lsiSCSDB tftpd[2796309]: tftpd: serving file from /tftpboot
> Jan 27 12:11:26 lsiSCSDB tftpd[2796311]: tftpd: trying to get file: jerry
> Jan 27 12:11:26 lsiSCSDB tftpd[2796311]: tftpd: serving file from /tftpboot
> Jan 27 12:11:31 lsiSCSDB tftpd[2796313]: tftpd: trying to get file: jerry
> Jan 27 12:11:31 lsiSCSDB tftpd[2796313]: tftpd: serving file from /tftpboot
> Jan 27 12:11:36 lsiSCSDB tftpd[2796315]: tftpd: trying to get file: jerry
> Jan 27 12:11:36 lsiSCSDB tftpd[2796315]: tftpd: serving file from /tftpboot
>
>
>
> So the connection is coming in from a client - but the client is not
> getting the data ???
>
> Getting the file from the server works OK - but not useful.
>
> What could be the issue here for tftp?
>
> Jerry
>
>
I have not used tftp in awhile, but have you checked the permissions on the
file "jerry" in /tftpboot ? The file may be invisible to the daemon due to
the wrong group or file permissions.
You might also try to put a different file onto the server using tftp and
see what permissions the resulting file has.
The man page for your version of tftpd will likely contain some useful
information.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20220127/b4f6af27/attachment.html>
More information about the ubuntu-users
mailing list