Quote:
Originally Posted by scdill
I have Cool Reader (version 3.0.54-3) on my Nook Touch working over wireless with Calibre running on a linux desktop. What I did:
I added to the Nook Touch an Online Catalog (replacing the XXX.XXX.XX.XX with the ip address of the desktop):
Note: don't use a trailing /
On the linux box, I want the Calibre Content Server available all the time so I added the following service: /opt/calibre/calibre-server --port 8080 Note: if you do not want to run the content server outside of Calibre, you can run it from within as long as you keep the ports the same.
It appears that Cool Reader makes the initial connection to the linux box using port 8080, but subsequent connections using the default port (80). My workaround for this is to add a port map to the linux box by adding the following line to its /etc/rc.local (must have root privileges to do this): /sbin/iptables -t nat -A PREROUTING -i eth+ -p tcp --dport 80 -j REDIRECT --to-port 8080
Restarted the linux box fired up the Nook Touch and it worked.
Depending on your OS and your view of security, you might be able to run the Calibre Content Server at port 80 and forget about the remapping by starting the server on port 80 as root or as an Administer.
|
Thank you! Very interesting finding!
I'll fix port setting for connections.