Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSH over WiFi #26

Open
openoms opened this issue Jan 10, 2024 · 0 comments
Open

SSH over WiFi #26

openoms opened this issue Jan 10, 2024 · 0 comments

Comments

@openoms
Copy link
Contributor

openoms commented Jan 10, 2024

Struggled to connect to ssh to a Kindle via USB so managed it via WiFi, works quite well so extended the gist here: https://gist.github.com/openoms/56979d0859d7063cb734bdacabf1068f

SSH over WiFi

When installed the package kindle-usbnetwork-0.57.N-k4.zip
https://www.mobileread.com/forums/attachment.php?attachmentid=141341&d=1440341478

Follow this:
https://gist.github.com/estysdesu/c90478aac75b732820be6720254aeda7#ssh

  • edit usbnet/etc/config when connected via USB Mass Storage

  • or /mnt/us/usbnet/etc/config when connected to the Kindle over ssh

  • edit to:

# Allow SSH over WiFi
# NOTE: If you set this to true, the SSHD *WILL* check your passwords!
# Make sure you know your root password, or auth via shared keys!
# Leave it to false on non-WiFi devices
K3_WIFI="true"

# Allow SSH over WiFi
# NOTE: If you set this to true, the SSHD *WILL* check your passwords!
# Make sure you know your root password, or auth via shared keys!
# Leave it to false on non-WiFi devices
USE_OPENSSH="true"

Get the root password with the tool at:
https://www.sven.de/kindle/

Connect over Wifi

  • Unplug the USB cable and restart the Kindle.
  • connect the Kindle and your computer to the same WiFi network
  • determine the IP address of the Kindle in your router interface or eg:
sudo apt install arp-scan
sudo arp-scan --localnet

It will show up as:

Amazon Technologies Inc.

Connect over ssh:

ssh root@KINDLE_IP_ADDRESS

Could add this to the default procedure if anyone else has issues with the USB connection.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant