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 01-25-2013, 08:30 PM   #1
eureka
discoverer of principles
eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.
 
Posts: 610
Karma: 1758576
Join Date: Dec 2011
Location: bath
Device: Kindle Touch
BitTorrent Sync

BitTorrent put Sync in pre-Alpha Sync in public access. It has Linux ARM client that works on Kindle (as tested on Kindle Touch).

Looking ahead, it could turn into niche solution for syncing Kindle and main computer. Maybe not for all people, but for some.

I've achieved successful syncronization between my computer and Kindle Touch 5.3.2 with Sync v1.0.75. Fact of file creating/deleting is propagated in 5-20 seconds. Here are used configuration files:
  • Kindle:
    Spoiler:
    Code:
    {
      "device_name": "Kindle",
      "listening_port" : 12321,
      "check_for_updates" : false,
      "use_upnp" : false,
      "download_limit" : 0,
      "upload_limit" : 0,
      "shared_folders" :
      [
        {
          "secret" : "X",
          "dir" : "/mnt/us/documents/bridge",
          "use_relay_server" : true,
          "use_dht" : true,
          "search_lan" : false,
          "use_sync_trash" : false
        }
      ]
    }
  • computer:
    Spoiler:
    Code:
    {
      "device_name": "Host",
      "listening_port" : 12322,
      "check_for_updates" : false,
      "use_upnp" : false,
      "download_limit" : 0,
      "upload_limit" : 0,
      "shared_folders" :
      [
        {
          "secret" : "X",
          "dir" : "/home/user/kindle",
          "use_relay_server" : true,
          "use_dht" : true,
          "search_lan" : false,
          "use_sync_trash" : false
        }
      ]
    }

Sync has much more configurable configuration settings (for example, web interface credentials), you can look at them with option
Code:
--dump-sample-config
Other command-line options could be viewed with Sync --help .

Sync puts its settings and log in .sync folder along the executable, but it could be changed in configuration file.

Sync can "stuck" on Kindle at the first start just after launch because of low available entropy. You can add available entropy by typing anything on Kindle [virtual] keyboard or by constant swiping over the touchscreen. But anyway, after 3-4 minutes Sync will "continue to work" even without producing the entropy. It needs 640 bits of entropy at first start and if it will be provided with them it will not "stuck". Number of available entropy bits could be displayed with:
Code:
cat /proc/sys/kernel/random/entropy_avail
To access Sync web interface (if it's not disabled) you can forward its port with SSH:
Code:
ssh -L8889:localhost:8888 root@192.168.15.244
Then access web-interface on localhost:8889 on main computer.

Nothing should be changed in iptables chains. By default, Kindle Touch has policy ACCEPT for OUTPUT chain and rules for ACCEPT tcp with state RELATE/ESTABLISHED and ACCEPT udp with state ESTABLISHED in INPUT chain. It's sufficient for Sync.

Last edited by eureka; 05-04-2013 at 03:08 PM. Reason: Sync is available to all
eureka is offline   Reply With Quote
Old 01-25-2013, 09:22 PM   #2
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: 5,134
Karma: 5328985
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW, K5 B011, K3 us, K4, DXG, XDA I&II, Omnia, Ematic E6 + E8 :) etc.
your information is good for all devices I believe. Thanks for this.
__________________
Audiophile and electron bully.
My tunes (for free) soundcloud.com/twobob. DONATE TO KUAL BY CLICKING THIS SIMPLE LINK
Kung-Fu. Hard work over time to accomplish skill. A painter can have kung-fu... The musician can have kung-fu, or the poet who paints pictures with words and makes emperors weep. This, too, is kung-fu. Formless, nameless, the true master dwells within. Only you can free him.
The album I'm headlining on at the moment: s.beatport.com/OCp9dT - FREE: 2012 Award winning set
twobob is offline   Reply With Quote
 
Enthusiast
Old 01-26-2013, 09:05 PM   #3
eureka
discoverer of principles
eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.
 
Posts: 610
Karma: 1758576
Join Date: Dec 2011
Location: bath
Device: Kindle Touch
I've read an anecdotal report about very slow (practically, non-working) sync between just two devices (adding more devices fixed it), so it's possible I've had perfect setup, but current Sync quirks ruined my experience.
eureka is offline   Reply With Quote
Old 02-05-2013, 03:47 AM   #4
kos13
Junior Member
kos13 can tame squirrels without the assistance of a chair or a whip.kos13 can tame squirrels without the assistance of a chair or a whip.kos13 can tame squirrels without the assistance of a chair or a whip.kos13 can tame squirrels without the assistance of a chair or a whip.kos13 can tame squirrels without the assistance of a chair or a whip.kos13 can tame squirrels without the assistance of a chair or a whip.kos13 can tame squirrels without the assistance of a chair or a whip.kos13 can tame squirrels without the assistance of a chair or a whip.kos13 can tame squirrels without the assistance of a chair or a whip.kos13 can tame squirrels without the assistance of a chair or a whip.kos13 can tame squirrels without the assistance of a chair or a whip.
 
Posts: 1
Karma: 11138
Join Date: Feb 2013
Device: none
Sync on Kindle

I am involved in development of Sync, so want to clarify few things:

