|
![]() |
|
Thread Tools | Search this Thread |
![]() |
#1 |
Enthusiast
![]() Posts: 31
Karma: 10
Join Date: Jul 2011
Device: Kindle 3
|
New kindle 4 (FW 4.1.0): cannot SSH to device, connection refused, why?
Hi,
I am trying to connect to my brand new kindle 4 (Fw 4.1.0) using SSH on both WIndows and Linux, but SSH keeps giving me a "connection refused" errror message. My host is set to 192.168.15.1, my kindle is in USB networking mode on 192.168.15.244, and I can easily ping that device. But SSH keeps telling me it cannot connect. Why? What am I missing? |
![]() |
![]() |
![]() |
#2 |
(offline)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
If you have set usbnetwork to "auto", then the Kindle should be detached from the computer during startup, otherwise something just breaks. So unplug and reboot, maybe that helps.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Enthusiast
![]() Posts: 31
Karma: 10
Join Date: Jul 2011
Device: Kindle 3
|
Thanks ixtab, but that's not the problem, since I tried on Linux and Windows as I wrote, and I really tried several times.
I can ping the device, but not SSH to it ![]() |
![]() |
![]() |
![]() |
#4 |
( ͡° ͜ʖ ͡°){ʇ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
|
The IP is for the USB adaptors IP. not the computers IP. This has been covered lots of times. You would be better served if this entire thing was in the right thread.
I recall answering this same problem several times there already, doubtless others have to. Check out Nilujes thread, and the Readme. specifically note the section about what the IP refer to. |
![]() |
![]() |
![]() |
#5 |
Linux devotee
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 598
Karma: 2069047
Join Date: Feb 2011
Device: Kindle 3, Kindle 4B, Kindle PW2
|
If you are referring to diags mode, then the cause is that the sshd binaries were removed from the diags partition by Amazon in 4.1.
You need to reflash the diags partition with an image that is not crippled like this. |
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Enthusiast
![]() Posts: 31
Karma: 10
Join Date: Jul 2011
Device: Kindle 3
|
Quote:
@twobob: sorry, but I think you totally misunderstood me, I read those posts you refer to, but I am quite sure that I got the IP address stuff right. When I talk about my "host computer", of course I refer to the virtual USB card on my Windows system connected to the kindle. The kindle's IP is fixed, as shown in the diag screen on the kindle, but I was wondering if the host needed to have a specific IP address (for the kindle to accept ssh connections from). |
|
![]() |
![]() |
![]() |
#7 | ||
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
The iptables entry does an "accept from any to destination port 22". Quote:
Last edited by knc1; 01-20-2013 at 09:33 AM. |
||
![]() |
![]() |
![]() |
#8 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@Jackie7: It *is* documented somewhere: the K4 Wiki
![]() |
![]() |
![]() |
![]() |
#9 |
Linux devotee
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 598
Karma: 2069047
Join Date: Feb 2011
Device: Kindle 3, Kindle 4B, Kindle PW2
|
@Jackie: You can find it here: http://pastebin.com/Wdw4L7yT , look for mmcblk0p2-4.0.0 image and for diags_kernel-4.0.0 image.
See https://wiki.mobileread.com/wiki/K4_Index#De-Bricking for how to reflash the partition & kernel. You can achieve the same thing and more from within the main mode by jailbreaking and installing the USBNetwork hack. Much easier for a non-geek than reflashing IMHO. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
KPW Win8 x64 PuTTy network error: connection refused | Bagerfahrer | Kindle Developer's Corner | 2 | 01-19-2013 12:18 PM |
3.1 usbNetwork: Connection Refused | ahonamous | Kindle Developer's Corner | 5 | 05-21-2011 02:24 AM |
7.56: error on device connection | jesscat | Calibre | 13 | 04-17-2011 06:19 PM |
Device connection | Bsibbo | Calibre | 2 | 10-23-2010 08:46 AM |
Looking for small wireless device w/SSH | xarses | Which one should I buy? | 5 | 02-16-2010 12:01 PM |