Hello, Firstly the remote computer's log (the PC that is supposed to recieve the file) shows no relevant messages. Dropbear is compiled with the following options " cd dropbear && ./DoConfigure.sh && make PROGRAMS="dropbear dropbearkey scp" && make PROGRAMS="dropbear dropbearkey scp" install && cd .. "
libz is not cross compiled. I have also executed the following commands iptables -P INPUT ACCEPT iptables -P OUTPUT ACCEPT iptables -P FORWARD ACCEPT [Wavespot@/tmp]# uname -a Linux Wavespot 2.6.21.7 #1 PREEMPT Wed May 11 06:59:38 PDT 2011 mips GNU/Linux [Wavespot@/tmp]# scp -vvv /tmp/webrun [email protected]:/tmp Executing: program host 192.168.1.56, user zomg, command scp -v -t /tmp No such file or directory lost connection [Wavespot@/tmp]# iptables -nvL Chain INPUT (policy ACCEPT 0 packets, 0 bytes) pkts bytes target prot opt in out source destination 4138 272K ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:53 1542 95826 ACCEPT all -- br0 * 0.0.0.0/0 0.0.0.0/0 4138 272K ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED 0 0 ACCEPT tcp -- eth2.2 * 0.0.0.0/0 0.0.0.0/0 tcp dpt:22 flags:0x17/0x02 0 0 REJECT all -- eth2.2 * 0.0.0.0/0 0.0.0.0/0 reject-with icmp-port-unreachable 0 0 DROP all -- ra1 * 0.0.0.0/0 0.0.0.0/0 0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:80 flags:0x17/0x02 0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:443 flags:0x17/0x02 0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:3990 flags:0x17/0x02 0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmp type 8 0 0 ACCEPT all -- lo * 0.0.0.0/0 0.0.0.0/0 Chain FORWARD (policy ACCEPT 0 packets, 0 bytes) pkts bytes target prot opt in out source destination 0 0 macipport_filter all -- * * 0.0.0.0/0 0.0.0.0/0 0 0 DROP all -- ra1 * 0.0.0.0/0 0.0.0.0/0 0 0 DROP all -- * ra1 0.0.0.0/0 0.0.0.0/0 Chain OUTPUT (policy ACCEPT 5415 packets, 457K bytes) pkts bytes target prot opt in out source destination Chain macipport_filter (1 references) pkts bytes target prot opt in out source destination [Wavespot@/tmp]# strace scp -vvv /tmp/webrun [email protected]:/tmp execve("/bin/scp", ["scp", "-vvv", "/tmp/webrun", "[email protected]:/tmp"], [/* 9 vars */]) = 0 old_mmap(NULL, 20, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaad000 stat("/backed/harish/airspot-build/romfs/etc/ld.so.cache", 0x7feacad0) = -1 ENOENT (No such file or directory) open("/lib/libc.so.0", O_RDONLY) = 3 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaae000 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\0\272\0\0004\0\0\0"..., 4096) = 4096 old_mmap(NULL, 929792, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaed000 old_mmap(0x2aaed000, 638964, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x2aaed000 old_mmap(0x2abc9000, 4527, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x9c000) = 0x2abc9000 old_mmap(0x2abcb000, 18888, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2abcb000 close(3) = 0 munmap(0x2aaae000, 4096) = 0 ioctl(0, TIOCNXCL, {B38400 opost isig icanon echo ...}) = 0 ioctl(1, TIOCNXCL, {B38400 opost isig icanon echo ...}) = 0 brk(0) = 0x447000 brk(0x448000) = 0x448000 open("/dev/null", O_RDWR|O_LARGEFILE) = 3 close(3) = 0 brk(0x449000) = 0x449000 ioctl(2147483647, TIOCNXCL, 0x7feacbc0) = -1 EBADF (Bad file descriptor) brk(0x44a000) = 0x44a000 ioctl(2147483647, TIOCNXCL, 0x7feacbc0) = -1 EBADF (Bad file descriptor) brk(0x44b000) = 0x44b000 ioctl(2147483647, TIOCNXCL, 0x7feacbc0) = -1 EBADF (Bad file descriptor) brk(0x44c000) = 0x44c000 ioctl(2147483647, TIOCNXCL, 0x7feacbc0) = -1 EBADF (Bad file descriptor) brk(0x44d000) = 0x44d000 getuid() = 0 open("/etc/passwd", O_RDONLY) = 3 ioctl(3, TIOCNXCL, 0x7feacc08) = -1 ENOTTY (Inappropriate ioctl for device) read(3, "Admin:KZx3jmhH8n10k:0:0:Adminstr"..., 4096) = 47 close(3) = 0 ioctl(2, TIOCNXCL, {B38400 opost isig icanon echo ...}) = 0 rt_sigaction(SIGPIPE, {0x10000000, [RT_69 RT_70 RT_71 RT_73 RT_74 RT_75 RT_77 RT_81 RT_83 RT_84 RT_85 RT_86 RT_88 RT_90 RT_92 RT_94], 0x402080 /* SA_??? */}, {SIG_DFL, [RT_69 RT_70 RT_71 RT_73 RT_74 RT_75 RT_77 RT_81 RT_83 RT_84 RT_85 RT_86 RT_88 RT_90 RT_92 RT_94], 0}, 16) = 0 write(2, "Executing: program ", 19Executing: program ) = 19 write(2, " host ", 6 host ) = 6 write(2, "192.168.1.56", 12192.168.1.56) = 12 write(2, ", user ", 7, user ) = 7 write(2, "zomg", 4zomg) = 4 write(2, ", command ", 10, command ) = 10 write(2, "scp -v -t /tmp", 14scp -v -t /tmp) = 14 write(2, "\n", 1 ) = 1 pipe([2, 716345192]) = 3 pipe([4483984, 4485376]) = 5 pipe([716351000, 4212560]) = 7 close(3) = 0 close(4) = 0 fork(No such file or directory ) = 8681 --- {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=8681, si_status=1, si_utime=0, si_stime=1} (Child exited) --- close(5) = 0 close(8) = 0 rt_sigaction(SIGTERM, {0x10000000, [RT_66 RT_67 RT_68], 0x401380 /* SA_??? */}, {SIG_DFL, [RT_65 RT_66 RT_69], 0}, 16) = 0 rt_sigaction(SIGINT, {0x10000000, [RT_66 RT_67 RT_68], 0x401380 /* SA_??? */}, {SIG_DFL, [RT_65 RT_66 RT_69], 0}, 16) = 0 rt_sigaction(SIGHUP, {0x10000000, [RT_66 RT_67 RT_68], 0x401380 /* SA_??? */}, {SIG_DFL, [RT_65 RT_66 RT_69], 0}, 16) = 0 read(7, "", 1) = 0 write(2, "lost connection\n", 16lost connection ) = 16 exit(1) = ? objdump -x of strace is uploaded at http://pastebin.com/N1XDfjW6 and i use these tarballs during build process uClibc-0.9.20.tar.gz,uClinux-dist-20030909.tar.gz _______________________________________________ openwrt-users mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-users
