setting up TFTP on fedora
Hello! I need to set up tftp for backing up cisco configs and IOS's... I found on my fedora 2 (and 3) disk 4 an rpm called tftp.0.33.3.rpm (or something like that) and in stalled it with RPM -IVVH but this seems to only install a tftp client in /usr/bin.
Not the server... I was expecting to find at least 2 things: /etc/xinetd.d/tftp and /usr/sbin/in.tftpd I didnt find either one on the fedora 2 or the fedora 3 machine using disk 4 for each system. I did find a tftp server out there that I compiled and got to work but when I run it, I cant get it to dissconnect from the shell. I added a line to start it in /etc/rc.d/rc.local but when the system boots it just hangs there running and wont let the system boot up fully... I found that here: http://iridia.ulb.ac.be/~fvandenb/tools/tools.html Can someone help me set up a tftp server? ...or point me to one? Thanks! |
|
On the third CD of all Fedora releases there is an RPM called tftp-server-<version>
Don't you think that would help you out? |
Well, what do ya know...
Mounted the 3rd cd and it was there. Installed and working great... Thanks! Chris |
You're very welcome :)
|
To clearify how I got this working...
Installed the TFTP server RPM on the FC disc 3. This adds the directory: /tftpboot You can turn on the ftp server via the Service Configuration window in KDE. This seemed like it would solve my problem but attempting from my router a 'copy running-config tftp' wouldnt work... Had to dig a bit further... It seems as though the -c argument allowes for the creation of files. I added this to my: /etc/xinetd.d/tftp It looks 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 } ------------------------------------------------- then, It almost worked. Instead of a write error message like before I got a permissions error. I issued the command: chown nobody:nobody /tftpboot and it worked... I can now back up my cisco configs and IOS's... |
Disable SELINUX
|
All times are GMT -5. The time now is 01:28 AM. |