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.
I have installed tftp-0.32-4.rpm and tftp-server-0.32-4.rpm on my redhat9.0,and the tftp script in /etc/xinetd.d/tftp is like this.
service tftp
{
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -c -s /tftpboot
disable = no
per_source = 11
cps = 100 2
}
I have two network card.one ip is 10.5.25.91,one ip is 192.168.0.1.I made a bridge between the two cards which named br0,the ip address is 192.168.1.1.I can ping 192.168.1.1 in a win2000 machine.so I put 1.txt in /tftpboot.I typed the command like this in win2000 command line:
tftp 192.168.11get 1.txt
but it always says time out.
when I type command in my redhat 9.0
tftp 192.168.1.1
tftp> get 1.txt
Transfer timed out.
Does anybody can tell me why and how to get it run?
I changed my file like yours but it still did not work.I close my firewall and try again, still time out.I can see the udp/69 tftp by using nmap .So why ?I can't understand.
I've just tried this. My tftp config file is not radically different from yours. I got it to work, both from another Linux machine and my Win2000 machine.
After editing the config file to turn on tftp, did you remember to restart xinetd? (/etc/rc.d/init.d/xinetd restart)
And the obvious question; did you open the firewalls? Both on Linux and Windows? I know, cause I've tried to contact the tftp server on a Linux machine with the firewall closed. There, I admitted it first, now it won't feel as bad for you if you've done what I did
Thanks for your help.When I use a notebook to tftp my machines,I can see the lines like yours.So I'm sure that my tftpd is running.But when I use command "setup " to check my firewall,I saw something like this:
Security Level:High.I tried many times to change it to No firewall,but after I restart my machine I found it still High.So How can I close my firewall?
Now I can get it run correctly.The only change is "server_args "
service tftp
{
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -c -s /tftphost
disable = no
per_source = 11
cps = 100 2
}
Thanks for your help!
I am having a similar problem, I su to root and run
# /etc/xinetd.d/tftp
get permission denied
why is this happening I should be able to start the process as root right?
I think I am missing somthing, I havent looked at the firewall yet, would this be caused by the fire wall?
The tftp daemon is started by xinetd. You need a line in your /etc/xinetd.d/tftp that reads
disable = no
(see the example files above)
then the tftpd should be automatically started by xinetd.
I've gotten that far, but the tutorial I was reading (HOWTO Clone Disk Images on Linux Booted from a Network) http://www.tldp.org/HOWTO/Clone-HOWTO/index.html
shows a cli
tftp>
it apears to be a command line interface and that is where I got lost,
I checked and it is running so how do I get this CLI?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.