06-28-2013, 09:12 PM | #1 |
Junior Member
Posts: 6
Karma: 10
Join Date: Jun 2013
Device: Kindle Paperwhite
|
USBNet not working Paperwhite 5.3.6
Hello - I'm new to this forum.
I just got the Paperwhite on FW 5.3.1 and so went about JB / USBnet / Screensaver hack, etc. Then realized I wanted to upgrade the firmware so I upgraded to 5.3.6. Went back and re-installed the Certificates and the Rescue Pack. USBnet then wasn't working so I reinstalled it also. Now - here is the trouble I'm having and I'm hoping someone can help me. Pardon me if this is already on the forum somewhere, I can't find it. I have set my own root password. When I enable usbNetworking using ;un - I can ssh to the kindle but can't log in with my password (Access denied). If I create the ENABLE_DIAGS file and reboot, then enable USBNetworking form there, I can ssh and log in just fine. So..... what's happening here. Are there two different root accounts? Am I missing something? Please help and thank you ahead of time! |
06-28-2013, 09:37 PM | #2 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
The K5 (and K4) devices are dual-boot machines. Other than the exported USB storage partition and the internal /var/local partition (both used by both systems) - each system is otherwise independent of each other. Different kernel images and system images for the "Main" and "Diags" operating systems. Pick one bootable system at a time to modify. In general, you don't modify the "Diags" OS image, since it is a vital part of recovering a non-working "Main" OS image. PS: I own a K5-Paperwhite, and the USBnetworking install works just fine - **IF** you follow the directions without making any mistakes (Hint: none of the directions involve the "Diags" OS"). Last edited by knc1; 06-28-2013 at 09:39 PM. |
|
06-28-2013, 09:52 PM | #3 |
Junior Member
Posts: 6
Karma: 10
Join Date: Jun 2013
Device: Kindle Paperwhite
|
ok, that makes sense then
The only reason I went into DIAG mode was because I could no longer get into USBNet using the normal route. When I first installed it, everything worked fine and I could log in with my password. After the upgrade to 5.3.6 is when I started having trouble. I'm guessing the new firmware has a new root password. Perhaps the old password generators for the KT and K4 still work for the PaperWhite. I'll go try that now. Thanks! |
06-28-2013, 09:57 PM | #4 |
Junior Member
Posts: 6
Karma: 10
Join Date: Jun 2013
Device: Kindle Paperwhite
|
OK, well that didn't work. At least not using this tool. http://members.ping.de/~sven/kindle.html
I don't suppose there is any way of modifying the password without resetting the kindle? |
06-28-2013, 09:57 PM | #5 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
I.E: They re-wrote /etc/passwd Easier: The USBnetworking hack also provides a telnetd server, so just telnet into the device. PS: The USBnetwork addin does not require a password over the USB cable (only over Wifi). Read the readme files in the USBnetwork archive. |
|
06-28-2013, 10:00 PM | #6 |
Junior Member
Posts: 6
Karma: 10
Join Date: Jun 2013
Device: Kindle Paperwhite
|
Thanks again - I did read the readme and the first time I installed USBnet I was able to ssh with root and a blank password connected to USB. Now connected to USB or wifi it will not let me in with a blank password or with any password I have tried. I'll try telnetd.
|
06-28-2013, 10:06 PM | #7 |
Junior Member
Posts: 6
Karma: 10
Join Date: Jun 2013
Device: Kindle Paperwhite
|
Perfect!
I was able to use telnet to log in and change the password. Now I'm set. I can ssh with USB and Wifi again! Thanks for your help! |
06-28-2013, 10:36 PM | #8 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Super!
The "read the readme(s)" was because I am writing most of my replies from memory. The readme(s) should always be considered as more accurate than my memory. Or anything my mind decides to make my hands type. |
06-28-2013, 11:35 PM | #9 |
BLAM!
Posts: 13,477
Karma: 26012492
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
As knc1 said, full firmware updates, meaning the password gets reset along with the rest . Also, the root account is now locked, so you need a recent enough version of USBNetwork to work around that if you're using OpenSSH instead of dropbear.
(And as a FYI, USBNetwork hasn't ever supported the 'set a password via ;un' trick Yifan relied on for simple_usbnet, because it isn't needed with the default settings (ie. ssh over wifi disabled), like knc1 said, it doesn't check credentials over USB). Might be a good time to switch to pubkeys and enjoy truly passwordless logins Last edited by NiLuJe; 06-28-2013 at 11:42 PM. |
06-29-2013, 08:10 AM | #10 | ||
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
For the USB cable, it is assumed that it is physically secure. I.E: Your eyeball is what keeps it from being wire-tapped. Quote:
I.E: ssh knc1 <--- shell on the knetconnect.com server 3,000 miles away ssh kpw <--- shell on the Kindle Paperwhite sitting next to my keyboard ( Which, of course, use different pub-key pairs.) These "shortcut names" work with ssh, scp, sftp, rsync & probably other programs. The "shortcut names" also work when using ssh as a replacement for rsh (when passing a shell command to the remote shell). Also described and demonstrated in the long series of "SSH HowTo"s. Also described and demonstrated is how to get rid of the dropbear banner and the system MOTD (both annoying when running scripts that execute partially on the host and partially on the remote). About the only things missing in the HowTos is tunneling and port forwarding (sorry, I got tired of typing about ssh). Filter this forum's threads on the "HowTo" prefix - you'll find them (you only have to find one - they are all forward and backward linked to the next/prior HowTo in the series). |
||
06-29-2013, 11:27 AM | #11 | |
Junior Member
Posts: 6
Karma: 10
Join Date: Jun 2013
Device: Kindle Paperwhite
|
Quote:
|
|
06-29-2013, 09:41 PM | #12 |
BLAM!
Posts: 13,477
Karma: 26012492
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@knc1: Heh, funny story: that's not dropbear's default behavior, the default settings are patched to print the Kindle's /etc/issue in my USBNetwork build... *inserts evil laugh here*. IIRC, there's a switch to disable it altogether. I can easily add it as a configurable option in the next release .
EDIT: ... Which is exactly what you used in the patch linked in your thread, oops. . (Kind of forgot about it to tell the truth, I switched to OpenSSH on nearly all my devices, the dropbear/libtom regression on ARM that kills the performance of the auth kinda got on my nerve... ^^). EDIT²: Done. Look for the QUIET_DROPBEAR config flag in the next release (defaults unchanged). Last edited by NiLuJe; 06-30-2013 at 09:57 PM. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kindle 4, OS 4.1.1 usbnet code not working | phubbard | Kindle Developer's Corner | 8 | 04-08-2013 12:17 PM |
Plugboard Not Working with Paperwhite | nynaevelan | Library Management | 8 | 03-01-2013 02:16 AM |
Simply Not Working [Paperwhite] | P4nda | Devices | 4 | 01-07-2013 04:09 PM |
Troubleshooting Change margin on Paperwhite not working | you4ever | Amazon Kindle | 0 | 10-25-2012 08:46 PM |
[Paperwhite] Which hacks are working? | mmatting | Kindle Developer's Corner | 26 | 10-19-2012 02:18 PM |