Instructions – short version:


Instructions – long version:


1) Update to the latest version of calibre (if you run calibre it will tell you if there is a newer version). At the time of writing, the latest version of calibre is 0.7.26.


2) On the PC that is running Calibre, open a Command window (for example, by clicking the ‘start’ button on the screen and typing CMD into the text box there). In that window, type IPCONFIG, and look for the ‘Ipv4 Address’ line in the result. Here is an example, showing an address 192.168.1.69

This is the IP Address of the machine; note it down for later use.


3) Run calibre, and click the Preferences item on the main toolbar:

On the Preferences screen, select ‘Sharing over the net’. The following screen will be displayed:


4) Set the screen up with the values shown above, then click the ‘Start Server’ button. If you wish, you can supply a user name and password here - but note that if the procedure does not work, then it is worth trying it again, using blank user name and password.


5) On the same screen, click the Test Server button, and check that the test results display OK. If not, please refer to calibre’s documentation.


6) On the machine running calibre, open a web browser window (using, for example, Internet Explorer). Type the address: http://192.168.1.2:8080/ (replacing 192.168.1.2 with the IP Address you noted earlier). You should see a web page consisting catalog details for your book collection).


If you do not see that page of catalog details, refer to the Calibre documentation for possible solutions. One point to check: is calibre being blocked by your PC’s Firewall? The exact procedure for opening the Firewall to calibre will depend on which operating system you're running on that PC. If it's Windows 7, you need to go to the Control Panel, click on the 'Windows Firewall' button, go into 'Advanced Settings' and on that screen click on 'Inbound Rules'.

That will bring up a list of rules; if you see one mentioning calibre, with enabled = Yes, all is well and good. If not, you need to create one, which you do by clicking on 'New Rule' (you want a program rule for Calibre - the program file is probably C:\Program Files\Calibre2\Calibre.exe).


7) If you have another PC available on your network, you can perform a further check: On that machine , open a web browser window (using, for example, Internet Explorer). Type the address: http://192.168.1.2:8080/ (replacing 192.168.1.2 with the IP Address you noted earlier). You should see a web page consisting catalog details for your book collection).


Again, if you do not see that web page, you should check the Firewall setup on your calibre PC. It is also possible that access is being blocked by your router; refer to your router documentation for troubleshooting suggestions – bearing in mind that what you are trying to do is to permit machines on your local network to communicate with each other using TCP/IP Port 8080.


8) Now repeat step (7), using the address http://192.168.1.2:8080/opds (again, replacing those numbers with the IP Address you noted earlier). You should see a catalog display (the exact format will depend on what web browser you are running – but you should get some content). If you do not, then there is a problem with calibre content server (it is failing to produce an OPDS catalog). Refer to calibre’s documentation for troubleshooting suggestions.


Assuming you’ve got to this point, and passed all the checks OK, the calibre content server is working, and serving up an OPDS catalog to machines on your local network. Now we’re ready to try to reach it using your phone.


9) Connect your Windows Phone to your home network via WiFi. If your phone is connecting to the internet using 3G/HSDPA (i.e. your mobile data plan) then these instructions won't work.

You need to check that the phone is connected to the WiFi network. You can tell this by looking for the WiFi symbol in the row of symbols that pop up along the top of the phone screen - it looks like a bunch of concentric arcs, and it should be stable (i.e. the number of arcs should be constant, not cycling up and down). You can ensure the phone makes a WiFi connection by (in the Settings menu) turning off the 3G connection and the mobile data connection.


10) On your phone, check that you can reach the internet using the WiFi connection – for instance, open up internet explorer and look at some web site. If that does not work, refer to Windows Phone documentation for resolving issues with WiFi connectivity.


Assuming you’ve got to this point, and passed all the checks OK, your phone is connecting to WiFi OK, and you have a working calibre content server running on your WiFi network. You’re now ready to try accessing it using Freda.


11) On your phone, ensure there is a calibre book source. Normally, the program comes with such a source already there, but if it is missing, you can create it: tap the "..." menu label, select the 'add opds catalog' menu option, and enter the name (which can be 'calibre', or any other name if you prefer) and the details mentioned in section (13) below.


12) On the book sources screen and long-tap on the calibre book source and choose the 'set password' option. The 'authentication' screen will be shown. On this screen, move the slider to the 'http authentication' position, and then set the username and password to the values you used in step (4). Tap the 'check' (OK) button to save these values and return to the list of book sources.


13) On your phone, long-tap on the calibre book source again, and select the 'edit' option. On this screen, set the home URL to http://192.168.1.2:8080/opds and set the search URL to http://192.168.1.2:8080/opds/search/{0} replacing 192.168.1.2 with the IP Address you noted down earlier. Tap the 'check' (OK) button to save these values and return to the list of book sources.


14) On your phone, tap the ‘calibre’ book source. You should see folder symbols and rectangular buttons corresponding to items in your book catalog.

If you do not, please contact me with further details and I will see what I can do. Please send me Freda’s log file (by tapping the ‘support email’ link on the ‘support’ tab in Freda). Please also email me calibre’s server log files (you can get these by tapping the ‘View server logs’ button on the calibre preferences screen for ‘sharing over the net’).


Other points worth noting:


If these instructions work for a while, and then stop working, it may be because your calibre PC has a dynamic (DHCP) IP Address. That is to say, its IP Address changes from time to time. The simple fix is to look up the IP Address (by running IPCONFIG again) and update the Freda catalog details accordingly. A better solution is to set the machine up with a static IP address. Look in your machine documentation (or Google) for how to do that.


It is possible to set things up so that you share your book collection over the internet - but it's quite a bit more complicated, and the exact procedure depends on the make and model of your router. You will want to get it working on your local WiFi network first. Then you can proceed with opening up port 8080 to the internet, and setting NAT translation so that inbound access requests for port 8080 are routed to your calibre PC. If you do this, it would really be a good idea to set a user name and password for your content server (see step 4 above).


It is also possible to share your calibre library using DropBox. That means you can access your library on the move, without any need to leave a calibre Content Server machine running at home. But this solution is (a) a bit more intricate (b) and not for the unwary, since it involves publishing your entire book collection onto the internet, in a location where any random person can see it. For details, search the internet for Calibre2Opds.