> -----Original Message-----
> From: Erik Habbinga [mailto:[EMAIL PROTECTED] 
> 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.
_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

Reply via email to