View Single Post
Old 04-11-2011, 07:46 AM   #14
thomass
Wizard
thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.
 
Posts: 1,669
Karma: 2300001
Join Date: Mar 2011
Location: Türkiye
Device: Kindle 5.3.7
Quote:
Originally Posted by kranu View Post
f you really want SSH access, please keep in mind that it is rather complicated. To start you off, download both the Jailbreak and the USBNetwork from this thread. Install the jailbreak, then USBNetwork. The thread has instructions on how to install them. Once you install both of them, take a look at the instructions inside of the USBNetwork archive.
I'd just installed this, and will try to ssh... but before should: much

I managed to connect to my Kindle!.. at last..
(but through a real router for now.)

a quick guide to anyone who do not know how to do:
Here is how I got ssh over wifi working with auth keys in a Windows environment:
Install usbnet hack after jailbreak.
Mount kindle and edit file \usbnet\etc\config
K3_WIFI="true"
K3_WIFI_SSHD_ONLY="true"
Download and run puttygen: http://www.chiark.greenend.org.uk/~s.../download.html
With (x) SSH-2 RSA selected, click Generate.
Copy the text under 'Public key for pasting into OpenSSH authorized_keys file'.
Paste into a new file named authorized_keys
If you plan to use the filezilla client for sftp, do not enter a key passphrase as that is not supported. Click Save Private Key to the local PC.
Copy file authorized_keys to \usbnet\etc\
Unmount kindle.
Turn on WIFI. The kindle should obtain an IP address from your wireless access point. A quick way to find the kindle's IP is to go to Settings and then type 711. On a private WIFI network, set up a DHCP IP reservation so your kindle IP is always the same. Or just change your kindle wifi settings for a static ip address (the usbnet config file can not be used to set the WIFI ip address).
On Kindle, type:
;debugOn
~usbNetwork
;debugOff


To connect with WinSCP client to transfer files:
Create a new session filling in fields for 'Host name', User name (root), and Private Key File (WinSCP does not support private key passphrases).
To add a custom command for refreshing the Kindle:
Preferences > Commands > Add...
Description: Refresh Kindle
Custom Command: dbus-send --system /default com.lab126.powerd.resuming int32:1
(x) Remote command
Select a Keyboard Shortcut if you like.
To invoke the command, either Files > Custom Commands > Refresh Kindle
or Options > Toolbars > Custom Command Buttons or use the keyboard shortcut if defined.

Note that if you reboot your Kindle, the hack is disabled and you have to run the following commands again:
;debugOn
~usbNetwork
;debugOff

Alternatively, to have usbnet be enabled after a reboot, simply rename \usbnet\DISABLED_auto to auto and reboot.

Since you're using SSH over wifi instead of over usb, a setting of 'auto' is not so dangerous since you can still mount the kindle over usb to fix something. People using networking over usb can run into an issue where they change something on the kindle that prevents them from connecting over SSH, but since they have auto enabled, they can't mount the kindle to fix it.

source:
https://www.mobileread.com/forums/sho...85#post1181285 post from:badbob001


REMARK: "dbus-send --system /default com.lab126.powerd.resuming int32:1" from shell of Winscp does refresh the home page to show new documents

Last edited by thomass; 04-11-2011 at 12:25 PM.
thomass is offline   Reply With Quote