linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* problems with inetd
@ 2001-09-13 22:29 Andrew Dixon
  0 siblings, 0 replies; only message in thread
From: Andrew Dixon @ 2001-09-13 22:29 UTC (permalink / raw)
  To: 'linuxppc-embedded@lists.linuxppc.org'


Hi All,
I'm trying to set up inetd to run on a box that I'm working on over here
and I was wondering if anyone had any advice.

I've gotten telnetd to run on the box and I'd now like to have inetd
spawn telnetd when there's a connection.

I've installed inetd in /usr/sbin/inetd and have created
/etc/inetd.conf, /etc/services, /etc/protocols, and /etc/nsswitch.conf
but I can't get it to work.

When I try to telnet into the box I get the following output:
	dixon@rowling:~$ telnet 172.16.1.159
	Trying 172.16.1.159...
	telnet: Unable to connect to remote host: Connection refused

I start telnetd on the host with the following command:
	# /usr/sbin/inetd -d
	ADD : discard proto=tcp, wait.max=0.40, user.group=root.(null)
builtin=10014530 server=internal
	ADD : discard proto=udp, wait.max=0.40, user.group=root.(null)
builtin=10014540 server=internal
	ADD : daytime proto=tcp, wait.max=0.40, user.group=root.(null)
builtin=10014570 server=internal
	ADD : time proto=tcp, wait.max=0.40, user.group=root.(null)
builtin=10014550 server=internal
	ADD : telnet proto=tcp, wait.max=0.40, user.group=root.root
builtin=0 server=/usr/sbin/telnetd
	ADD : smtp proto=tcp, wait.max=0.40, user.group=mail.(null)
builtin=0 server=/usr/sbin/exim

what I don't see is the:
	someone wants telnet
	accept, ctrl 3
	1876 execl /usr/sbin/in.telnetd

that you'd expect.

Any ideas on what's going on?

Thanks,
Andy

P.S. Please cc me on replies.


--
Andrew Dixon
Software Engineer
Seranoa Networks
978.897.3434 x231

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-09-13 22:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-13 22:29 problems with inetd Andrew Dixon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).