after re-create tftp dir, tftp doesn't work anymore
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
after re-create tftp dir, tftp doesn't work anymore
Hi, Thanks for help and I think this may be a general problem.
1. My tftp used to works on two Fedora 6, my cfg files are:
$ cat /etc/xinetd.d/tftp
service tftp
{
disable = no
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -m /etc/tftpremap /tftpboot -c
per_source = 11
cps = 100 2
flags = IPv4
}
2. My colleague mv /tftpboot /tftpboot_backup, re-mkdir /tftpboot on one Fedora 6, then tftp doesn't work or we can't use another embedded linux to get file from it. Then he found Fedora 6 uses ipv6 from ifconfig and disabled it (In fact in system service ipv6 is disabled, but he used to see such problem). As no help, I then follows what on a web told us completely to disable ipv6. no luck.
Now I get one Failed msg as below:
$ sudo service network restart
Shutting down interface eth0: [ OK ]
Shutting down loopback interface: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth0:
Determining IP information for eth0... failed.
[ FAILED ]
3. My question is why recreate a /tftpboot can lead to failture of tftp? may be Fedora uses a link internally that is not dynamically updated? How can I get it back?
thanks alot. waiting.
Not much help, but just a few hints:
I presume you also changed the server_args in /etc/xinetd/tftp into your new tftpboot
and restart the xinetd server?
If yes, then perhaps the access rights of tftpboot are different?
thanks I erase and install both inetd/tftp-server and they work now.
Incase others face same problem, my solution is to remove the tftp file, use yum to erase both, install both, the tftp file would be automatically generated, edit it to change disable to no, restart, works.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.