Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #209577

Re: tftp problem

From ghe <ghe@slsware.net>
Newsgroups linux.debian.user
Subject Re: tftp problem
Date 2019-06-03 17:50 +0200
Message-ID <y4XnH-4As-3@gated-at.bofh.it> (permalink)
References <y4EEp-1oa-1@gated-at.bofh.it> <y4O13-7jf-1@gated-at.bofh.it> <y4Vcd-3kx-1@gated-at.bofh.it> <y4VOV-3My-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 6/3/19 8:08 AM, john doe wrote:

> atftpd --verbose=7 --daemon --no-fork --logfile /dev/stdout

Response, run as root:
atftpd: can't bind port :69/udp

They're just kidding. I think -- I don't know what they mean by 'bind'.
I've saved configs over tftp from my Juniper firewall and my Cisco router.


Juniper a few minutes ago (small file; just beginning to get it going):

>  Save configurations (5213 bytes) to SSG140Config.txt on TFTP server
192.168.2.3 from ethernet0/7.
> !!!!!!!!!!!!!!!!!!!!!!!!
> tftp transferred records = 11
> tftp success!
>
> TFTP Succeeded

ghe@sbox:~$ ls -lh /tftpboot/ | egrep SSG
-rw-rw-rw- 1 nobody nogroup 5.1K Jun  3 08:48 SSG140Config.txt


Cisco (bigger file; my border router):

> !!!!
> 12386 bytes copied in 0.584 secs (21209 bytes/sec)

(Cisco makes '.'s instead of '!'s on failure.)

ghe@sbox:~$ ls -lh /tftpboot/ | egrep Run
-rw-rw-rw- 1 nobody nogroup  13K Jun  3 08:51 brouterRunningConfig.txt


Those two have been known to be picky. And, as far as I know, there's no
way to get them to use anything but port 69.

I've also tftp'ed files locally, using atftp.

...

> Also, is your " [directory] must be a world readable/writable
directories."?

ghe@sbox:~$ ls -lh / | egrep tftp
drwxrwxrwx   2 nobody root    4.0K Jun  2 16:00 tftpboot

...

> drwxr-xr-x 2 nobody root 4096 /srv/tftp

Right now, /srv/tftp is a link to /tftpboot, so it's 777:

ghe@sbox:~$ ls -lh /srv | egrep tftp
lrwxrwxrwx 1 root root      10 May 31 13:04 tftp -> /tftpboot/

It's owned by root, but it was nobody's when it was a dir (worked just
fine then, anyway). And there seems to be no problem with the link being
owned by root.

-- 
Glenn English

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

tftp problem ghe <ghe@slsware.net> - 2019-06-02 21:50 +0200
  Re: tftp problem john doe <johndoe65534@mail.com> - 2019-06-03 07:50 +0200
    Re: tftp problem ghe <ghe@slsware.net> - 2019-06-03 15:30 +0200
      Re: tftp problem john doe <johndoe65534@mail.com> - 2019-06-03 16:10 +0200
        Re: tftp problem john doe <johndoe65534@mail.com> - 2019-06-03 16:50 +0200
        Re: tftp problem ghe <ghe@slsware.net> - 2019-06-03 17:50 +0200
          Re: tftp problem deloptes <deloptes@gmail.com> - 2019-06-03 19:50 +0200
            Re: tftp problem ghe <ghe@slsware.net> - 2019-06-03 20:40 +0200
              Re: tftp problem john doe <johndoe65534@mail.com> - 2019-06-04 07:50 +0200
                Re: tftp problem ghe <ghe@slsware.net> - 2019-06-04 18:30 +0200
                Re: tftp problem john doe <johndoe65534@mail.com> - 2019-06-04 19:40 +0200
                Re: tftp problem ghe <ghe@slsware.net> - 2019-06-05 00:50 +0200
                Re: tftp problem andreimpopescu@gmail.com - 2019-06-28 08:50 +0200

csiph-web