![]() |
#1 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Nov 2016
Device: Paperwhite 3
|
USBNetwork ssh logs into the local linux machine
I have a paperwhite 3 and am new to rooting/jailbreaking though I am very familiar with linux in general.
I did the jailbreak/rooting part and installed KUAL/MRI etc and got usbnetwork running. My laptop is debian 8.3 and the PW3 FW is 5.8.5. If I login via ssh over Wifi then it asks for a root password (and just enter does not work). Then I read that I have to change to password or put an ssh key in the root account without using wifi and then access it over wifi. So once usbnetworking is running, the kindle shows up as usb0. After doing ifconfig usb0 192.168.2.2 and ssh 192.168.2.2 puts be directly into localhost (i.e. the laptop itself). Also the IP address on usb0 doesn't seem to persist for more than a minute or two. No logs on dmesg. Any help would be appreciated. |
![]() |
![]() |
![]() |
#2 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Nov 2016
Device: Paperwhite 3
|
RTFM (yes to myself). I figured out that the usb0 of the linux box has to be in the 192.168.15.X subnet and the kindle is reachable at 192.168.15.244.
It does say Welcome to Kindle! but then wants a password! I tried all forms (enter, root etc) none worked. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Just a Yellow Smiley.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,161
Karma: 83862859
Join Date: Jul 2015
Location: Texas
Device: K4, K5, fire, kobo, galaxy
|
Please put your kindle on a wall charger until help comes along. You should get an answer tomorrow.
|
![]() |
![]() |
![]() |
#5 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
(You had to change options to ssh over wifi - now guess why ssh over USB is the default. ![]() Alternately, use telnet over USB cable (both servers are started at the same time). |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Nov 2016
Device: Paperwhite 3
|
The PW is in airplane mode, and since the 192.168.15.X address of the laptop is associated with usb0, it is logging over USB cable when ssh'ing to the kindle. But still it asks for the password.
Could it have anything to do with Dropbear vs OpenSSH? I have to check what option I have (shall do it at home later this evening). |
![]() |
![]() |
![]() |
#7 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Put the configuration file back the same as it was shipped with. Then we can help you troubleshoot the problem. Review: https://www.mobileread.com/forums/sho...d.php?t=204450 And the prior/next threads linked to from there. |
|
![]() |
![]() |
![]() |
#8 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Nov 2016
Device: Paperwhite 3
|
Yes - I reverted to default config, rebooted the PW, and was able to get in via usb, set my keys and then login via an ssh agent.
Thanks p.s. can this thread topic be edited as SOLVED! Last edited by rrajamani; 11-21-2016 at 07:24 PM. |
![]() |
![]() |
![]() |
#9 |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
We do not do that here, all threads are solved, it is the only kind of conclusion we have here.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Help on SSH: JB 5.6.5 (to 5.7.2.1!) USBNetwork | d0ugparker | Kindle Developer's Corner | 23 | 03-06-2016 07:35 AM |
ssh over USBnetwork disconnects after 30 seconds | hallmist | Kindle Developer's Corner | 2 | 04-24-2015 09:25 PM |
[Help/Question] SSH-USBNetwork | blackcatw81 | Kindle Developer's Corner | 3 | 03-20-2015 11:22 AM |
Kindle ssh/scp with the USBnetwork package | knc1 | Kindle Developer's Corner | 13 | 02-13-2013 02:17 PM |
Usbnetwork/ssh on kindle 3? | yifanlu | Kindle Developer's Corner | 58 | 10-18-2010 05:39 PM |