Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 02-12-2013, 11:40 AM   #1
peepo
Enthusiast
peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.
 
peepo's Avatar
 
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...
peepo is offline   Reply With Quote
Old 02-12-2013, 11:45 AM   #2
hawhill
Wizard
hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.
 
hawhill's Avatar
 
Posts: 1,088
Karma: 2114647
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).
hawhill is offline   Reply With Quote
 
Enthusiast
Old 02-12-2013, 01:09 PM   #3
knc1
Embedded Cheerleader
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 6,341
Karma: 5840124
Join Date: Feb 2012
Device: Too many.
Quote:
Originally Posted by peepo View Post
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...
The processor must be awake to run the code. (Duh...)
Use the KUAL "Prevent Screensaver" button to keep it awake.
knc1 is offline   Reply With Quote
Old 02-12-2013, 01:24 PM   #4
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,552
Karma: 6021142
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:
Originally Posted by knc1 View Post
The processor must be awake to run the code. (Duh...)
Use the KUAL "Prevent Screensaver" button to keep it awake.
Heh good catch. I too thought what Hawhill said.

This never even occured to me.
twobob is offline   Reply With Quote
Old 02-12-2013, 01:44 PM   #5
peepo
Enthusiast
peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.peepo ought to be getting tired of karma fortunes by now.
 
peepo's Avatar
 
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
peepo is offline   Reply With Quote
Old 02-12-2013, 01:49 PM   #6
knc1
Embedded Cheerleader
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 6,341
Karma: 5840124
Join Date: Feb 2012
Device: Too many.
Quote:
Originally Posted by peepo View Post
screensaver does not indicate sleep mode....
But your post says it is in sleep mode (suspend):
Quote:
Originally Posted by peepo View Post
jailbroken k5 Touch in sleep mode
We can only respond to what you tell us.
knc1 is offline   Reply With Quote
Old 02-12-2013, 02:30 PM   #7
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,552
Karma: 6021142
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:
Originally Posted by peepo View Post
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
DISALLOW SCREENSAVERS
Code:
lipc-set-prop com.lab126.powerd preventScreenSaver 1
or
ALLOW
Code:
lipc-set-prop com.lab126.powerd preventScreenSaver 0
would not hurt.

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.
twobob is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
K4 SSH - Connection Refused - Going Insane wemet Kindle Developer's Corner 4 02-01-2013 01:06 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


All times are GMT -4. The time now is 12:30 AM.


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