Stupid Telnet Question
Martin, Tim
tim.martin at viasat.com
Thu Jan 4 06:49:05 EST 2007
> -----Original Message-----
> From: Erik Habbinga [mailto:erikhabbinga at inphase-tech.com]
> Sent: Wednesday, January 03, 2007 10:27 AM
> To: Martin, Tim
> Subject: Re: Stupid Telnet Question
>
> Tim,
> Did you ever figure out how to get telnet to work with
> ELDK 4.0? I've run into the same problem. I've heard it
> will be fixed in ELDK 4.1, but that's not out yet.
>
> Thanks!
> Erik
>
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 = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.telnetd
server_args = -L /bin/login
log_on_failure += USERID
disable = 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=1M /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.
More information about the Linuxppc-embedded
mailing list