LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-21-2004, 10:04 AM   #1
despotp
LQ Newbie
 
Registered: Apr 2004
Posts: 2

Rep: Reputation: 0
TFTP in RH9


Hello everyone.

I'm having a probelm getting my tftp server to work at the moment. I'm using RedHat 9.0 and have installed tftp-server-0.32-4.i386.rpm and tftp-0.32-4.i386.rpm that I got from ftp.redhat.com.

I've configured:

[root@amsterdam /]# cat /etc/xinetd.d/tftp
# default: off
# description: The tftp server serves files using the trivial file transfer \
# protocol. The tftp protocol is often used to boot diskless \
# workstations, download configuration files to network-aware printers, \
# and to start the installation process for some operating systems.
service tftp
{
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s /tftpboot
disable = no
per_source = 11
cps = 100 2
flags = IPv4
}

[root@amsterdam /]# cat /etc/hosts.allow
#
# hosts.allow This file describes the names of the hosts which are
# allowed to use the local INET services, as decided
# by the '/usr/sbin/tcpd' server.
#
ALL : ALL

and restarted xinetd. port 69 is listening:
[root@amsterdam /]# netstat -na | grep 69
udp 0 0 0.0.0.0:69 0.0.0.0:*

and I made sure to allow it in my iptables:

ACCEPT udp -- anywhere 128.129.8.218 udp dpt:tftp

The directory has the right permission:

drwxr-xr-x 3 root root 4096 Apr 21 10:09 tftpboot

as well as the file I'm trying to get:

-rwxr-xr-x 1 root root 1197084 Apr 21 10:09 oper.52.enet

The problem I'm having is that when I try to tftp that file (either from the machine itself or from a remote machine) all I get is:

Apr 21 14:10:03 amsterdam in.tftpd[13955]: tftpd: read(ack): Connection refused
Apr 21 14:10:08 amsterdam in.tftpd[13956]: tftpd: read(ack): Connection refused
Apr 21 14:10:13 amsterdam in.tftpd[13957]: tftpd: read(ack): Connection refused
Apr 21 14:10:18 amsterdam in.tftpd[13958]: tftpd: read(ack): Connection refused
Apr 21 14:10:23 amsterdam in.tftpd[13960]: tftpd: read(ack): Connection refused



Any/all help would be VERY much appreciated.

Thanks!
 
Old 04-22-2004, 10:42 AM   #2
despotp
LQ Newbie
 
Registered: Apr 2004
Posts: 2

Original Poster
Rep: Reputation: 0
Hello again. Anyone have any ideas at all? Anything I can I should check. Anything? Pleeeeeeeeeeeeeeeeeeeese?

Thanks.
 
Old 04-22-2004, 01:21 PM   #3
jonlake
Member
 
Registered: Apr 2004
Distribution: Slackware 11.0, Gentoo
Posts: 252

Rep: Reputation: 31
I havent' used tftp in linux, but are there error logs created that may tell you why the connection is refused? Maybe try to telnet to port 69 to see if it is actually listening for other hosts.

Hope this can get you going in the right direction.

Jon
 
Old 05-07-2004, 12:51 PM   #4
sboyd
LQ Newbie
 
Registered: May 2004
Posts: 1

Rep: Reputation: 0
TFTP in RH9

Hi,

I had similar problems using TFTP on Fedora Core 1. Couldn't copy images to or from any Cisco device. I had to do two things. First make sure iptables isn't running.

You can stop it with:
service iptables stop
as root user.

Next edit the /etc/xinetd.d/tftp file and rem out the line that reads
flags = IPv4

and restart the services with

service xinetd restart

again as root user.


Hope this helps.
 
Old 06-09-2004, 03:41 PM   #5
nattydred
LQ Newbie
 
Registered: Jun 2004
Posts: 5

Rep: Reputation: 0
ive tried the fix listed above and i still can t get it to work.. / has anyone gotten it to work at all??
 
  


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
tftp baparekh Linux - Networking 8 03-11-2005 07:50 AM
tftp baparekh Linux - Newbie 1 03-07-2005 02:51 PM
TFTP-Problem: TFTP timed out Bikerpete Linux - General 2 08-14-2003 05:25 AM
help with tftp please Tigger Linux - Security 3 06-11-2003 05:37 PM
TFTP help!!! zhangyunyan Linux - Networking 3 12-05-2002 03:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:51 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration