LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-28-2011, 11:34 AM   #1
ochocobull
Member
 
Registered: Jul 2011
Location: Central Oregon
Distribution: Debian lenny
Posts: 30

Rep: Reputation: Disabled
Can tftpd be configured to not have the file exist before transfer


Good Morning,

I am learning Linux and especially the scripting and server administration aspect. I recently installed TFTPD on a Debian Lenny box and was satisfied with the results. The only drawback that I could find was that a file had to exist before TFTPD would allow a transfer. I understand that this is standard practice however I was wondering if there was a way around this. I am using this TFTP server to backup configurations and IOS images on our Cisco devices in a private network. If there isn't anyway to do this is there a different TFTP server that I could install that would support this functionality. I have read the man pages without much luck and doing Google searches hasn't yielded many results. I really appreciate your help and if there is anything you need from me please let me know.

/etc/inetd.conf file
Quote:
#:BOOT: TFTP service is provided primarily for booting. Most sites
# run this only on machines acting as "boot servers."
tftp dgram udp wait root /usr/sbin/tcpd /usr/sbin/in.tftpd -s /tftpboot
Permissions on /tftpboot
Quote:
drwxrwxrwx 2 ed ed 4096 2011-07-13 00:29 tftpboot
 
Old 07-29-2011, 08:33 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,980

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
I can't figure out what you are saying.

Did you try a "put" of some file to the server and it failed? Is that user you connected with a user that can use and write to the drive?

I know this is aix example but similar ideas in linux. I just can't find a better example.

http://publib.boulder.ibm.com/infoce...cmds5/tftp.htm

Dunno if your OS needs a users or hosts to be allowed.

Last edited by jefro; 07-29-2011 at 08:35 PM.
 
Old 08-01-2011, 01:07 AM   #3
ochocobull
Member
 
Registered: Jul 2011
Location: Central Oregon
Distribution: Debian lenny
Posts: 30

Original Poster
Rep: Reputation: Disabled
Clarification

I am sorry for the confusion this is not a TFTP service question but a TFTPD application question. I have configured several TFTP servers from AIX to iSeries to Windows servers. My question was is there a configuration specific to TFTPD that would allow a file to be 'put' to the TFTPD server. The TFTP service protocol generically does not allow a put to take place unless the file already exists. However on other TFTP servers you can change this setting. I was hoping this was the case for TFTPD on Debian (lenny). If it isn't possible I was hoping there would be another software package that I could install that would be able to accomplish this. I hope this helps and if there is anything else you need from me please feel free to let me know.
 
  


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
tftpd problems with both tftpd-hpa and atftpd spitting image Linux - Server 1 10-05-2010 04:40 PM
tftpd problems with both tftpd-hpa and atftpd spitting image Debian 0 10-05-2010 11:04 AM
Sony PSP file transfer inaccurate transfer progress stratotak Linux - Newbie 3 01-02-2010 03:49 AM
tftpd-hpa on Ubuntu 6.10 - Error code 1: File not found jim0112 Ubuntu 3 08-25-2009 06:19 PM
tftpd pxe-01 file not found on terminal fitzy85 Linux - Networking 1 08-11-2004 01:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:38 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