hello
I compiled dropbear with arm-linux-gcc version:
Quote:
arm-linux-gcc -v
Using built-in specs.
Target: arm-none-linux-gnueabi
Configured with: /scratch/julian/lite-respin/linux/src/gcc-4.3/configure --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --target=arm-none-linux-gnueabi --enable-threads --disable-libmudflap --disable-libssp --disable-libstdcxx-pch --with-gnu-as --with-gnu-ld --enable-languages=c,c++ --enable-shared --enable-symvers=gnu --enable-__cxa_atexit --with-pkgversion='Sourcery G++ Lite 2008q3-72' --with-bugurl=https://support.codesourcery.com/GNUToolchain/ --disable-nls --prefix=/opt/codesourcery --with-sysroot=/opt/codesourcery/arm-none-linux-gnueabi/libc --with-build-sysroot=/scratch/julian/lite-respin/linux/install/arm-none-linux-gnueabi/libc --with-gmp=/scratch/julian/lite-respin/linux/obj/host-libs-2008q3-72-arm-none-linux-gnueabi-i686-pc-linux-gnu/usr --with-mpfr=/scratch/julian/lite-respin/linux/obj/host-libs-2008q3-72-arm-none-linux-gnueabi-i686-pc-linux-gnu/usr --disable-libgomp --enable-poison-system-directories --with-build-time-tools=/scratch/julian/lite-respin/linux/install/arm-none-linux-gnueabi/bin --with-build-time-tools=/scratch/julian/lite-respin/linux/install/arm-none-linux-gnueabi/bin
Thread model: posix
gcc version 4.3.2 (Sourcery G++ Lite 2008q3-72)
|
with these options:
Quote:
CC=arm-linux-gcc ./configure --prefix=/root/armssh --host=arm --disable-syslog --disable-lastlog --disable-openpty
make PROGRAMS="dropbear dbclient dropbearkey dropbearconvert scp"
make PROGRAMS="dropbear dbclient dropbearkey dropbearconvert scp" install
|
and it compiled fine.
but when I loaded it into my arm9 i got this for dropbear command:
Quote:
[root@FriendlyARM /]# dropbear -F -E
[791] Aug 25 12:05:44 Failed reading '/etc/dropbear/dropbear_rsa_host_key', disabling RSA
[791] Aug 25 12:05:44 Failed reading '/etc/dropbear/dropbear_dss_host_key', disabling DSS
[791] Aug 25 12:05:44 premature exit: No hostkeys available
|
and when I run dropbearkey I got this:
Quote:
[root@FriendlyARM /]# dropbearkey -t dss -f dropbear_dss_host_key
Will output 1024 bit dss secret key to 'dropbear_dss_host_key'
Generating key, this may take a while...
|
or
Quote:
[root@FriendlyARM /]# dropbearkey -t rsa -s 1024 -f dropbear_rsa_host_key
Will output 1024 bit rsa secret key to 'dropbear_rsa_host_key'
Generating key, this may take a while...
|
and nothing else happend and no rsa or dsa key made.
so I started running them in back ground because I thought it may took long time maybe 10 minutes so:
Quote:
[root@FriendlyARM /]# dropbearkey -t dss -f dropbear_dss_host_key &
Will output 1024 bit dss secret key to 'dropbear_dss_host_key'
Generating key, this may take a while...
[root@FriendlyARM /]# dropbearkey -t rsa -s 1024 -f dropbear_rsa_host_key &
Will output 1024 bit rsa secret key to 'dropbear_rsa_host_key'
Generating key, this may take a while...
[root@FriendlyARM /]# ps
PID USER VSZ STAT COMMAND
1 root 3104 S init
2 root 0 SW< [kthreadd]
3 root 0 SW< [ksoftirqd/0]
4 root 0 SW< [events/0]
5 root 0 SW< [khelper]
140 root 0 SW< [kblockd/0]
150 root 0 SW< [khubd]
154 root 0 SW< [kmmcd]
178 root 0 SW [pdflush]
179 root 0 SW [pdflush]
180 root 0 SW< [kswapd0]
227 root 0 SW< [aio/0]
231 root 0 SW< [nfsiod]
371 root 0 SW< [mtdblockd]
452 root 0 SW< [rpciod/0]
463 root 0 SW< [scsi_eh_0]
496 root 3104 S syslogd
499 root 3364 S /usr/sbin/inetd
511 root 1952 S /usr/sbin/boa
535 root 3428 S -/bin/sh
537 root 3104 S init
540 root 3104 S init
543 root 3104 S init
694 root 3428 S sh
795 root 0 SW< [mmcqd]
847 root 1876 S dropbearkey -t rsa -s 1024 -f dropbear_rsa_host_key
848 root 1876 S dropbearkey -t dss -f dropbear_dss_host_key
849 root 3428 R ps
|
but nothing happened fro more that 10 minutes.
my arm info is:
Quote:
[root@FriendlyARM /]# cat /proc/cpuinfo
Processor : ARM920T rev 0 (v4l)
BogoMIPS : 201.93
Features : swp half
CPU implementer : 0x41
CPU architecture: 4T
CPU variant : 0x1
CPU part : 0x920
CPU revision : 0
Hardware : FriendlyARM Mini2440 development board
Revision : 0000
Serial : 0000000000000000
[root@FriendlyARM /]# uname -a
Linux FriendlyARM 2.6.29.4-FriendlyARM #4 Wed Jul 8 18:20:04 CST 2009 armv4tl unknown
|
what do I miss ?
Thank you for any help.