RE: Stupid Telnet Question
From: Martin, Tim <hidden>
Date: 2007-01-03 20:01:15
-----Original Message----- From: Erik Habbinga [mailto:erikhabbinga@inphase-tech.com]=20 Sent: Wednesday, January 03, 2007 10:27 AM To: Martin, Tim Subject: Re: Stupid Telnet Question =20 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
/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.