![]() |
#1 |
Enthusiast
![]() Posts: 35
Karma: 10
Join Date: Feb 2012
Device: Kindle Touch
|
SFTP not working on 5.1.0
I'm trying to use the sftp hack mentioned on the wiki to connect to my kindle touch, but its not working at all. An example of this below
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: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
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. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
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: 35
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: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
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. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Connoisseur
![]() ![]() ![]() Posts: 92
Karma: 216
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: 6,586
Karma: 6299991
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|K2| Rooted Nook Touch
|
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? |
||
![]() |
![]() |
![]() |
#8 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@orpheus2011: I did. It's in the K4 usbnet package.
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 |