<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV>Hi Grant,</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Thanks for the support.</DIV><BLOCKQUOTE type="cite"><BR style="">I had this same problem when trying to back up my switch configs.  After some googling, I found a workaround for RH-based systems.  The workaround is disable tftp in xinetd, and run in.tftpd manually.  I never figured out why it would not work with xinetd. <BR style=""></BLOCKQUOTE><DIV><BR class="khtml-block-placeholder"></DIV><DIV>May I ask you to tell me the detailed steps to achieve that... I'm an absolute beginner! :-)</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Thanks again,</DIV><DIV>Davide</DIV><DIV><BR class="khtml-block-placeholder"></DIV><BR><DIV><DIV>On Sep 13, 2007, at 7:27 PM, Grant McChesney wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite">On 9/13/07, <B class="gmail_sendername">Davide Grandis</B> <<A href="mailto:davide.grandis@fastwebnet.it">davide.grandis@fastwebnet.it</A>> wrote:<DIV><SPAN class="gmail_quote"></SPAN><BLOCKQUOTE class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Hi all,<BR><BR>I'm trying to setup a TFTP server to serve as repository for the<BR>config of all my Cisco network devices.<BR><BR>As per the the tftpd man, I've added the "-c" option into the /etc/<BR>xinetd.d /tftp (as follows) but I still cannot get write access<BR>(unless the file is already present).<BR><BR>[root@chl1 ~]# cd /etc/xinetd.d<BR>[root@chl1 xinetd.d]# cat tftp<BR># default: off<BR># description: The tftp server serves files using the trivial file <BR>transfer \<BR>#       protocol.  The tftp protocol is often used to boot diskless \<BR>#       workstations, download configuration files to network-aware<BR>printers, \<BR>#       and to start the installation process for some operating <BR>systems.<BR>service tftp<BR>{<BR>         disable = no<BR>         socket_type             = dgram<BR>         protocol                = udp<BR>         wait                    = no<BR>         user                    = root <BR>         server                  = /usr/sbin/in.tftpd<BR>         server_args             = -s -c /tftpboot<BR>         per_source              = 11<BR>         cps                     = 100 2<BR>         flags                   = IPv4 <BR>}<BR><BR>And here is it concerning the home path owner & permissions:<BR><BR>[root@chl1 /]# ls -la<BR>...<BR>drwxrwxrwx   2 root root  4096 Sep 13 10:18 tftpboot<BR>...<BR>[root@chl1 /]# ls -la tftpboot/<BR>drwxrwxrwx  2 root   root      4096 Sep 13 10:18 . <BR>drwxr-xr-x 25 root   root      4096 Sep 13 17:48 ..<BR>-rwxrwxrwx  1 nobody nobody 1811552 Sep 12 10:28 c3500xl-c3h2s-mz.<BR>120-5.WC17.bin<BR>-rwxrwxrwx  1 nobody nobody    1181 Sep 13 17:51 pippo.config<BR><BR>(pippo.config = fake file)<BR><BR>This is what I get at the TFTP client side:<BR><BR>LabTI-Infra-3524XL-01#copy running-config tftp:<BR>Address or name of remote host []? <A href="http://10.58.2.204">10.58.2.204</A><BR>Destination filename [labti-infra-3524xl-01-confg]? <BR>TFTP: error code 1 received - File not found<BR><BR>%Error opening tftp://10.58.2.204/labti-infra-3524xl-01-confg<BR>(Undefined error)<BR><BR>LabTI-Infra-3524XL-01#<BR>LabTI-Infra-3524XL-01#copy running-config tftp:<BR> Address or name of remote host []? <A href="http://10.58.2.204">10.58.2.204</A><BR>Destination filename [labti-infra-3524xl-01-confg]? pippo.config<BR>!!<BR>2327 bytes copied in 0.831 secs<BR><BR>So, it means that the TFTP client can only *re-write* an existing <BR>file but not creating new ones, and this is the expected behavior if<BR>the "-c" parameter is omitted!<BR><BR>What am I missing?<BR><BR>Any suggestion really appreciated!<BR><BR>TIA,<BR>Davide<BR><BR></BLOCKQUOTE> </DIV><BR><BR>I had this same problem when trying to back up my switch configs.  After some googling, I found a workaround for RH-based systems.  The workaround is disable tftp in xinetd, and run in.tftpd manually.  I never figured out why it would not work with xinetd. <BR><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">CentOS mailing list</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="mailto:CentOS@centos.org">CentOS@centos.org</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://lists.centos.org/mailman/listinfo/centos">http://lists.centos.org/mailman/listinfo/centos</A></DIV> </BLOCKQUOTE></DIV><BR></BODY></HTML>