LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 09-08-2003, 10:48 AM   #1
LinuxQuest01
Member
 
Registered: Jun 2002
Distribution: RH 7.3
Posts: 30

Rep: Reputation: 15
Problem using put with TFTP


Hi,

I'm having problem putting a file onto the TFTP server on Redhat LInux 7.3. Every time I trying putting a file with the put command, I get a "Error code 1: file not found". (I am able to get files fine!).

# tftp tftp_server
tftp> get test.txt
Received 11 bytes in 0.0 seconds
tftp> put test2.txt
Error code 1: File not found
tftp> quit

(The test2.txt file on my current directory)

My /etc/inetd.d/tftp file looks like:

# 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 /tftpboot
per_source = 11
cps = 100 2
}

Does anyone know what I am missing? Is there some security/access that needs to be configure?

Thanks in advance.
 
Old 09-12-2003, 09:40 AM   #2
dr.emil
LQ Newbie
 
Registered: Sep 2003
Location: Hamburg,Germany
Distribution: RedHat 9 (7.3 on some Boxes)
Posts: 1

Rep: Reputation: 1
Re: Problem using put with TFTP

Quote:
Originally posted by LinuxQuest01
Hi,

by default, tftpd will only allow upload of files that already exist.
(see the man pages ;-) but -c will do the job.

You could try

server_args = -c -s /tftpboot

in /etc/inetd.d/tftp

This works for me.

 
1 members found this post helpful.
Old 03-22-2012, 05:58 AM   #3
oso_togari
LQ Newbie
 
Registered: Jan 2008
Distribution: SOLARIS 9, RHEL4
Posts: 22

Rep: Reputation: 0
Thumbs up

Excelent!!

same problem, and with the "-c" option all works fine.

Thankyou
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
TFTP-Server Problem tomcat22 Slackware 1 11-17-2005 03:54 PM
TFTP problem regarding local socket dhartnett35 Linux - Networking 3 02-15-2005 08:31 AM
TFTP-Problem: TFTP timed out Bikerpete Linux - General 2 08-14-2003 06:25 AM
TFTP Problem? it will not work! m1anh Linux - General 1 02-02-2003 05:24 AM
deam tftp listen problem saavik Linux - Networking 1 01-02-2003 12:25 AM


All times are GMT -5. The time now is 06:55 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration