![]() |
#1 |
Member
![]() Posts: 12
Karma: 10
Join Date: Aug 2013
Device: samsung smart pc tacblet
|
Calibre Binding to a Specific NIC
Good morning, I hope this is the right section.
I am experiencing problems in having Calibre connect to Internet because my company's official connection has been heavily limited. I have a second connection which goes to a different card in the same computer but it seems that calibre "sees" only the first, official one. I have tried different configurations, even using FOrceBindIP, but no success. While I would like to know if there is a fast way to solve the problem, I could suggest to develop an option to bind the program to a specific NIC among those present in the computer. I know that MIRC chat program has this option and it is working well :-) Best regards Fiacca |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,251
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Preferences->Tweaks
And by default calibre binds to 0.0.0.0 which is all NICs |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,077
Karma: 14079267
Join Date: Oct 2007
Location: Almere, The Netherlands
Device: Kobo Sage
|
Quote:
|
|
![]() |
![]() |
![]() |
#4 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
I think that what Kovid is suggesting is that if you want a specific Nic you should change that to the IP address of the Nic you want to use and then restart Calibre.
|
![]() |
![]() |
![]() |
#5 | |
Member
![]() Posts: 12
Karma: 10
Join Date: Aug 2013
Device: samsung smart pc tacblet
|
Quote:
My machine (Win 7) has two network cards, one for the company network, the other one for a private internet connection. Network Company: IP Address 192.168.1.160 Subnet 255.255.254.0 Default Gateway 192.168.1.29 Private Internet: IP Address 192.168.2.2 Subnet 255.255.255.0 Default Gateway 192.168.2.1 Until a few days ago Calibre was able to properly download metadata in order to get book's covers and details. Then, due to a change in company proxy, nothing was working anymore; I was however able to get emule and bit torrent working using FOrceBindIP and Mirc using the internal option to bind it to a specific NIC. I tried ForceDindIP with Calibre, but it was not working, and tried you suggestion in Tweaks -> what interfaces should the content server listen on, but no success (I hope I went to the correct place). It seems that the program goes always for the Company Network and not for the Private Internet; of course, if I physically disconnect the Company network cable everything works fine. ciao (I am from Italy) Piero |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,251
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You are asking how to change the default route calibre uses to connect to servers on the internet? There is no way to do that. calibre will use whatever route is specified as default in the OSes routing tables.
What you can do is run a http proxy server and ask calibre to use that with the http_proxy environment variable. |
![]() |
![]() |
![]() |
#7 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 295
Karma: 2139988
Join Date: Nov 2014
Device: bookeen
|
If you run an SSH server you can pipe and forward ports and traffic to whicever external ip and port you want throguh your server.
You can install the SSH server on the one that Calibre is running or another remote computer. Linux OS comes with SSH you can enable. For Windows your best option is using Cygwin SSH implementation. Last edited by loviedovie; 02-18-2015 at 10:21 AM. |
![]() |
![]() |
![]() |
#8 | |
Member
![]() Posts: 12
Karma: 10
Join Date: Aug 2013
Device: samsung smart pc tacblet
|
Quote:
Thanks again Fiacca |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Open Calibre to a specific library? | BookJunkieLI | Calibre | 30 | 03-18-2019 09:00 PM |
Content Server - binding to wrong networkadapter | sr71 | Library Management | 1 | 02-28-2013 03:33 AM |
NEED HELP! (using Calibre for a specific purpose) | peterpullman | Conversion | 8 | 10-21-2011 02:06 AM |
I'm Nic | nboshart | Introduce Yourself | 5 | 09-17-2009 09:34 AM |