11-06-2016, 02:06 AM | #1 |
Enthusiast
Posts: 26
Karma: 10
Join Date: Aug 2015
Device: kindle paperwhite 2
|
Any detailed help for Usbnetwork? Strange things keep happening
Device: Kindle Paperwhite 2 (Japan)
System: 5.4.2 Status: Jailbroken; USBNetwork, MRI, Kindle Explorer and some other small hack installed Issues: 1. It was a long time ago (maybe 1 or 2 years) when I got the kpw2 jailbroken and installed these hacks. I had a hard time toggling USBNetwork and find someone's guide to use SSH over wifi, using the "authorized_key" (like this one). It worked at first. Then strange things happened: the kindle couldn't connect to PC by usb. Just charging. No matter what OS (Win xp,7,8,10 or Ubuntu&Fedora) and cable I use. I can't remember well what's the cause, and it remains the same now. I thought maybe it has stayed in usb-ssh mode, but it didn't shows up in windows network adapter, connecting to 192.168.15.244 in SCP/SSH no luck, and using some command lines in Linux showed no usb0 or something like that... I just gave up. 2. However, with Personal Documents I can still read the books in kindle fine. Kindle Explorer ensures the ability to edit files. And another weird thing also helps me: I can access the files over wifi-ssh, although I've already deleted the authorized_key file in kindle and use no privatekey.ppk in my computer. I just toggle the USBNetwork on, and type in kindle's ip address in WinSCP, username root, no password. I don't know if this is normal behavior. Using putty's SSH command line is also okay. But I've always been wanting to update (after hearing jailbreak survives the update with some bridging), and if the update will disable jailbreak at first, I will not be able to transfer the bridging file to the kindle. So I still want to fix the usb issue if there's any hope. Note: the config file in the kindle shows SSH over wifi is disabled (the introductory texts have been deleted): Code:
KINDLE_IP=192.168.15.244 USE_WIFI="false" USE_WIFI_SSHD_ONLY="false" USE_OPENSSH="false" QUIET_DROPBEAR="false" TWEAK_MAC_ADDRESS="false" Last edited by evianluw; 11-06-2016 at 02:15 AM. |
11-06-2016, 04:08 AM | #2 |
eBook Enthusiast
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
Questions about non-standard Kindle firmware belong in the developer forum, whence I'm moving this.
|
Advert | |
|
11-06-2016, 05:22 AM | #3 |
Evangelist
Posts: 415
Karma: 750442
Join Date: Apr 2016
Location: Italy
Device: Kindle PW3 5.8.5.0.1
|
For the first issue: you have to toggle usbnet down to see the kindle as mass storage. Also check your usb cable
|
11-06-2016, 07:22 AM | #4 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
USB networking WILL NOT toggle with the USB cable plugged in.
|
11-07-2016, 01:56 AM | #5 |
Enthusiast
Posts: 26
Karma: 10
Join Date: Aug 2015
Device: kindle paperwhite 2
|
|
Advert | |
|
11-07-2016, 02:01 AM | #6 |
Enthusiast
Posts: 26
Karma: 10
Join Date: Aug 2015
Device: kindle paperwhite 2
|
Yes, and I've toggled without USB cable plugged in, still no luck.
Never worked. I've used every USB cable I have, and the cables are fine, still my computer doesn't recognize Kindle, neither as USB storage nor SSH device. |
11-07-2016, 04:52 AM | #7 |
Evangelist
Posts: 415
Karma: 750442
Join Date: Apr 2016
Location: Italy
Device: Kindle PW3 5.8.5.0.1
|
when you toggle down usbnet, what message you get if you show usbnet status?
|
11-07-2016, 08:37 AM | #8 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Well, let me try another of the obvious possibilities -
Check your firmware version - Is it what you expect or did it update on you? The reason: USBnetworking is one of those that has to be re-installed after each Amazon update. Oh, heck, don't bother, just re-install it being sure to remove the current one's configuration file first (it is normally left behind and you didn't show enough of the file system tree to know if that is part of the problem - such as a keyname flagfile). I.E: One directory level above what you showed, see if you put a file named 'auto' in that directory (that could be what happened and the off-site directions you linked to mention it). If you can't reach the user's USB storage, your fall back is to use the newest JB on the device. Did you mention having kTerm? You should be able to use 'wget' (or 'curl') to download the package directly to the Kindle (/mnt/us/mrpackages). PS: As someone already suggested - you might be running 'diags' system rather than the 'main' system or running the 'demo' system. Was this ever a "demo Kindle" ? Last edited by knc1; 11-07-2016 at 09:52 AM. |
11-07-2016, 09:34 AM | #9 | |
Enthusiast
Posts: 26
Karma: 10
Join Date: Aug 2015
Device: kindle paperwhite 2
|
Quote:
Code:
N switching from usbnet to usbms Code:
N stopping sshd Code:
N * USBNetwork: disabled (usbms, sshd down) * |
|
11-07-2016, 09:48 AM | #10 | |
Enthusiast
Posts: 26
Karma: 10
Join Date: Aug 2015
Device: kindle paperwhite 2
|
Quote:
I don't know how to tell whether it's in the diag mode or not, however, as far as I know, all the features except for USB connecting are working fine. I'm sure this kindle was bought all-new, I opened up the seal. Not even with special offer. |
|
11-07-2016, 09:53 AM | #11 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
I updated my post.
In the directory above the one you showed, see if you put a file named: 'auto' in that directory. If so - get rid of it. |
11-07-2016, 10:13 AM | #12 |
Enthusiast
Posts: 26
Karma: 10
Join Date: Aug 2015
Device: kindle paperwhite 2
|
No, just 'DISABLED_auto'.
|
11-07-2016, 11:15 AM | #13 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Delete the /usbnet directory and sub-tree.
Delete the /extensions/usbnet directory and subtree. Copy the most recent version of USBnet from NiLuJe's snapshot thread into /mrpackages. Be certain to use the file with you device's nickname in its filename. Exit from your ssh (or scp or sftp or whatever you used) session. Now trigger MrPI to install the most recent version. None of the above should make any difference to kTerm. You may want to use kTerm rather than an ssh session (although, because of the way the Linux filesystem layer works, you should be able to delete code that you are executing at the time). |
11-10-2016, 02:31 AM | #14 | |
Enthusiast
Posts: 26
Karma: 10
Join Date: Aug 2015
Device: kindle paperwhite 2
|
Quote:
I've thought of doing a factory reset or a complete firmware flash might solve the problem, but considering losing jailbreak for a while may mean unable to jailbreak forever for me if the USB connection isn't fixed, I just give up. If you have any ideas about uploading a file to the root directory of kindle without USB connection and jailbreak, please tell me. |
|
11-10-2016, 02:40 AM | #15 |
Evangelist
Posts: 415
Karma: 750442
Join Date: Apr 2016
Location: Italy
Device: Kindle PW3 5.8.5.0.1
|
WinSCP (via wifi) is still working?
|
Tags |
jailbreak, usbnet |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Weird Things Happening | Ellachanted | Calibre | 3 | 01-03-2014 10:50 AM |
Classic Goofy things happening on screen... | VACaver | Barnes & Noble NOOK | 2 | 10-15-2010 06:39 AM |
Strange things happening w/PDF ebook | Writernan | Astak EZReader | 5 | 04-05-2010 06:36 PM |
Strange things happening at Fictionwise... | captaingeorges | Bookeen | 5 | 03-08-2009 05:20 AM |
Strange things happening after Kindle update | tsgreer | Amazon Kindle | 15 | 02-22-2008 05:34 PM |