1. We never tested it on Kindle, so hadn't had any chance to optimize for the device. It is nice that it works
2. Sync uses AES256 to encrypt the traffic, we saw some reports that this could significantly slow down the synchronization.
3. It is in pre-Alpha, so there should be issues that we hadn't found yet.

If we might get a help from you - debug log files - to analyze the issue, then I am sure it will work perfectly on Kindle.

Anyway we will touch Kindle at some point of time, but log files could significantly speed the things up.

Thank you testing Sync,
kos
kos13 is offline   Reply With Quote
Old 02-05-2013, 06:15 AM   #5
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: 5,134
Karma: 5328985
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW, K5 B011, K3 us, K4, DXG, XDA I&II, Omnia, Ematic E6 + E8 :) etc.
Damn good of you.
__________________
Audiophile and electron bully.
My tunes (for free) soundcloud.com/twobob. DONATE TO KUAL BY CLICKING THIS SIMPLE LINK
Kung-Fu. Hard work over time to accomplish skill. A painter can have kung-fu... The musician can have kung-fu, or the poet who paints pictures with words and makes emperors weep. This, too, is kung-fu. Formless, nameless, the true master dwells within. Only you can free him.
The album I'm headlining on at the moment: s.beatport.com/OCp9dT - FREE: 2012 Award winning set
twobob is offline   Reply With Quote
Old 02-05-2013, 09:25 AM   #6
geekmaster
Всё гениальное просто.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 5,023
Karma: 6352591
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
The newer Kindles have AES hardware in the SoC, which could improve speed and battery consumption.
__________________
geekmaster is offline   Reply With Quote
Old 02-17-2013, 07:05 PM   #7
eureka
discoverer of principles
eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.
 
Posts: 610
Karma: 1758576
Join Date: Dec 2011
Location: bath
Device: Kindle Touch
I've updated first port with impressions of new build v1.0.75 (thanks to kos13). In short, it works fine, but first start could be noticably slow because of high amount of required entropy. I was also wrong about required changes of iptables rules.
eureka is offline   Reply With Quote
Old 02-17-2013, 07:09 PM   #8
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: 4,111
Karma: 3854695
Join Date: Feb 2012
Device: Intel 4004
Quote:
Originally Posted by eureka View Post
Nothing should be changed in iptables chains. By default, Kindle Touch has policy ACCEPT for OUTPUT chain and rules for ACCEPT tcp with state RELATE/ESTABLISHED and ACCEPT udp with state ESTABLISHED in INPUT chain. It's sufficient for Sync.
Did you use my new KUAL Firewall Report button to learn that?
__________________
"Hack is just a four letter word." - - With apologies to B. Dylan
knc1 is offline   Reply With Quote
Old 02-17-2013, 07:21 PM   #9
eureka
discoverer of principles
eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.
 
Posts: 610
Karma: 1758576
Join Date: Dec 2011
Location: bath
Device: Kindle Touch
Quote:
Originally Posted by knc1 View Post
Did you use my new KUAL Firewall Report button to learn that?
Is it new brand for good ol' iptables -L -v ?
eureka is offline   Reply With Quote
Old 02-17-2013, 08:03 PM   #10
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: 4,111
Karma: 3854695
Join Date: Feb 2012
Device: Intel 4004
Quote:
Originally Posted by eureka View Post
Is it new brand for good ol' iptables -L -v ?
one touch instead of all that typing.
SUPER PLUS - adds: -n so you don't have to wait for DNS lookups.
__________________
"Hack is just a four letter word." - - With apologies to B. Dylan
knc1 is offline   Reply With Quote
Old 05-04-2013, 03:09 PM   #11
eureka
discoverer of principles
eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.
 
Posts: 610
Karma: 1758576
Join Date: Dec 2011
Location: bath
Device: Kindle Touch
Sync is available to all interested now.
eureka is offline   Reply With Quote
Old 05-05-2013, 11:17 AM   #12
farfeduc
Kindle Addict
farfeduc is not intimidated by interfenestral monkeys.farfeduc is not intimidated by interfenestral monkeys.farfeduc is not intimidated by interfenestral monkeys.farfeduc is not intimidated by interfenestral monkeys.farfeduc is not intimidated by interfenestral monkeys.farfeduc is not intimidated by interfenestral monkeys.farfeduc is not intimidated by interfenestral monkeys.farfeduc is not intimidated by interfenestral monkeys.farfeduc is not intimidated by interfenestral monkeys.farfeduc is not intimidated by interfenestral monkeys.farfeduc is not intimidated by interfenestral monkeys.
 
farfeduc's Avatar
 
Posts: 7
Karma: 26770
Join Date: May 2013
Device: Kindle Paperwhite
Could you detail how you installed it?

I'm a newbie but I'd like to test it on my PW.

Thx already for info and keep up the good work !
farfeduc 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
Book publisher files mass BitTorrent lawsuit mr ploppy News 182 11-09-2011 10:56 PM
Multicomputer Sync users - Do you sync the Config directory? Starson17 Calibre 4 07-29-2010 01:07 AM
Automatic Sony Read Sync Script for Mac and Mekentosj Papers Sync smash0190 Sony Reader 1 03-12-2009 06:41 PM
Ebooks on bittorrent! ProDigit Feedback 121 12-23-2008 03:49 PM
Bittorrent Books. Peadar Ó Guilín News 23 09-05-2008 05:31 PM


All times are GMT -4. The time now is 12:28 PM.


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