[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to check tftp server is running?



hce wrote:
On 11/6/07, Andrew Sackville-West <andrew@farwestbilliards.com> wrote:
On Tue, Nov 06, 2007 at 04:21:31PM +1100, hce wrote:
On 11/6/07, Andrew Sackville-West <andrew@farwestbilliards.com> wrote:
On Tue, Nov 06, 2007 at 01:32:47PM +1100, hce wrote:
On 11/6/07, Andrew Sackville-West <andrew@farwestbilliards.com> wrote:
On Tue, Nov 06, 2007 at 11:35:17AM +1100, hce wrote:
On 11/6/07, Andrew Sackville-West <andrew@farwestbilliards.com> wrote:
...
please provide

dpkg -l tftpd
~$ dpkg -l tftpd
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
rc  tftpd          0.17-15        Trivial file transfer protocol server
----------^^

rc means that it is not installed.
$ sudo dpkg -l tftpd
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  tftpd          0.17-15        Trivial file transfer protocol server
--^^

ii means its installed.

Well, I've called "$ sudo /etc/init.d/openbsd-inetd restart", but
tftpd doesn't seem work.
try running it directly, instead of from inet.d because I'm guessing
this is an inet.d configuration problem. I don't use inet.d, so
someone else will have to help here.

Thanks Andrew, you are indeed so helpful.

Fow anyone who knows debian, please help me the following:

In FC6, the tftp script is in xinetd.d, I can call xinetd restart to
include tftp service.

In Debian, I could not find a tftp script in init.d. In fact, I could
not find a tftp script under /etc. How can I get the tftp service?

Thank you.

Jim



I had replied to this thread earlier, but apparently my post was lost. Anyway here it is again:

I have had good results by installing the tftpd-hpa package. You can run it from either inetd or standalone. For running the standalone version you need to disable it in /etc/inetd.conf and set the relevant flag to "yes" in /etc/default/tftpd-hpa

To check whether the server is running, install some tftp client (say tftp-hpa), then try getting a file from the machine:
==
$ tftp localhost
tftp> get somefile
==

If you get an error almost immediately saying the file could not be found, that means the server is running :)

--
Raj Kiran Grandhi



Reply to: