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 07-31-2013, 07:54 PM   #1
Alkhabiru
Member
Alkhabiru began at the beginning.
 
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?
Alkhabiru is offline   Reply With Quote
Old 08-01-2013, 12:23 AM   #2
ixtab
(offline)
ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.
 
ixtab's Avatar
 
Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
Quote:
Originally Posted by Alkhabiru View Post
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?
Did you actually enable the USB network on the Kindle?

... just installing the setup binary isn't enough. The README should tell you everything you need to get started.
ixtab is offline   Reply With Quote
Advert
Old 08-01-2013, 03:59 AM   #3
brianinmaine
Evangelist
brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.
 
brianinmaine's Avatar
 
Posts: 456
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
Quote:
Originally Posted by Alkhabiru View Post
...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)
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?
brianinmaine is offline   Reply With Quote
Old 08-01-2013, 06:08 PM   #4
Alkhabiru
Member
Alkhabiru began at the beginning.
 
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?
Alkhabiru is offline   Reply With Quote
Old 08-01-2013, 06:12 PM   #5
ixtab
(offline)
ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.
 
ixtab's Avatar
 
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.
ixtab is offline   Reply With Quote
Advert
Old 08-01-2013, 06:14 PM   #6
brianinmaine
Evangelist
brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.
 
brianinmaine's Avatar
 
Posts: 456
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
running
Code:
ifconfig -a
should show your usb device - on linux it's usually usb0
Code:
ifconfig usb0 192.168.15.201
should assign the ip to the device.
then you should be able to ping from the computer to the kindle? what does your do?
brianinmaine is offline   Reply With Quote
Old 08-05-2013, 06:40 PM   #7
Alkhabiru
Member
Alkhabiru began at the beginning.
 
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.
Alkhabiru is offline   Reply With Quote
Old 08-05-2013, 06:52 PM   #8
ixtab
(offline)
ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.
 
ixtab's Avatar
 
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)
ixtab is offline   Reply With Quote
Old 08-05-2013, 10:49 PM   #9
Alkhabiru
Member
Alkhabiru began at the beginning.
 
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!
Alkhabiru is offline   Reply With Quote
Old 08-05-2013, 10:59 PM   #10
brianinmaine
Evangelist
brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.
 
brianinmaine's Avatar
 
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!
brianinmaine is offline   Reply With Quote
Old 08-06-2013, 03:04 AM   #11
kaiang
Junior Member
kaiang began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Aug 2013
Device: kindle k3
can not enable the USB network on the Kindle 3

I do not know why but I can not enable the usbnetwork,
I use this cmd ";debugOn
~usbnetwork
;debugOff
Can you help me to figure out?
Thanks
kaiang is offline   Reply With Quote
Old 08-06-2013, 03:08 AM   #12
brianinmaine
Evangelist
brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.
 
brianinmaine's Avatar
 
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
in the search window to toggle on/off?
brianinmaine is offline   Reply With Quote
Old 08-06-2013, 03:28 AM   #13
kaiang
Junior Member
kaiang began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Aug 2013
Device: kindle k3
enable usbnetwork

Quote:
Originally Posted by brianinmaine View Post
I don't know about the Kindle 3, but I use just
Code:
;un
in the search window to toggle on/off?
ths for your reply,but i just cannot use the kual launcher to toggle the netusbnetwork?
kaiang is offline   Reply With Quote
Old 08-06-2013, 03:36 AM   #14
brianinmaine
Evangelist
brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.
 
brianinmaine's Avatar
 
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!
brianinmaine is offline   Reply With Quote
Old 08-06-2013, 10:03 AM   #15
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
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?
twobob is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 09:54 PM.


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