Groups | Search | Server Info | Login | Register


Groups > alt.os.linux > #81552

Re: Problems with tftp & tftpd on Ubuntu 22, upgraded from 18 - SOLVED

From Java Jive <java@evij.com.invalid>
Newsgroups alt.os.linux, uk.comp.os.linux
Subject Re: Problems with tftp & tftpd on Ubuntu 22, upgraded from 18 - SOLVED
Date 2025-05-16 22:12 +0100
Organization A noiseless patient Spider
Message-ID <10089nt$3uvs2$1@dont-email.me> (permalink)
References <10079i2$3ojpv$1@dont-email.me> <p-q*oXCcA@news.chiark.greenend.org.uk> <1007pol$3rq4f$1@dont-email.me> <n-q*ToEcA@news.chiark.greenend.org.uk> <10084vf$3u4ck$1@dont-email.me>

Cross-posted to 2 groups.

Show all headers | View raw


On 2025-05-16 20:51, Java Jive wrote:
> 
> First I commented out the line in /etc/inetd.conf and rebooted, but 
> still got 'Permission denied' when trying to get the test file.  Next I 
> renamed the file and rebooted, with exactly the same result.
> 
> However, in both cases, the 5 lines in syslog are now not generated, in 
> fact now nothing at all appears in syslog as a result of the failed 
> attempt.  I guess that perhaps that may be considered as an improvement, 
> but unfortunately the service is still not working.

Addendum.  Editing /etc/inetd.conf to read ...

user@Computer:/home$ cat /etc/inetd.conf
tftp		dgram	udp	wait	nobody	/usr/sbin/in.tftpd /srv/tftp

... has the same effect as renaming the file or commenting out the line, 
nothing in syslog, but still 'Permission denied'.  However, expanding on 
this, realising that it was necessary to give the correct parameters to 
to in.tftpd, the following works:

user@Computer:/home$ cat /etc/inetd.conf
tftp		dgram	udp	wait	nobody	/usr/sbin/in.tftpd -s /home/tftpboot
user@Computer:/home$ tftp localhost
tftp> get test.txt
Received 37 bytes in 0.0 seconds
tftp> q
user@Computer:/home$ cat test.txt
This is a TFTP test from Computer
user@Computer:/home$ tail -50 /var/log/syslog
[...]
May 16 22:04:55 Computer tftpd[2245]: tftpd: trying to get file: test.txt
May 16 22:04:55 Computer tftpd[2245]: tftpd: serving file from 
/home/tftpboot

Thanks very much for your help, which was instrumental in setting on the 
right track.

-- 

Fake news kills!

I may be contacted via the contact address given on my website: 
www.macfh.co.uk

Back to alt.os.linux | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Problems with tftp & tftpd on Ubuntu 22, upgraded from 18 Java Jive <java@evij.com.invalid> - 2025-05-16 13:03 +0100
  Re: Problems with tftp & tftpd on Ubuntu 22, upgraded from 18 Theo <theom+news@chiark.greenend.org.uk> - 2025-05-16 13:36 +0100
    Re: Problems with tftp & tftpd on Ubuntu 22, upgraded from 18 Java Jive <java@evij.com.invalid> - 2025-05-16 17:39 +0100
      Re: Problems with tftp & tftpd on Ubuntu 22, upgraded from 18 Theo <theom+news@chiark.greenend.org.uk> - 2025-05-16 20:15 +0100
        Re: Problems with tftp & tftpd on Ubuntu 22, upgraded from 18 Java Jive <java@evij.com.invalid> - 2025-05-16 20:51 +0100
          Re: Problems with tftp & tftpd on Ubuntu 22, upgraded from 18 - SOLVED Java Jive <java@evij.com.invalid> - 2025-05-16 22:12 +0100
            Re: Problems with tftp & tftpd on Ubuntu 22, upgraded from 18 - SOLVED Theo <theom+news@chiark.greenend.org.uk> - 2025-05-18 11:55 +0100
      Re: Problems with tftp & tftpd on Ubuntu 22, upgraded from 18 Java Jive <java@evij.com.invalid> - 2025-05-16 20:22 +0100
  Re: Problems with tftp & tftpd on Ubuntu 22, upgraded from 18 Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-05-23 01:10 +0000
  Re: Problems with tftp & tftpd on Ubuntu 24, upgraded from 22 (was Ubuntu 22, upgraded from 18) Java Jive <java@evij.com.invalid> - 2025-10-23 20:22 +0100
    Re: Problems with tftp & tftpd on Ubuntu 24, upgraded from 22 (was Ubuntu 22, upgraded from 18) "J.O. Aho" <user@example.net> - 2025-10-23 21:29 +0200
      Re: Problems with tftp & tftpd on Ubuntu 24, upgraded from 22 (was Ubuntu 22, upgraded from 18) Java Jive <java@evij.com.invalid> - 2025-10-24 00:16 +0100

csiph-web