LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 12-09-2004, 05:24 AM   #1
chrisknight
Member
 
Registered: Jan 2003
Location: ohio
Distribution: CentOS5.5, SmoothWall 3.0
Posts: 139

Rep: Reputation: 15
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!
 
Old 12-09-2004, 05:44 AM   #2
overlord73
Member
 
Registered: Apr 2004
Location: ..where no life dwells..
Distribution: RH,FC/SuSE/Debian/HPUX/OSX
Posts: 511

Rep: Reputation: 30
look at this

http://www.intra2net.com/opensource/diskless-howto/
http://www.hut.fi/~tkarvine/network-booting-pxe.html
 
Old 12-09-2004, 07:18 AM   #3
rhoekstra
Member
 
Registered: Aug 2004
Location: The Netherlands
Distribution: RedHat 2, 3, 4, 5, Fedora, SuSE, Gentoo
Posts: 356

Rep: Reputation: 40
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?
 
Old 12-09-2004, 04:19 PM   #4
chrisknight
Member
 
Registered: Jan 2003
Location: ohio
Distribution: CentOS5.5, SmoothWall 3.0
Posts: 139

Original Poster
Rep: Reputation: 15
Talking

Well, what do ya know...
Mounted the 3rd cd and it was there. Installed and working great...
Thanks!
Chris
 
Old 12-10-2004, 01:25 AM   #5
rhoekstra
Member
 
Registered: Aug 2004
Location: The Netherlands
Distribution: RedHat 2, 3, 4, 5, Fedora, SuSE, Gentoo
Posts: 356

Rep: Reputation: 40
You're very welcome
 
Old 12-23-2004, 10:22 AM   #6
chrisknight
Member
 
Registered: Jan 2003
Location: ohio
Distribution: CentOS5.5, SmoothWall 3.0
Posts: 139

Original Poster
Rep: Reputation: 15
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...
 
Old 08-10-2009, 06:24 PM   #7
JatMan
LQ Newbie
 
Registered: Oct 2006
Location: Plano, Texas
Distribution: RHEL AS 4 Update 4
Posts: 4

Rep: Reputation: 0
Wink Disable SELINUX

I had to disable selinx as well to get the tftp server working.

Here is the link.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting Up Fedora WebServer aylwin_wong Linux - Networking 2 09-05-2005 03:55 AM
Setting up internet on Fedora 4 sparkyboy Linux - Networking 2 07-21-2005 05:46 PM
Fedora Resolution setting amdawi Linux - Laptop and Netbook 0 04-13-2004 06:28 AM
Setting Up Internet in Fedora BUOIS3616 Fedora 12 04-01-2004 08:58 PM
TFTP-Problem: TFTP timed out Bikerpete Linux - General 2 08-14-2003 05:25 AM


All times are GMT -5. The time now is 07:03 AM.

Main Menu
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