![]() |
#1 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 35
Karma: 470250
Join Date: Feb 2013
Device: k5
|
ssh: How to stop connection failing?
After a short while, usually seconds but not more than a few minutes,
ssh closes silently on kindle, debian responds:"connection failed: activation of network connection failed" using debian wheezy on mac-mini with usb to jailbroken k5 Touch in sleep mode, ie screensaver is showing... |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
|
Your host machine's system is probably trying to auto-configure the network in the background while you're manually configuring it otherwise (e.g. on command line). It eventually fails. So: either disable USB network auto-configuration (on the host machine!), or configure it to suit the proper settings for the Kindle (but note that this does somehow not work for me since it is entangled with the MAC address, which changes).
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Use the KUAL "Prevent Screensaver" button to keep it awake. |
|
![]() |
![]() |
![]() |
#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
|
|
![]() |
![]() |
![]() |
#5 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 35
Karma: 470250
Join Date: Feb 2013
Device: k5
|
wfm
cheers hawhill kudos vnc, had to update /etc/network/interfacesand reboot, partprobe not enough, is there something else, rather than reboot? screensaver does not indicate sleep mode.... did I hit a good day? anyway nice group response tx all |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
|
![]() |
![]() |
![]() |
#7 | |
( ͡° ͜ʖ ͡°){ʇ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
|
Quote:
Code:
lipc-set-prop com.lab126.powerd preventScreenSaver 1 ALLOW Code:
lipc-set-prop com.lab126.powerd preventScreenSaver 0 There have been previous discussion about if sleep mode kills ssh. In a nutshell "Generally Yes". just try it. assuming you have connection. that is probably the issue. As KNC1 says. this is on a KUAL button for user convenience also. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
SSH - Connection Refused - Going Insane | wemet | Kindle Developer's Corner | 7 | 01-06-2020 12:12 PM |
New kindle 4 (FW 4.1.0): cannot SSH to device, connection refused, why? | Jackie7 | Kindle Developer's Corner | 8 | 01-20-2013 11:33 AM |
Help! Conversion failing... | Zerotoeleven | Conversion | 2 | 04-05-2011 11:24 PM |
Removing WEP key to stop Wi-Fi connection? | allisondbl | Amazon Kindle | 9 | 02-28-2011 10:54 PM |
Wireless internet connection frustrating IDS connection | Socrates | iRex | 8 | 10-21-2009 12:46 PM |