Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 08-12-2014, 09:28 AM   #1
RipperSK
Junior Member
RipperSK began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Aug 2014
Location: SK
Device: Kindle 4th GEN (no-touch)
Kindle 4th gen non-touch not responding to SSH

Hi guys,

I've tried to access my Kindle 4th gen non-touch via SSH after the jailbreak and after installing usbnetwork package however I'm unable to do so.

My Kindle has firmware 4.1.1 and I'm positive it's jailbreak-en successfully. It also responds to ping on 192.168.15.244 . I have it in ENABLE_DIAGS mode where I enabled usbnetworking in utilities.

I suspect that sshd is either not started or ssh keys are not present on the device operating system.

has anyone run into such problem? Is there a firmware I could update to to resolve this?

Any help is greatly appreciated.

Thanks.
RipperSK is offline   Reply With Quote
Old 08-12-2014, 09:37 AM   #2
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by RipperSK View Post
Hi guys,

I've tried to access my Kindle 4th gen non-touch via SSH after the jailbreak and after installing usbnetwork package however I'm unable to do so.

My Kindle has firmware 4.1.1 and I'm positive it's jailbreak-en successfully. It also responds to ping on 192.168.15.244 . I have it in ENABLE_DIAGS mode where I enabled usbnetworking in utilities.

I suspect that sshd is either not started or ssh keys are not present on the device operating system.

has anyone run into such problem? Is there a firmware I could update to to resolve this?

Any help is greatly appreciated.

Thanks.
Nope.
But there is a "README" file in the USBnetworking package that would help.
- - - -
Why have you enabled the "Diags" system mode?

Your Kindle is a dual-boot system.
You installed the USBnetworking package to the "Main" system and now you are booting into the other (Diags) system.

Try again, while running the "Main" system.
I.E: Remove ENABLE_DIAGS file

Note:
Even in "Main" system mode, you will have to toggle USBnetworking on (and off).
There are easy to use KUAL buttons for that purpose.

Last edited by knc1; 08-12-2014 at 09:42 AM.
knc1 is offline   Reply With Quote
Advert
Old 08-12-2014, 12:05 PM   #3
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
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
In addition to what knc1 said, don't mix the IPs around. USBNetwork (the hack, not diags), might be using a different address setup than diags.

Last edited by NiLuJe; 08-12-2014 at 06:00 PM.
NiLuJe is offline   Reply With Quote
Old 08-12-2014, 12:39 PM   #4
RipperSK
Junior Member
RipperSK began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Aug 2014
Location: SK
Device: Kindle 4th GEN (no-touch)
Quote:
Originally Posted by knc1 View Post
Nope.
Try again, while running the "Main" system.
I.E: Remove ENABLE_DIAGS file

Note:
Even in "Main" system mode, you will have to toggle USBnetworking on (and off).
There are easy to use KUAL buttons for that purpose.
I've tried to run it on the Main system with no luck.

I have jailbreak and USBNetworking (kindle-usbnetwork-0.54.N-k4.rar from here) installed.

I'm trying to toggle the USBnetworking the way it's described on this forum:

1) enter ";debugOn" (no quotes) in search field and search for it
2) enter "~usbNetwork" (no quotes) in search field and search for it

connect the kindle to my mac and I cannot see the RNDIS adapter connected (as I see it in ENABLE_DIAGS mode).

What am I missing ?

Thanks.
RipperSK is offline   Reply With Quote
Old 08-12-2014, 12:51 PM   #5
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
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
@RipperSK: Check what's happening with KUAL (enable verbose mode first, then check/toggle).
NiLuJe is offline   Reply With Quote
Advert
Old 08-12-2014, 01:18 PM   #6
RipperSK
Junior Member
RipperSK began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Aug 2014
Location: SK
Device: Kindle 4th GEN (no-touch)
Quote:
Originally Posted by NiLuJe View Post
@RipperSK: Check what's happening with KUAL (enable verbose mode first, then check/toggle).
I did installed the KUAL: Kindle Unified Application Launcher (v 2.4) and tried to toggle USBnetwork from there.

Still no luck..

After selecting the "* Toggle USBNetwork * " option the Status reports that : "* USBNetwork: disabled (usbms, sshd down) *"

