I have a different board but same kernel and RFS. Try this to enable
telnet:
chmod 4755 /usr/lib/telnetlogin
--- In "delapluie" <> wrote:
>
>
> I've been trying to get the debian-etch-eabi-armel-512MB-oct042007
> root file system working on my 7800 with the stock 2.6.21-ts
kernel.
> I'm mounting the file system over NFS, and it boots without much
> complaint, and most of it is working ok over a serial terminal.
>
> After some messing around, we've got tcp/ip, ftp, and apache
working,
> but so far, it will not accept telnet or ssh connections. Here is a
> typical response to an attempt to connect with ssh-
>
> :~$ ssh -vv
> OpenSSH_4.6p1 Debian-5ubuntu0.1, OpenSSL 0.9.8e 23 Feb 2007
> debug1: Reading configuration data /etc/ssh/ssh_config
> debug1: Applying options for *
> debug2: ssh_connect: needpriv 0
> debug1: Connecting to 192.168.0.50 [192.168.0.50] port 22.
> debug1: Connection established.
> debug1: identity file /home/mike/.ssh/identity type -1
> debug1: identity file /home/mike/.ssh/id_rsa type -1
> debug1: identity file /home/mike/.ssh/id_dsa type -1
> debug1: Remote protocol version 2.0, remote software version
> OpenSSH_4.3p2 Debian-8
> debug1: match: OpenSSH_4.3p2 Debian-8 pat OpenSSH*
> debug1: Enabling compatibility mode for protocol 2.0
> debug1: Local version string SSH-2.0-OpenSSH_4.6p1 Debian-5ubuntu0.1
> debug2: fd 3 setting O_NONBLOCK
> debug1: SSH2_MSG_KEXINIT sent
> debug1: SSH2_MSG_KEXINIT received
> debug2: kex_parse_kexinit:
> diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-
sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
> debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
> debug2: kex_parse_kexinit:
> aes128-cbc,3des-cbc,blowfish-cbc,cast128-
cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,rijndael-
> debug2: kex_parse_kexinit:
> aes128-cbc,3des-cbc,blowfish-cbc,cast128-
cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,rijndael-
> debug2: kex_parse_kexinit:
>
96,hmac-md5-96
> debug2: kex_parse_kexinit:
>
96,hmac-md5-96
> debug2: kex_parse_kexinit:
> debug2: kex_parse_kexinit:
> debug2: kex_parse_kexinit:
> debug2: kex_parse_kexinit:
> debug2: kex_parse_kexinit: first_kex_follows 0
> debug2: kex_parse_kexinit: reserved 0
> debug2: kex_parse_kexinit:
> diffie-hellman-group-exchange-sha1,diffie-hellman-group14-
sha1,diffie-hellman-group1-sha1
> debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
> debug2: kex_parse_kexinit:
> aes128-cbc,3des-cbc,blowfish-cbc,cast128-
cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,rijndael-
> debug2: kex_parse_kexinit:
> aes128-cbc,3des-cbc,blowfish-cbc,cast128-
cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,rijndael-
> debug2: kex_parse_kexinit:
>
96,hmac-md5-96
> debug2: kex_parse_kexinit:
>
96,hmac-md5-96
> debug2: kex_parse_kexinit:
> debug2: kex_parse_kexinit:
> debug2: kex_parse_kexinit:
> debug2: kex_parse_kexinit:
> debug2: kex_parse_kexinit: first_kex_follows 0
> debug2: kex_parse_kexinit: reserved 0
> debug2: mac_init: found hmac-md5
> debug1: kex: server->client aes128-cbc hmac-md5 none
> debug2: mac_init: found hmac-md5
> debug1: kex: client->server aes128-cbc hmac-md5 none
> debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
> debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
> debug2: dh_gen_key: priv key bits set: 133/256
> debug2: bits set: 527/1024
> debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
> debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
> debug1: Host '192.168.0.50' is known and matches the RSA host key.
> debug1: Found key in /home/mike/.ssh/known_hosts:4
> debug2: bits set: 502/1024
> hash mismatch
> debug1: ssh_rsa_verify: signature incorrect
> key_verify failed for server_host_key
> :~$
>
> and here is a typical response to a telnet connection while running
> in.telnetd with -D flag-
>
> :~$ telnet 192.168.0.50
> Trying 192.168.0.50...
> Connected to 192.168.0.50.
> Escape character is '^]'.
> td: send do TERMINAL TYPE
> td: send do TSPEED
> td: send do XDISPLOC
> td: send do NEW-ENVIRON
> td: recv do SUPPRESS GO AHEAD
> td: send will SUPPRESS GO AHEAD
> td: recv will TERMINAL TYPE
> td: recv will NAWS
> td: send do NAWS
> td: recv will TSPEED
> td: recv will LFLOW
> td: send do LFLOW
> td: recv will LINEMODE
> td: send dont LINEMODE
> td: recv will NEW-ENVIRON
> td: recv do STATUS
> td: send will STATUS
> td: recv will XDISPLOC
> td: recv suboption NAWS 0 80 (80) 0 24 (24)
> td: recv suboption TERMINAL-SPEED IS 38400,38400
> td: recv suboption X-DISPLAY-LOCATION IS "mike-laptop:0.0"
> td: recv suboption ENVIRON IS VAR "DISPLAY" VALUE "mike-laptop:0.0"
> td: recv suboption TERMINAL-TYPE IS "xterm"
> td: send do ECHO
> td: recv wont ECHO
> td: send will ECHO
> Debian GNU/Linux 4.0
> td: recv do ECHO
> login: Permission denied.
> Connection closed by foreign host.
> :~$
>
> Anyone have any suggestions? Thanks,
> -Mike
>
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|