Hi John-Paul,

Well it sure looks like from the syslog that something else is on your tftp
port, so please verify.  -- or -- tftpd hasn't been configured to allow the
creation of files in your tftphome directory.

Here's my /etc/xinetd.d/tftp file:

# default: off
# description: The tftp server serves files using the trivial file transfer
\
#       protocol.  The tftp protocol is often used to boot diskless \
#       workstations, download configuration files to network-aware printers, \
#       and to start the installation process for some operating systems.
service tftp
{
        disable = no
        socket_type             = dgram
        protocol                = udp
        wait                    = yes
        user                    = root
        server                  = /usr/sbin/in.tftpd
        server_args             = -s -c /tftpboot
        per_source              = 11
        cps                     = 100 2
}


The -c in sever_args tells tftp to allow creation of files. security risk --
you have been warned, so make sure your tftp port is blocked only to those
who should have access!

Cheers,

Christopher CUSE
RHCE/CCNA
[EMAIL PROTECTED]

--nothing is too difficult once you completely understand it.



 Message: 2
To: [EMAIL PROTECTED]
Subject: understanding tftp
From: "John-Paul Delaney" <[EMAIL PROTECTED]>
Date: Wed, 19 Mar 2003 10:56:15 +0100
Reply-To: [EMAIL PROTECTED]

This is a multipart message in MIME format.
--=_alternative 00368DA1C1256CEE_=
Content-Type: text/plain; charset="US-ASCII"

Hello List...

I'm having problems setting up a tftp server on my rh8.0 box.  I want to
use it to backup cisco router configurations.

I've created a file called startup-config in the tftpboot directory with
chmod 777 and chown nobody:nobody.  The directory tftpboot is also 777,
nobody:nobody.

>From the router I try a "copy startup-config tftp", and input the ip
address at the next prompt.  I then get the error:
    %Error opening tftp://10.11.35.28/startup-config (Undefined error)

In /var/log/messages I find a long list of errors:
    ..." in.tftpd[31383]: cannot bind to local socket:  Address already in
use"


The output of netstat -a | grep tftp is:
    udp               0                  0   *:tftp          *:*


Thanks - Any help on this would be greatly appreciated.
/j-p.




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to