Skip to contentSkip to conversation

Stupid Telnet Question

DISCUSSION Martin, Tim 1 participant 1 message Jan 3, 2007 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 6 lines

-----Original Message-----
From: Erik Habbinga [mailto:[email protected]]=20
Sent: Wednesday, January 03, 2007 10:27 AM
To: Martin, Tim
Subject: Re: Stupid Telnet Question
=20

Quoted 8 lines

Tim,
Did you ever figure out how to get telnet to work with=20
ELDK 4.0? I've run into the same problem. I've heard it=20 will be fixed in ELDK 4.1, but that's not out yet. =20
Thanks!
Erik
=20

Erik,

I did eventually solve it - but don't remember exactly what I did.

Here's my xinetd telnet configuration file (/etc/xinet.d/telnet):
------------
# description: The telnet server serves telnet sessions; it uses \
# unencrypted username/password pairs for authentication.
service telnet

{
	flags		=3D REUSE
	socket_type	=3D stream       =20
	wait		=3D no
	user		=3D root
	server		=3D /usr/sbin/in.telnetd
        server_args     =3D -L /bin/login
	log_on_failure	+=3D USERID
	disable		=3D no
}

------------

And here's my bootup script (/etc/rc.sh):
------------
#!/bin/sh

/sbin/ifconfig lo 127.0.0.1

Quoted 1 line

/etc/mtab

/bin/mount -n -t tmpfs tmpfs -o size=3D1M /tmp
mkdir /tmp/var
mkdir /tmp/var/log
mkdir /tmp/var/run
mkdir /tmp/dev
/etc/rc.makedev
/sbin/syslogd

# mount /proc so "reboot" works
/bin/mount -n -t proc proc /proc

/usr/sbin/xinetd -stayalive -reuse -pidfile /tmp/xinetd.pid
------------

/etc/rc.makedev is just the ELDK 4.0 makedev script, slightly taylored to my particular board.