Tftp server

This is a discussion on Tftp server within the Linux Programming forums, part of the Platform Specific Boards category; UGGG so im trying to setup a tftp server on red hat linux. Ive gone through like all the instructinos ...

  1. #1
    Registered User
    Join Date
    Aug 2009
    Posts
    192

    Tftp server

    UGGG so im trying to setup a tftp server on red hat linux. Ive gone through like all the instructinos online. setting_up_a_tftp_server [Open Source @ Analog]
    and How to Install a tftp Server on Red Hat Enterprise Linux : Bob Plankers, The Lone Sysadmin

    And like i didnt get any errors or anything when typing the commands on the terminal but basically every time i try to test it i never works sooo im not really sure how im suppose to do this.

    basically i have a tftp in one ip address. And with another system with a different ip address using the client tftp ipaddr(server) and i try to get foo and it never connects and I tried a ping and they ping together just fine soo im just not sure if the tftp server is even on

  2. #2
    Registered User jeffcobb's Avatar
    Join Date
    Dec 2009
    Location
    Henderson, NV
    Posts
    875
    Well what I would do is divide and conquer in a situation like this. For example, you need to know if the client or the server is at fault (could be either with what little info you have provided). To do this, run your tftp daemon on the server, make a note of what port it is supposed to be on (I am too lazy to look it up), then run netstat -a | grep <expected port number> in another term to see if it is listening where you expect it to. If it is NOT then probably doing just the netstat -a part will show all of the active ports (and owners) on the server; if tftp doesn't show up, or shows up where you do not expect it to (wrong port) this is a clue to what is wrong. If it DOES show up where you think it should then its either the client not connecting to the right place or maybe a firewall with too strict of a ruleset....
    C/C++ Environment: GNU CC/Emacs
    Make system: CMake
    Debuggers: Valgrind/GDB

  3. #3
    VIM addict
    Join Date
    May 2009
    Location
    Chennai, India
    Posts
    43
    When i first started working with embedded systems i have faced this issue. In my case the firewall is the one which is blocking the traffic. So, why don't you check your firewall rules(iptables/ip6tables).

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Server Architecture
    By coder8137 in forum Networking/Device Communication
    Replies: 2
    Last Post: 01-29-2008, 10:21 PM
  2. Where's the EPIPE signal?
    By marc.andrysco in forum Networking/Device Communication
    Replies: 0
    Last Post: 12-23-2006, 07:04 PM
  3. Open Source Tiny Simple TFTP Server
    By DeepBlackMagic in forum C++ Programming
    Replies: 1
    Last Post: 03-28-2004, 02:27 PM
  4. IE 6 status bar
    By DavidP in forum Tech Board
    Replies: 15
    Last Post: 10-23-2002, 05:31 PM
  5. socket question
    By Unregistered in forum C Programming
    Replies: 3
    Last Post: 07-19-2002, 01:54 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21