![]() |
#1 |
Member
![]() Posts: 10
Karma: 10
Join Date: Jul 2013
Device: Kindle Paperwhite
|
Can't SSH to my Kindle
I'm on OS X and try to SSH to my Kindle 5.3.5. It's jailbroken, I installed USBnetwork and I configured my Kindle's IPv4 in the network (I set it to 192.168.15.201). SSH just times out and even ping (to 192.168.15.244) can't reach it, what might the problem be?
|
![]() |
![]() |
![]() |
#2 | |
(offline)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Quote:
... just installing the setup binary isn't enough. The README should tell you everything you need to get started. |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 456
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
|
The Kindle should be .244 and the computer usb0 device should be set to .201 - it sounds like you tried to do it backward? The ping to .244 - did you do that from the computer? You are using usb?
|
![]() |
![]() |
![]() |
#4 |
Member
![]() Posts: 10
Karma: 10
Join Date: Jul 2013
Device: Kindle Paperwhite
|
@brianinmaine My Kindle's IP is set to .244 (in the "config" file in the usbnet folder). It is set to .201 from the computer (network configuration) and I did ping from the computer in the terminal. I guess it's using USB by default since my Wi-Fi is deactivated and I didn't touch anything in the config file, am I wrong?
|
![]() |
![]() |
![]() |
#5 |
(offline)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
So you say you can ping it now, but can't connect via SSH? Try rebooting the Kindle with the USB cable *unplugged*, then enable usbnetwork, then plug the cable in.
For some reason, usbnetwork sometimes doesn't activate properly if the USB cable was connected during boot. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 456
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
|
running
Code:
ifconfig -a Code:
ifconfig usb0 192.168.15.201 then you should be able to ping from the computer to the kindle? what does your do? |
![]() |
![]() |
![]() |
#7 |
Member
![]() Posts: 10
Karma: 10
Join Date: Jul 2013
Device: Kindle Paperwhite
|
Sorry Ixtab, I meant I did TRY to ping it from the computer, I'll try what you said Brian.
|
![]() |
![]() |
![]() |
#8 |
(offline)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
On MacOS, you'll probably want to use the system settings -> network adapters (or whatever it's called) instead of the command line.
1. Make sure that the configuration on the Kindle is correct. 2. Make sure that you turned on usbnetwork on the Kindle. 3. Plug in the Kindle. 4. Make sure that you configured your computer correctly, i.e. manually assign 192.168.15.201 to the correct adapter. All of these are required, but they're a matter of a couple of minutes on OSX. (At least, you don't have to go hunting for drivers like Windows users have to) ![]() |
![]() |
![]() |
![]() |
#9 |
Member
![]() Posts: 10
Karma: 10
Join Date: Jul 2013
Device: Kindle Paperwhite
|
Well using the OSX GUI really didn't work out. I used terminal instead and found out that my Kindle was listed in ifconfig as "en3". I entered -ifconfig en3 192.168.15.201- and was finally able to SSH into my Kindle. Thank you very much for your advices!
|
![]() |
![]() |
![]() |
#10 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 456
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
|
word to the wise - write down what you do so you can at least tell someone step by step if you have problems.
glad you got it now! |
![]() |
![]() |
![]() |
#11 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Aug 2013
Device: kindle k3
|
can not enable the USB network on the Kindle 3
![]() I use this cmd ";debugOn ~usbnetwork ;debugOff Can you help me to figure out? Thanks |
![]() |
![]() |
![]() |
#12 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 456
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
|
I don't know about the Kindle 3, but I use just
Code:
;un |
![]() |
![]() |
![]() |
#13 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Aug 2013
Device: kindle k3
|
enable usbnetwork
|
![]() |
![]() |
![]() |
#14 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 456
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
|
sure! I use the ;un thing anyway because it's less buttons then searching through all the buttons from the extensions I have. whatever makes you happy, do that!
|
![]() |
![]() |
![]() |
#15 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
(on a 3)
~debugon ~usbnetwork ~debugoff maybe? |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kindle 4 NT: No SSH | cinnagingercat | Kindle Developer's Corner | 92 | 11-06-2018 08:44 PM |
how to ssh into Kindle | thomass | Amazon Kindle | 4 | 04-11-2011 10:48 AM |
ssh from Kindle 3 | aKarma | Kindle Developer's Corner | 6 | 09-21-2010 08:59 PM |
SSH to Kindle | Zorz | Kindle Developer's Corner | 16 | 01-15-2010 01:18 AM |
Kindle + SSH? | Elegant Forkbomb | Amazon Kindle | 3 | 03-05-2009 08:12 AM |