Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre Companion

Notices

Reply
 
Thread Tools Search this Thread
Old 07-26-2017, 03:40 PM   #1
Rattor
Junior Member
Rattor began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jan 2013
Device: Nook HD+
Possible to connect to content server or as a wireless device without WiFi connected?

I have a home server set up with my Calibre library. I have a VPN set up that allows me to put my phone on my home network even when I'm out and about. When I try to connect to my content server or as a wireless device to my Calibre server, Calibre Companion says that WiFi must be enabled in order to connect.

My question is: why? Is there a reason for this requirement? Is there a way around it? I definitely do not need it for my particular use case. I can even be connected to a different WiFi network and it will allow me to connect to the content server. It seems arbitrary to require a WiFi connection to connect when I can do everything I need to via VPN on a cell data connection. I can even VPN home, launch an RDP window into my server, launch Calibre, manipulate the databases and move books around to Dropbox or directly download them, but CC wants me to have an active WiFi connection.

Any thoughts or ideas?
Rattor is offline   Reply With Quote
Old 07-26-2017, 03:59 PM   #2
Rattor
Junior Member
Rattor began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jan 2013
Device: Nook HD+
Oops. Wrong post.

Last edited by Rattor; 07-26-2017 at 04:00 PM. Reason: mistaken post in wrong thread
Rattor is offline   Reply With Quote
Advert
Old 07-26-2017, 04:26 PM   #3
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Check the "Allow connecting using 3G" box in CC's Settings / Connecting to calibre / Content server connection / IP address and port, or the equivalent in the wireless device setup. That tells CC to attempt to connect even if WiFi is off, using whatever networking is available. I can't guarantee that connections will work because VPNs can be strange but at least you will get past the WiFi check. By "strange" I mean that VPNs may or may not pass UDP and broadcasts, DNS may or may not work correctly, and routing might send the packets over the wrong network.
chaley is offline   Reply With Quote
Old 07-26-2017, 04:36 PM   #4
Rattor
Junior Member
Rattor began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jan 2013
Device: Nook HD+
Thanks, that actually did it. Not sure how I missed that setting. Looks like I'm connected and able to download books now. My VPN is a full tunnel, so all of my phone's data passes through the VPN to my home network before being routed to the internet at large, and it's set up to allow UDP and broadcasts. Also, since my phone is assigned a local IP on my home network, the DNS routing is working exactly as if I were on my home WiFi network.

Thanks for the amazing app!
Rattor is offline   Reply With Quote
Old 08-05-2017, 03:41 PM   #5
taratears
Connoisseur
taratears began at the beginning.
 
Posts: 86
Karma: 10
Join Date: Aug 2013
Device: Kindle Fire HD
I tried to do this, but it refuses to connect. It just tells me it can't find Calibre. Works fine if my wireless is on. I'm on a Win10 laptop, Calibre version 3.60, Android version 6.0.1.
taratears is offline   Reply With Quote
Advert
Old 08-05-2017, 04:05 PM   #6
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by taratears View Post
I tried to do this, but it refuses to connect. It just tells me it can't find Calibre. Works fine if my wireless is on. I'm on a Win10 laptop, Calibre version 3.60, Android version 6.0.1.
If you turn off WiFi then your device is no longer connected to your local network, but is instead connected to the Internet via your data provider. Normally, for excellent security reasons computers on the internet can't see computers on your home net (one exception can be IPV6). For connections to work you must do *something* to allow connections from the internet to your library on your home net.

@Rattor solved this problem by setting up a VPN that connected his device to his home network. This works well but usually requires advanced technical knowledge to set up.

@d2produce solved this problem by opening his local network to the internet. His approach is rather quick-and-dirty and suffers from some structural and security problems, but it can work.

Others, including me, solved the problem by running a content server on internet-connected computer.

Many others, also included me, solved the problem by using CC's cloud connection, syncing our book libraries to Dropbox or equivalent.

The point here is that unless you do something special, CC will not be able to see your library on your local (home) network from the internet. What you do is up to you, based on your technical knowledge and your risk tolerance. Cloud connections are reasonably secure and are easy to set up. Content server connections from the internet can be a difficult and can be insecure. Wireless device connections from the internet are the hardest to set up.
chaley is offline   Reply With Quote
Old 08-05-2017, 06:12 PM   #7
taratears
Connoisseur
taratears began at the beginning.
 
Posts: 86
Karma: 10
Join Date: Aug 2013
Device: Kindle Fire HD
Quote:
Originally Posted by chaley View Post
If you turn off WiFi then your device is no longer connected to your local network, but is instead connected to the Internet via your data provider. Normally, for excellent security reasons computers on the internet can't see computers on your home net (one exception can be IPV6). For connections to work you must do *something* to allow connections from the internet to your library on your home net.

@Rattor solved this problem by setting up a VPN that connected his device to his home network. This works well but usually requires advanced technical knowledge to set up.

@d2produce solved this problem by opening his local network to the internet. His approach is rather quick-and-dirty and suffers from some structural and security problems, but it can work.

Others, including me, solved the problem by running a content server on internet-connected computer.

Many others, also included me, solved the problem by using CC's cloud connection, syncing our book libraries to Dropbox or equivalent.

The point here is that unless you do something special, CC will not be able to see your library on your local (home) network from the internet. What you do is up to you, based on your technical knowledge and your risk tolerance. Cloud connections are reasonably secure and are easy to set up. Content server connections from the internet can be a difficult and can be insecure. Wireless device connections from the internet are the hardest to set up.
Thank you for your feedback, it gives me a good idea of all my options.
taratears is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sync via content server vs wireless device volwrath Calibre Companion 0 05-11-2015 09:28 PM
can't connect with. content server or wireless mexicoblue Calibre Companion 2 07-27-2014 03:48 AM
Content Server / Wireless Device Connection both not working Mousebumples Calibre Companion 6 01-20-2013 09:03 AM
What is the difference: content server v wireless device connection BeccaPrice Calibre 8 08-23-2012 04:35 PM
Connected to wireless, but could not connect to internet rushkk enTourage Archive 15 12-27-2010 05:38 PM


All times are GMT -4. The time now is 04:26 AM.


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