![]() |
#1411 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 538
Karma: 1000000
Join Date: Dec 2011
Location: Rome, Italy
Device: Kindle PW5, Kindle PW4, Kindle 4 NT
|
Finally I installed usbnet.
Install was easy, and I did not modify default config. At login however I did this (fw 5.4.5.1). First I tried pw mario. Then fiona. Then fionaxxx with the pass generated by the website. When I used this, ssh shel just hang: root@acerino:~# ssh root@192.168.15.244 The authenticity of host '192.168.15.244 (192.168.15.244)' can't be established. ECDSA key fingerprint is xxxx Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '192.168.15.244' (ECDSA) to the list of known hosts. root@192.168.15.244's password: Permission denied, please try again. root@192.168.15.244's password: Permission denied, please try again. root@192.168.15.244's password: How did I messed it up? |
![]() |
![]() |
![]() |
#1412 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@Ruskie_it: How is the network interface setup on your end?
(And which OpenSSH version is that on your end, [not that it should matter, but there was a smattering of broken downstream versions recently, IIRC] ?). With a default config, you should be able to enter anything as the password (and I checked that again just this evening w/ the diags build). What happens if you try to telnet to the device to check the logs? (showlog -f) |
![]() |
![]() |
![]() |
#1413 | |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Quote:
![]() TBH I was not even aware you *could* use password authentication until I reread the docs -- I could swear I read that it was expected to fail. |
|
![]() |
![]() |
![]() |
#1414 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@eschwartz: With OpenSSH, or with SSH-over-WiFi enabled, yes. With the default config (dropbear, no wifi-firewall-hole-punching), nope, the door's wide open
![]() EDIT: On the other hand, I have a sinking feeling about the whole locked account thing + dropbear, now that you mention it. Let me double check. EDIT²: Nope, I'm not dreaming, all's good ![]() Code:
ssh -o PubkeyAuthentication=no root@kindle Welcome to Kindle! root@kindle's password: ################################################# # N O T I C E * N O T I C E * N O T I C E # ################################################# Rootfs is mounted read-only. Invoke mntroot rw to switch back to a writable rootfs. ################################################# [root@kindle root]# showlog -f [!]141202:011858 dropbear[7725]: Child connection from 192.168.2.1:33970 [!]141202:011858 dropbear[7725]: Pubkey auth succeeded for 'root' with key md5 00:11:22:33:44:55:66:77:88:99:aa:bb:cc:dd:ee:ff from 192.168.2.1:33970 [!]141202:011900 dropbear[7725]: Exit (root): Disconnect received [!]141202:011907 dropbear[7729]: Child connection from 192.168.2.1:33971 [!]141202:011907 dropbear[7729]: Bad password attempt for 'root' from 192.168.2.1:33971 (But we're letting you in because we're a nice Kindle ;)) ![]() Last edited by NiLuJe; 12-01-2014 at 07:39 PM. |
![]() |
![]() |
![]() |
#1415 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 538
Karma: 1000000
Join Date: Dec 2011
Location: Rome, Italy
Device: Kindle PW5, Kindle PW4, Kindle 4 NT
|
@NiLuJe:
Ssh version: marco@acerino:~$ dpkg -s openssh-client Package: openssh-client Status: install ok installed Priority: standard Section: net Installed-Size: 3435 Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> Architecture: amd64 Multi-Arch: foreign Source: openssh Version: 1:6.6p1-2ubuntu2 Replaces: ssh, ssh-krb5 Provides: rsh-client, ssh-client Depends: libc6 (>= 2.17), libedit2 (>= 2.11-20080614), libgssapi-krb5-2 (>= 1.10+dfsg~), libselinux1 (>= 1.32), libssl1.0.0 (>= 1.0.1), zlib1g (>= 1:1.1.4), adduser (>= 3.10), dpkg (>= 1.7.0), passwd I don't understand what you would like to know about the network interface setup, instead. I've never used usbnet before, I just used the readme instruction to bind usb0 to the kindle ip. Which works, given that the kindle answers, at first. I tried with "anything" as a password, too, yet I get the same "permission denied" problem. @eschwarts: Yes I know ssh keys are preferable, it would have been step 2: first login and ensure I can login "normally", then I would have set keys up. Never got there unfortunately. ![]() |
![]() |
![]() |
![]() |
#1416 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 538
Karma: 1000000
Join Date: Dec 2011
Location: Rome, Italy
Device: Kindle PW5, Kindle PW4, Kindle 4 NT
|
Oh, I forgot. Can't remember but I think with telnet it wouldn't even answer. I'm going to retry as soon as I finish uninstalling and reinstalling usbnet.
|
![]() |
![]() |
![]() |
#1417 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
usb0 ==> bind to the IP address of the PC end of the cable. Kindle ==> bind to the IP address of the Kindle end of the cable. I.E: The cable has two ends, and each end has a **different** IP address (it has to, so the packets can tell if they are coming or going, dumb packets ![]() So, please post: (*) What IP address assignment you are using on the Kindle end (defined in the config file on the Kindle). (*) What IP address assignment you are using on the PC end. |
|
![]() |
![]() |
![]() |
#1418 | ||
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 538
Karma: 1000000
Join Date: Dec 2011
Location: Rome, Italy
Device: Kindle PW5, Kindle PW4, Kindle 4 NT
|
Quote:
Oh!! Yes, I know what different IP's are for, even though you might not tell so from my dumb display yesterday. ![]() Tell you what, I was mislead by a part of the documentation: Quote:
Okay, so, usbnet is now bound to 192.168.15.244, and I bound my pc usb0 to 192.168.15.201. telnet: Code:
root@acerino:~# telnet 192.168.15.244 Trying 192.168.15.244... Connected to 192.168.15.244. Escape character is '^]'. Welcome to Kindle! ################################################# # N O T I C E * N O T I C E * N O T I C E # ################################################# Rootfs is mounted read-only. Invoke mntroot rw to switch back to a writable rootfs. ################################################# [root@kindle root]# ls [root@kindle root]# pwd /var/tmp/root [root@kindle root]# cd / [root@kindle /]# ls MNTUS_EXEC bin dev etc lib mnt opt proc sbin sys tmp usr var [root@kindle /]# cd On a new shell I then tried to ping the kindle (which was correctly responding to ping prior that hang): Code:
root@acerino:~# ping 192.168.15.244 PING 192.168.15.244 (192.168.15.244) 56(84) bytes of data. ^C --- 192.168.15.244 ping statistics --- 8 packets transmitted, 0 received, 100% packet loss, time 7054ms I rebooted my pc, and ping to the kindle started working again. So, I went for ssh: Code:
root@acerino:~# ifconfig usb0 192.168.15.201 root@acerino:~# ping 192.168.15.244 PING 192.168.15.244 (192.168.15.244) 56(84) bytes of data. 64 bytes from 192.168.15.244: icmp_seq=1 ttl=64 time=1.27 ms 64 bytes from 192.168.15.244: icmp_seq=2 ttl=64 time=0.200 ms 64 bytes from 192.168.15.244: icmp_seq=3 ttl=64 time=0.203 ms 64 bytes from 192.168.15.244: icmp_seq=4 ttl=64 time=0.329 ms ^C --- 192.168.15.244 ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 2999ms rtt min/avg/max/mdev = 0.200/0.501/1.274/0.449 ms root@acerino:~# ssh root@192.168.15.244 ^C root@acerino:~# ping 192.168.15.244 PING 192.168.15.244 (192.168.15.244) 56(84) bytes of data. ^C --- 192.168.15.244 ping statistics --- 8 packets transmitted, 0 received, 100% packet loss, time 7055ms Last edited by Ruskie_it; 12-02-2014 at 02:20 AM. |
||
![]() |
![]() |
![]() |
#1419 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 538
Karma: 1000000
Join Date: Dec 2011
Location: Rome, Italy
Device: Kindle PW5, Kindle PW4, Kindle 4 NT
|
Again, I unplugged the kindle, disabled usbnet, re-enabled it and replugged the kindle.
ping still not working. Rebound usb0 to 192.168.15.201, and then ping started working again. So I went with ssh: Code:
root@acerino:~# ssh root@192.168.15.244 Welcome to Kindle! root@192.168.15.244's password: ################################################# # N O T I C E * N O T I C E * N O T I C E # ################################################# Rootfs is mounted read-only. Invoke mntroot rw to switch back to a writable rootfs. ################################################# [root@kindle root]# ls [root@kindle root]# pwd /var/tmp/root [root@kindle root]# cd / [root@kindle /]# ls MNTUS_EXEC bin dev etc lib mnt opt proc sbin sys tmp usr var [root@kindle /]# cd sys I opened a new shell, then: Code:
marco@acerino:~$ sudo -i [sudo] password for marco: root@acerino:~# ping 192.168.15.244 PING 192.168.15.244 (192.168.15.244) 56(84) bytes of data. ^C --- 192.168.15.244 ping statistics --- 4 packets transmitted, 0 received, 100% packet loss, time 3022ms root@acerino:~# ifconfig usb0 192.168.15.201 root@acerino:~# ping 192.168.15.244 PING 192.168.15.244 (192.168.15.244) 56(84) bytes of data. 64 bytes from 192.168.15.244: icmp_seq=1 ttl=64 time=1.27 ms 64 bytes from 192.168.15.244: icmp_seq=2 ttl=64 time=0.341 ms 64 bytes from 192.168.15.244: icmp_seq=3 ttl=64 time=0.291 ms ^C --- 192.168.15.244 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2000ms rtt min/avg/max/mdev = 0.291/0.636/1.278/0.454 ms root@acerino:~# root@acerino:~# root@acerino:~# root@acerino:~# ping 192.168.15.244 PING 192.168.15.244 (192.168.15.244) 56(84) bytes of data. ^C --- 192.168.15.244 ping statistics --- 7 packets transmitted, 0 received, 100% packet loss, time 6047ms root@acerino:~# root@acerino:~# root@acerino:~# ifconfig usb0 192.168.15.201 root@acerino:~# ping 192.168.15.244 PING 192.168.15.244 (192.168.15.244) 56(84) bytes of data. 64 bytes from 192.168.15.244: icmp_seq=1 ttl=64 time=1.22 ms 64 bytes from 192.168.15.244: icmp_seq=2 ttl=64 time=0.193 ms 64 bytes from 192.168.15.244: icmp_seq=3 ttl=64 time=0.191 ms 64 bytes from 192.168.15.244: icmp_seq=4 ttl=64 time=0.190 ms ^C --- 192.168.15.244 ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 2999ms rtt min/avg/max/mdev = 0.190/0.449/1.224/0.447 ms |
![]() |
![]() |
![]() |
#1420 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Best guess: NetworkManager is evil.
|
![]() |
![]() |
![]() |
#1421 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Bullet #5 |
|
![]() |
![]() |
![]() |
#1422 | |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 538
Karma: 1000000
Join Date: Dec 2011
Location: Rome, Italy
Device: Kindle PW5, Kindle PW4, Kindle 4 NT
|
Quote:
|
|
![]() |
![]() |
![]() |
#1423 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 538
Karma: 1000000
Join Date: Dec 2011
Location: Rome, Italy
Device: Kindle PW5, Kindle PW4, Kindle 4 NT
|
Success!
I couldn't disable network-manager as advised because my linux pc is a headless server and if I stop the daemon my connection to the server fails. However I managed to configure to bring usb0 up as soon as something is plugged in and then stop managing it, and now connection to the kindle is stable. Code:
root@acerino:~# nmcli dev status DEVICE TYPE STATE eth0 802-3-ethernet connected root@acerino:~# nmcli dev status DEVICE TYPE STATE usb0 802-3-ethernet unmanaged eth0 802-3-ethernet connected root@acerino:~# ssh root@192.168.15.244 Welcome to Kindle! root@192.168.15.244's password: ################################################# # N O T I C E * N O T I C E * N O T I C E # ################################################# Rootfs is mounted read-only. Invoke mntroot rw to switch back to a writable rootfs. ################################################# |
![]() |
![]() |
![]() |
#1424 |
Member
![]() Posts: 10
Karma: 10
Join Date: Dec 2010
Device: kindle
|
Please, say me I am not lost... I had a jailbroken PW2 with 5.4.5.1 version, jailbreak 1.10.N and the corresponding bridge installed. I was sure nothing bad could happen to me because I had also installed the hack to block automatic updates, plus I always keep airplane mode turned on. Until today. But today the worse happened. My son played with the reader and switched wifi on, after some time the reader rebooted and it showed me a nice letter from Amazon happily informing that it was updated at 5.6.1.
From what I read I am lost as I have no way to recover my jailbreak nor to downgrade. Is this really true? No chances to recover? Please give me some hope, I really hate the original margins and I was the happy user of the fonthack to change them, plus I enjoyed using usbnetwork. Any help would be really appreciated. |
![]() |
![]() |
![]() |
#1425 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Go to the settings menu and check the device info - see what firmware version is actually running. I.E: Either of our two update blockers (you don't mention which one you used) should have blocked the update, but not the letter. Last edited by knc1; 12-02-2014 at 08:46 PM. Reason: Serious typo |
|
![]() |
![]() |
![]() |
Tags |
5.1.0, 5.2.0, jailbreak, kindle touch hacks, paperwhite, touch |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kindle Touch 5.0 Jailbreak | yifanlu | Kindle Developer's Corner | 246 | 01-03-2013 04:57 PM |
Is a Kindle Touch for a PaperWhite a good trade? | route66 | Amazon Kindle | 7 | 09-29-2012 03:21 PM |
Kindle Touch with 'Paperwhite' backlit display | JoHunt | Amazon Kindle | 2 | 08-31-2012 04:33 AM |
[Kindle Touch] Firmware 5.1.0 and jailbreak | ixtab | Kindle Developer's Corner | 85 | 06-28-2012 04:43 AM |
How to Kindle touch - jailbreak, screensaver | morgun | Kindle Developer's Corner | 3 | 05-21-2012 06:39 PM |