Tuesday, May 17, 2011

Calibre Content Server



The Calibre content server is working fine on the home network. It is currently running on the macbook/win7 laptop. When a device with an OPDS-capable ereader software like Stanza is running the Get Books icon displays the calibre content server library and it is easy to download books to the device such as an iPad, iTouch or Android tablet. Once the course is over i may install a permanent content server using an old G4 macbook.

The problem is the work network. Devices cannot detect the content server when the laptop is running on the UWO wireless network. Devices just display 'Searching....'. This is a problem - you can't demonstrate how it will all work.



The hack i am testing now is to run a rogue wireless access point that is not connected to the internet. A standard linksys wireless router should enable the macbook to get an IP address from the linksys DHCP server and then running calibre should make it available on this wireless network which a device then connects to. Once on that wireless network the content server should be found.

Step 1 - configure the wireless Router

Had to run Fing (look@lan replacement) as the new firmware for the router doesn't display a very good dhcp clients table. Armed with the IP address i set up the linksys to be a dhcp server with an ip range of 192.168.1.20 to 192.168.1.30. We then unplug the cat 5 cable from the linksys to the network router so that it only serves ad hoc connections.

Step 2 - connect laptop to the wireless router

We set the macbook to connect to the LIAM network and lo it picks up the dhcp server and gets issued the IP address of 192.168.1.20 which is as it should be.

Step 3 - run the calibre content server

Done!

Step 4 - connect ipad to content server

Odd, iPad says unable to join LIAM network. It can see the network but refuses to connect. Ok , next we fire up the iTouch and change it's network to LIAM. It connects. We run Stanza and click Get Books. The calibre content server on macbook is listed and there are all the books! We select one and it downloads ok. I wonder if the iPad mac address is not in the allowed table, yes it was not so we add it. We run Stanza, click Get Books, Shared and success. We can now read the Saskatoon Star Phoenix articles we downloaded from the RSS feed in class today.

So the solution to uwo network problem is to bring in our own wireless device and run an ad hoc wireless network. We will test this tomorrow for saturday's THATcamp session.