RipperSK is offline   Reply With Quote
Old 08-12-2014, 01:22 PM   #7
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
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
@RipperSK: Enable verbose mode, then toggle, and check what's printed at the bottom of the screen.
NiLuJe is offline   Reply With Quote
Old 08-12-2014, 01:49 PM   #8
RipperSK
Junior Member
RipperSK began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Aug 2014
Location: SK
Device: Kindle 4th GEN (no-touch)
Quote:
Originally Posted by NiLuJe View Post
@RipperSK: Enable verbose mode, then toggle, and check what's printed at the bottom of the screen.
After a couple of reboots of the Kindle I was able to get status: *USBNetwork Enabled (usbnet, sshd up) *

I've tried to scan 192.168.0.0 / 16 with nmap for an active IP that could belong to kindle but without any luck. I've ended up with Ethernet, USBNetwork, Wifi Adapter and Router IPs.

I'll check the USBNet config and let you know the outcome.
RipperSK is offline   Reply With Quote
Old 08-12-2014, 03:26 PM   #9
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Are your MAC ports USB-3 rather than USB-2 ?
knc1 is offline   Reply With Quote
Old 08-12-2014, 05:12 PM   #10
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
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
@knc1: FWIW, never had any issues with USBNet on USB3 ports on OS X. USBMS, yes, USBNet, nope .
NiLuJe is offline   Reply With Quote
Old 08-12-2014, 05:36 PM   #11
RipperSK
Junior Member
RipperSK began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Aug 2014
Location: SK
Device: Kindle 4th GEN (no-touch)
Hi guys,

to update you on a "progress" it went all to hell really...

After another reset I've encountered message "your kindle is no longer a test kindle... " and KUAL also stopped to work alltogather. Searching the web and this forum I found out that developer keys somehow got expired... These need to be copied to /var/local/java/keystore/ .. which of course I'm unable to do without USBNet which I'm trying to enable this whole time. Going in circles. I've tried to launch a shell script that could copy those keys to the desired location. That does not work at all as well. K4 has no support of launchpad and kite has been developed till K3.

Factory reset also didn't help.
After I got JailBreak back and KUAL and all the others - it just says the same thing - your kindle is no longer a test kindle bla bla.

I'd rather not comment on how is Amazon able to develop a system with so many restrictions and downfalls.

FYI I have usb 2.0 . Even when I got USBNet and ssh active before I did not have an IP address to connect to on a whole 192.168.0.0/16 range.
RipperSK is offline   Reply With Quote
Old 08-12-2014, 05:51 PM   #12
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Re-install MKK.
**also after any time you do a 'factory reset' or change registration**

Can you see the USB storage area (when ssh is off) over the same cable and port?
No == use a cable with all four leads, not just a charging (2 wire) cable.
knc1 is offline   Reply With Quote
Old 08-12-2014, 05:56 PM   #13
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
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
You do have to set the IP up in OS X's network manager, there's no DHCP.

EDIT: Except, well, with the IP that matches your config. I happen to be using the 'old' defaults of the K2/K3 era, whereas the K4/K5 USBNetwork installer uses the same settings as diags on fresh setups (i.e., set the IP to 192.168.15.201 instead).
Attached Thumbnails
Click image for larger version

Name:	OSX_USBNetwork_setup.png
Views:	2491
Size:	66.7 KB
ID:	130690  

Last edited by NiLuJe; 11-06-2014 at 03:49 PM.
NiLuJe is offline   Reply With Quote
Old 08-12-2014, 09:39 PM   #14
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
See: https://www.mobileread.com/forums/sho...d.php?t=201572
Open the spoiler.

Make a change in the directions to the Kindle's ip address as required.
I do not recall if the default for the K4 is different or the same as the one set for the PW1.

Last edited by knc1; 08-12-2014 at 09:42 PM.
knc1 is offline   Reply With Quote
Old 08-12-2014, 10:23 PM   #15
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
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
@knc1: Same as the K5/PW1/PW2, hence my edit .

Code:
HOST_IP="192.168.15.201"
KINDLE_IP="192.168.15.244"
NiLuJe is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kindle 4th gen non-touch - hacking kubbur Kindle Developer's Corner 208 07-04-2014 11:55 AM
Ended Kindle 4th Gen WiFi Non-Touch mcrow Flea Market 1 12-03-2013 06:43 PM
Kindle Touch or Kindle 4th Gen ? tado Which one should I buy? 9 09-15-2012 09:21 PM
Kindle 4th gen non touch vs Nook Simple Touch shinew Which one should I buy? 8 10-07-2011 09:10 PM
iPod iPod Touch 4th Gen Battery Life mish Apple Devices 13 11-02-2010 07:15 AM


All times are GMT -4. The time now is 12:45 PM.


MobileRead.com is a privately owned, operated and funded community.