Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i am using tftp clinet to upload files, but getting errors.
[root@indus ~]# tftp
(to) 192.168.0.11
tftp> status
Connected to 192.168.0.11
tftp> verbose
Verbose mode on.
tftp> put install.log
putting install.log to 192.168.0.11:install.log [netascii]
Error code 1: File not found
tftp>put /root/install.log
putting install.log to 192.168.0.11:/root/install.log [netascii]
Error code 1: File not found
tftp>
When you go in a tftp server you are chrooted! you tell to the server to put a file from the server to the server.. I don't understand why you don't use ftp.. tftp is used for diskless client. http://en.wikipedia.org/wiki/Trivial...nsfer_Protocol
Do you have a /etc/in.tftpd or /etc/tftpd like this: (/etc/conf.d/in.tftpd in gentoo)
# /etc/init.d/in.tftpd
# Path to server files from
INTFTPD_PATH="/diskless"
INTFTPD_USER="nobody"
# For more options, see tftpd(8)
INTFTPD_OPTS="-u ${INTFTPD_USER} -l -vvvvvv -p -c -s ${INTFTPD_PATH}"
i am using tftp for saving running-configuration and ios of routers. so testing from linux(client tftp) to linux (server tftp)
2nd point, i am at client side and install.log is in root's home directory. and Error message is "file not found"
and /tftpboot/ exists, with permissions
Don't know for sure but i don't think tftp runs as the root user so you will have to change your directory's permissions on the tftpserver.
With "drwxr-xr-x 2 root root 4096 Feb 12 2006 /tftpboot/" only the root user can write to the directory.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.