Re: How to check tftp server is running?
On 11/5/07, Andrew Sackville-West <andrew@farwestbilliards.com> wrote:
> On Mon, Nov 05, 2007 at 03:37:05PM +1100, hce wrote:
> > On 11/5/07, Andrew Sackville-West <andrew@farwestbilliards.com> wrote:
> ...
> > >
> > > in debian services are started with an init script stored in
> > > /etc/init.d/ and linked to various runlevels in /etc/rc[S123456].d/
> >
> > I've checked in /etc/init.d, there is no tftp, nor tftpd. I did
> > installed by "apt-get install tftp" and "apt-get install tftpd". Where
> > are those scripts? Or did I installed wrong tftp packages?
>
> looks like you probably did install the wrong package.
>
> Useful bits:
>
> dpkg -L tftpd
$ dpkg -L tftpd
Package `tftpd' does not contain any files (!)
This is stange and I am confused, how can calling "apt-get install
tftpd" get nothing??
> will show you what files were installed by that package.
>
> to see what a package contains before installing it:
>
> apt-cache show tftpd
$ apt-cache show tftpd
Package: tftpd
Priority: optional
Section: net
Installed-Size: 44
Maintainer: Alberto Gonzalez Iniesta <agi@inittab.org>
Architecture: i386
Source: netkit-tftp
Version: 0.17-15
Replaces: netstd
Depends: netbase, libc6 (>= 2.3.5-1)
Filename: pool/main/n/netkit-tftp/tftpd_0.17-15_i386.deb
Size: 14956
MD5sum: 90c6645b38374c3da42b24e443060318
SHA1: e11210a2ee84edc229b3a059e93fbe3a00acdce2
SHA256: 7cc83ea3726271aea58720c2bf096bcd71ce33c6642f58bfd34b750d287bb415
Description: Trivial file transfer protocol server
Tftpd is a server which supports the Internet Trivial File Transfer Protocol
(RFC 783). The TFTP server operates at the port indicated in the `tftp'
service description; see services(5). The server is normally started by
inetd(8).
Tag: admin::boot, admin::file-distribution, filetransfer::ftp,
interface::daemon, network::server, protocol::ftp, protocol::ip,
role::program, use::configuring
So, the tftpd is the tftp server, what's going here??
> will provide the package description and various details such as
> dependencies.
>
>
> Indeed, from packages.debian.org and the package description, looks
> like tftpd expects to start form inet.d, so you'd have to put the
> proper entries in inet.d.conf and will not see the daemon running
> unless someone's actually connected.
Well, my inetd.conf contains following tftp:
tftp dgram udp wait nobody /usr/sbin/tcpd /usr/sbin/in.tftpd /srv/tftp
How to start/stop/restart the intd?
Thank Andrew,
Jim
Reply to: