LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-21-2012, 09:52 AM   #1
dudastt
LQ Newbie
 
Registered: Feb 2012
Posts: 13

Rep: Reputation: Disabled
[ask]TFTP problem


i have a problem backing up my router configuration to linux via tftp

here are the script in /etc/xinetd.d/tftp

Quote:
service tftp
{
protocol = udp
port = 69
socket_type = dgram
wait = yes
user = nobody
server = /usr/sbin/in.tftpd
server_args = /data/tftp_root
disable = no
}
i saved and exited the file and then i ran the command
Quote:
chmod -R 777 /data/tftp_root
chown -R nobody /data/tftp_root
and then i restarted xinet.d

after that i ping the server from my router and it replied back
and then i copied the running-config to tftp and this error message appeared
Quote:
error opening tftp://172.16.12.2/routerconf (permission denied)
did i miss something on the tftp server setting?

regards
--fathul--

Last edited by dudastt; 02-21-2012 at 01:02 PM.
 
Old 02-21-2012, 01:31 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,699

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
By default, tftpd will only allow upload of files that already exist. Use the -c option.

http://linux.die.net/man/8/tftpd
 
Old 02-21-2012, 03:01 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,978

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
Try locally a small file to the tftp server. Put a file in there and see if the error is the same. May be also a write issue to the server.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
in.tftp pxelinux.0_ fails with TFTP open timeout deadeyes Linux - Server 1 05-28-2010 10:07 AM
after re-create tftp dir, tftp doesn't work anymore lastguy Linux - Networking 2 11-16-2007 03:33 PM
TFTP problem... ramesh6056 Linux - Software 0 09-28-2007 07:09 AM
tftp issue, unable to transfer kernel image using tftp to boot ltsp-client noobs4linux Linux - Networking 1 02-07-2007 01:53 AM
TFTP-Problem: TFTP timed out Bikerpete Linux - General 2 08-14-2003 05:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration