![]() |
#16 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
If I am following correctly, your host is the 192.168.15.1 and the kindle is the 192.168.15.244 address. The key to the problem is the: Code:
All 1000 scanned ports on 192.168.15.244 are closed Either of two things: Connection to port 22 is being blocked (I.E: firewalled by iptables). Or the ssh daemon isn't running on the Kindle. The few usbnet scripts I have read will take care of both those items when the service is "started". I haven't read all of the scripts in all of the possible installs - so first thing to do is check if there is a "READ.ME" (or similar name) document included with the usbnet package you used. Check for directions on how to get the service "started". |
|
![]() |
![]() |
![]() |
#17 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Apr 2012
Device: Kindle Touch
|
can someone help me....?
I performed the following steps.
1. d2j2d was installed 2. Restart Kindle 3. On Kindle - "Create input for Calibre" to export the existing collections 4. Connect Kindle to computer 5. Imported into the Kindle Calibre Collections (Custom Column "Kindle") - In the root directory of the Kindle was a file created called "kindle_collections_path_cache.calibre" 6. edit "Collections" in Calibre (Column "Kindle") 7. Export with "Create Colloections on the Kindle from Calibre" 8. Disconnect Kindle / Select "Import data from Calibre on the Kindle 9. I see the screen "Importing Content Catalog ...." forever but the device does not restart 10. I reboot the Kindle manually 11. The collections were not taken. Is it because "Save template starts with: calibre," ??? What do you mean? I'm edit the entry in Calibre "Preferences / Sending Books to devices"... I changed the entry from "{author_sort / {title} - {} authors" to "{calibre}" Is this correct? I have also been deleted the cc.db in var/local. (ssh / mntroot rw / rm cc.db) This did not have the desired effect. On the Kindle here were no collections created Can someone help me? |
![]() |
![]() |
Advert | |
|
![]() |
#18 | |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Apr 2012
Device: Kindle Touch
|
Quote:
2. Launcher - https://www.mobileread.com/forums/sho...d.php?t=161263 There is no readme in it, but I understand that the usbnetwork.sh (attached) should take care of the firewall, but does it start the ssh daemon? |
|
![]() |
![]() |
![]() |
#19 | |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Apr 2012
Device: Kindle Touch
|
Solved!
Quote:
Thanks a lot knc1 for your kind and informed help! ![]() |
|
![]() |
![]() |
![]() |
#20 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
EDIT:
This post was being written while the O.P. was writing his "solved" post. Which is how the posts got out of order here, the O.P. types faster than I do. ![]() Quote:
As written, it opens port 22 for the network device wlan0 (usually the Wifi, unless renamed in a udev rule). In fact, it adds that rule regardless of the action to be taken (adding or removing) the usb networking entry from the launcher menu; without checking if that iptables rule already exists. Which can lead to multiple copies of the same firewall rule in iptables, one copy for each time this script was run. Not harmful, just a bit messy. Whereas the usb networking would be network device usb0 (unless renamed somewhere in the device scripting - such as with the udev rules). So once this script has been run (conditions set to add the usbnetworking to the lanucher menu).... Then there should be an entry in your launcher menu to turn on (start the ssh daemon) and diddle the firewall rule in iptables for device usb0. ![]() Notes: If the "-i wlan0" argument to that iptables rule was removed, then port 22 would always be open in the firewall for any device rather than only the specified interface "-i" device. Since the addition of the iptables rule is in both sides of the condition statement, then it could be outside of the condition statement. And since it is never removed - made part of the package installation (complete with a check to see if another package has already added the rule or the general rule without the interface device specification). Again, not harmful, just a bit messy to be diddling a rule for wlan0 in a script for installing access to the usb0 interface device. Last edited by knc1; 04-05-2012 at 06:30 AM. |
|
![]() |
![]() |
Advert | |
|
![]() |
#21 | |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 29
Karma: 19952
Join Date: Sep 2011
Location: USA & UK
Device: down to just a PW4
|
Quote:
I made this restriction so that collections not managed through Calibre are left untouched because the import script only loops through collections in the file produced by the plug-in. |
|
![]() |
![]() |
![]() |
#22 | |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 29
Karma: 19952
Join Date: Sep 2011
Location: USA & UK
Device: down to just a PW4
|
Change "{author_sort}/{title} - {authors}"
to "calibre/{author_sort}/{title} - {authors}" and then you are compliant with requirement #4. Quote:
|
|
![]() |
![]() |
![]() |
#23 | |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 29
Karma: 19952
Join Date: Sep 2011
Location: USA & UK
Device: down to just a PW4
|
Quote:
By the way, to delete an empty collection on the Kindle, touch the collection name until a menu pops up asking if you want to add/remove items or rename/delete the collection. |
|
![]() |
![]() |
![]() |
#24 | |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Apr 2012
Device: Kindle Touch
|
Quote:
... process collection Utility delete empty collection process collection Food collection has no calibre content ... Then collections seem to be OK in the json file. The script yields no errors, but when I restart the Kindle, the collections are not imported. (The "Food" collection is the only one present in the Kindle before the script was run.) BTW: I did Change "{author_sort}/{title} - {authors}" to "calibre/{author_sort}/{title} - {authors}" in the Calibre Preferences. Is there a way to get some more info from the script? ![]() |
|
![]() |
![]() |
![]() |
#25 | |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 29
Karma: 19952
Join Date: Sep 2011
Location: USA & UK
Device: down to just a PW4
|
1) After you changed the template to begin with calibre/, did you re-sync with calibre and verify that the content is now in documents/calibre? You may have to delete/re-add your content so it ends up in the right place. The json file only contains UUID's for books and collections. The file locations are in the cc.db file on the Kindle. If calibre hasn't moved the files after you changed the template, then you'll get that error.
2) Towerle reported problems until he switched from the portable version of calibre to a normal version. Quote:
|
|
![]() |
![]() |
![]() |
#26 | |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Apr 2012
Device: Kindle Touch
|
Quote:
![]() When I buy a book from Amazon, it lands in the documents folder on the Kindle. I usually then copy it to the Calibre library on the PC as a backup and to organize the collections. If Calibre then sends it to the documents/calibre folder, I suppose I will end up with 2 copies on the Kindle: one original in documents and another one in documents/calibre? ![]() |
|
![]() |
![]() |
![]() |
#27 | |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 29
Karma: 19952
Join Date: Sep 2011
Location: USA & UK
Device: down to just a PW4
|
Quote:
I'll have a think on it and see if I can come up with a solution that does not require #4 but still allows one to have collections and content not managed by calibre live in peace with that managed by calibre. |
|
![]() |
![]() |
![]() |
#28 | |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Apr 2012
Device: Kindle Touch
|
Quote:
![]() I can live with this workflow, and I'll try to implement it... Thanks for your support! |
|
![]() |
![]() |
![]() |
#29 |
Enthusiast
![]() Posts: 36
Karma: 10
Join Date: Apr 2012
Device: Kindle Touch
|
Let's hope this is updated for use with 5.1 soon! Incredibly useful little extension.
|
![]() |
![]() |
![]() |
#30 |
Connoisseur
![]() Posts: 55
Karma: 10
Join Date: Dec 2010
Device: K5
|
I've had it work just fine with the Launcher 1.1. Anecdotal evidence isn't much in the way of evidence, though.
|
![]() |
![]() |
![]() |
Tags |
calibre, collections, kindle touch, sqlite3 |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Manage Collections in Kindle Touch | eas187 | Amazon Kindle | 51 | 11-15-2013 09:37 AM |
Kindle Touch Collections Database | Fizzblizz | Kindle Developer's Corner | 22 | 02-28-2012 07:56 AM |
Can I set up collections on the Kindle Touch in Windows? | guspasho | Amazon Kindle | 10 | 12-13-2011 03:18 PM |
Kindle Touch sorting by collections question | tjsoundguy | Amazon Kindle | 4 | 12-01-2011 08:06 AM |
Kindle Collections on Kindle 4 (non-touch) | patrickmullin | Plugins | 0 | 11-23-2011 06:39 AM |