|
|
#1 |
|
Enthusiast
![]() Posts: 32
Karma: 10
Join Date: Feb 2012
Device: Kindle Touch
|
SFTP not working on 5.1.0
Code:
me:~$ sshfs -o sftp_server=/mnt/us/sftp-server root@KINDLE_IP:/ /media/kindle root@KINDLE_IPs password: remote host has disconnected Code:
[root@kindle root]# /mnt/us/sftp-server /mnt/us/sftp-server: error while loading shared libraries: libcrypto.so.0.9.8: cannot open shared object file: No such file or directory ![]() Thanks in advance. Last edited by lukeroge; 05-10-2012 at 12:51 AM. |
|
|
|
|
|
#2 |
|
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,895
Karma: 2267781
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w & PW
|
Oh, yep, they updated to OpenSSL-1 in 5.1.0.
I'll probably do a proper KT OpenSSH (where sftp-server comes from) build at some point, so, err, unless you want to do it yourself, you'll have to wait, because the older Kindles relies on a binary built against OpenSSL-0.9.8 (and I guess that's where the binary came from, the K2/K3 usbnet hack). (The very, very ugly hack of symlinking openssl 1 to openssl 0.9.8 might work, but it might also make sftp-server explode in a fiery abi mismatch ^^). But that's good to know, it means that yet another thing will be 5.1.0 only .
Last edited by NiLuJe; 05-10-2012 at 01:10 AM. |
|
|
|
|
Enthusiast
|
|
|
|
#3 |
|
Всё гениальное просто.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,028
Karma: 6382209
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
|
It would be nice to declare 5.1.0 hopelessly broken and unsupported. I actually requested that amazon release an update to make eink updates compatible with 5.0.x, but it is looking like that is only the beginning. I suppose if they can just recompile everything to use their broken header files and they keep this a closed system, they do not have to care (and it may actually be in their advantage) in their war on software that does not come from their app store (from which they profit at least from exposure to ads)....
|
|
|
|
|
|
#4 | ||
|
Enthusiast
![]() Posts: 32
Karma: 10
Join Date: Feb 2012
Device: Kindle Touch
|
Quote:
Quote:
Last edited by lukeroge; 05-10-2012 at 07:08 AM. |
||
|
|
|
|
|
#5 |
|
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,895
Karma: 2267781
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w & PW
|
FWIW, after finally having built a proper K5 TC, the reason it doesn't implode is because of the fact that sftp-server doesn't really depends on OpenSSL, as building it with as-needed reveals
.Code:
0x00000001 (NEEDED) Shared library: [libgcc_s.so.1] 0x00000001 (NEEDED) Shared library: [libc.so.6] 0x00000001 (NEEDED) Shared library: [ld-linux.so.3] Code:
0x00000001 (NEEDED) Shared library: [libcrypto.so.0.9.8] 0x00000001 (NEEDED) Shared library: [libdl.so.2] 0x00000001 (NEEDED) Shared library: [libutil.so.1] 0x00000001 (NEEDED) Shared library: [libz.so.1] 0x00000001 (NEEDED) Shared library: [libnsl.so.1] 0x00000001 (NEEDED) Shared library: [libcrypt.so.1] 0x00000001 (NEEDED) Shared library: [libresolv.so.2] 0x00000001 (NEEDED) Shared library: [libc.so.6] 0x00000001 (NEEDED) Shared library: [ld-linux.so.3] ![]() Sidebar: Where the hell did that ARMv5 binary came from, anyway? o_O. Last edited by NiLuJe; 06-15-2012 at 01:18 PM. |
|
|
|
|
|
#6 |
|
Enthusiast
![]() Posts: 25
Karma: 10
Join Date: Oct 2011
Device: Kindle
|
Niluje - Could you kindly provide the ssh commands for the correct symlinking? I am having the same trouble in getting sftp-server to work on my Paperwhite. Many thanks!
|
|
|
|
|
|
#7 | ||
|
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,143
Karma: 5329011
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI|K4|K3-3G|DXG|Ematic E6+E8|Rooted Nook Touch|NO K2!!
|
1) find what you want to link against
[root@kindle awesome]# find / -iname '*'"libcrypto"'*' Quote:
Quote:
3) cd to the folder you want the link to live in [root@kindle awesome]# cd /usr/lib [root@kindle lib]# 4) make root writable mntroot rw 5) make link ln -s /usr/lib/libcrypto.so.1.0.0 libcrypto.so.0.9.8 4) make root read only mntroot ro That kind of thing?
__________________
Audiophile and electron bully. My tunes (for free) soundcloud.com/twobob. DONATE TO KUAL BY CLICKING THIS SIMPLE LINK Kung-Fu. Hard work over time to accomplish skill. A painter can have kung-fu... The musician can have kung-fu, or the poet who paints pictures with words and makes emperors weep. This, too, is kung-fu. Formless, nameless, the true master dwells within. Only you can free him. The album I'm headlining on at the moment: s.beatport.com/OCp9dT - FREE: 2012 Award winning set |
||
|
|
|
|
|
#8 |
|
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,895
Karma: 2267781
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w & PW
|
@orpheus2011: I did. It's in the K4 usbnet package.
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| sftp on your kindle | drendo70 | Kindle Developer's Corner | 13 | 08-10-2012 03:53 AM |
| sftp, kindle and calibre | rajil.s | Amazon Kindle | 0 | 05-09-2012 04:25 PM |
| a href links working/not working | mimosawind | ePub | 5 | 12-09-2011 12:42 PM |
| Android SFTP (client) | kenjennings | enTourage Archive | 4 | 04-12-2010 01:37 PM |
| Request Geek Tools for moving files to/from the Library: ssh/sftp/rsync/samba | kenjennings | enTourage Archive | 6 | 04-06-2010 11:36 PM |