I can't download any of the attachments.
I scourered this forum quite a bit and found that the only ssh client seemed to be the java one (and a UI app as well? wasn't sure about that).
After a lot of messing around, I got dropbear to finally work on my a780. Attached is my script to download, patch, configure, make and strip dropbear for the a780, e680 & e680i (at least, I presume it will work on e680/i). I compiled using ezx-crosstool-0.5 (get it here) on a WinXP/cywin machine. I also skipped (disabled) zlib support because I didn't have it in my toolchain.
Enjoy!
Daniel
Edit: oops, almost forgot a link to the dropbear homepage: http://matt.ucc.asn.au/dropbear/dropbear.html
Edit: Made the multi-binary a tar/bzip2 also for consistency.
I can't download any of the attachments.
While you're at fixing the attachments, could you tell me how you went about copying /usr/lib off of your A780 into crosstool? I keep getting errors about not being able to find ezxappbase-xscale-r. I used qonsole and did a cp -prH /usr/lib /mmc/mmca1/lib. I then took the flash and put it into my wife's XP box, and from cygwin cp -pr i:\lib lib/ezx/lib (while in the crosstool dir).
The moment I try to do a make for "helloworld", it complains that it cannot find ezxappbase-xscale-r.In that directory you'd find libezxappbase-xscale-r.so.1.0.0.
You have the same?
Ok, my appologies for the messed up download links, I didn't notice that it tried to make them embeded flash objects.
<pre>dd if=/dev/zero of=/ram/awsomeswap bs=1024 count=16384
mkswap -v0 /ram/awesomeswap 16384
sync
swapon /ram/awesomeswap</pre>
I didn't use the libs on the phone. Also, notice that some of the libs in /usr/lib link to ../../lib, So these links are going to be unresolved if you copy them. Not sure what to say about the best approach for this, I'm still a newbie to quite a lot of this stuff.While you're at fixing the attachments, could you tell me how you went about copying /usr/lib off of your A780 into crosstool? I keep getting errors about not being able to find ezxappbase-xscale-r. I used qonsole and did a cp -prH /usr/lib /mmc/mmca1/lib. I then took the flash and put it into my wife's XP box, and from cygwin cp -pr i:\lib lib/ezx/lib (while in the crosstool dir).
The moment I try to do a make for "helloworld", it complains that it cannot find ezxappbase-xscale-r. Sad In that directory you'd find libezxappbase-xscale-r.so.1.0.0.
You have the same?
I have the following additional libs installed in my /diska/lib (which I add to the LIBRARY_PATH for shell session):
I needed libncurses for bash2, I don't remember what I needed all of the others for. If you want to copy the libs from your phone, I would recomend:Code:(root@a780)$ la -alF /diska/lib total 1396 drwxrwxr-x 2 ezx ezx 2048 May 13 09:06 ./ drwxrwxr-x 19 ezx ezx 16384 Jan 1 1970 ../ -rwxrwxr-x 1 ezx ezx 89334 Apr 30 2005 libform.a* -rwxrwxr-x 1 ezx ezx 61480 Apr 30 2005 libform.so.5.4* -rwxrwxr-x 1 ezx ezx 46938 Apr 30 2005 libmenu.a* -rwxrwxr-x 1 ezx ezx 33247 Apr 30 2005 libmenu.so.5.4* -rwxrwxr-x 1 ezx ezx 450410 Apr 30 2005 libncurses.a* -rwxrwxr-x 1 ezx ezx 316604 May 13 09:06 libncurses.so.5* -rwxrwxr-x 1 ezx ezx 316604 Apr 30 2005 libncurses.so.5.4* -rwxrwxr-x 1 ezx ezx 20676 Apr 30 2005 libpanel.a* -rwxrwxr-x 1 ezx ezx 15761 Apr 30 2005 libpanel.so.5.4* -rwxrwxr-x 1 ezx ezx 49500 Apr 30 2005 libproc-3.2.5.so*
This is 24 MB uncompressed, so I'm guessing it should be about 10MB or so compressed. If you are putting this on a windows machine, make sure you use cygwin tar so it will be able to support the links. (or just copy the files overCode:cd / tar czf /diska/mylibs.tgz lib usr/lib![]()
I worked it out by tarring it up. Thanks for looking for me though.
thanks for the contribution. I like your build system. Your patches are under integration into our build framework mkezx http://dev.jerryweb.org/mkezx/
kewl. It needs to have x11 auth removed from it however. I realized later that wont be getting used anytime soon. And it also needs a step to make the "scp" executable. I've kept meaning to get it updated and re-post it
Daniel
<pre>dd if=/dev/zero of=/ram/awsomeswap bs=1024 count=16384
mkswap -v0 /ram/awesomeswap 16384
sync
swapon /ram/awesomeswap</pre>
Should we move this topic over to the 'Development' forum?
Would it easily be possible to compile the OpenSSH sshd for A780 with ezx-crosstool-0.5?
I mean OpenSSH scp and ssh are working properly on my phone, I still only need sshd.
With OpenSSH sshd I would for example not have the problem of different public key formats and would have no limitations. I could simply copy my sshd config-file and keyfile from my computer to the phone.
Has anybody thought about that issue?
Maybe someone can tell me more about the advantages/disadvantages between dropbear and OpenSSH and perhaps about cross-compiling sshd with ezx-crosstool-0.5 as I´m not a cross-compiling expert.