On Sun, Nov 22, 2015 at 2:32 AM, Chan Ju Ping <email@chanjp.me> wrote:
On Saturday, November 21, 2015 10:35:56 PM Robert Munteanu wrote:
On Sat, Nov 21, 2015 at 6:51 PM, Chan Ju Ping <email@chanjp.me> wrote:
On Saturday, November 21, 2015 11:55:39 AM Robert Munteanu wrote:
Create a file /etc/sysconfig/SuSEfirewall2.d/services/calibre
( name can be anything, but calibre make it clear what the service is )
with the following content
## Name: calibre ## Description: Open ports for Calibre Companion
TCP="1090"
This should be enough to have it picked up by YaST. If it works and you're familiar with obs, consider submitting this change to the calibre package [1]
Thanks,
Robert
[1]: https://build.opensuse.org/package/show/Documentation:Tools/calibre
Thanks for the guide. I have tried manually opening tcp port 9090 as calibre asks for, and it didn't work. I am basing the 9090 number on the Connect/share>
Start wireless device connection in calibre.
I have created the services config file as well, but this time, opening a range of ports on TCP, UDP and Broadcast. Unfortunately, it is still not working.
Just to make sure, after saving this file did you run `yast firewall` and add the new 'calibre' service to the list of allowed services? This file only makes the firewall module aware of the module, it does not generate the iptables rules.
If in doubt, use `iptables -L -v` to verify that the rules are indeed applied.
Yes, I did enable the service in YaST. Then confirmed it was still not working because of the firewall. I have also restarted the machine after applying the new rules.
Then my only recommendation is to experiment with iptables and find out which changes you need to perform, and then translate them into a config file like the one I suggested. Robert
--- ## Name: calibre ## Description: Open ports for Calibre Companion
# space separated list of allowed TCP ports TCP="9000 9001 9002 9003 9004 9005 9006 9007 9008 9009 9010 9011 9012 9013 9014 9015 9016 9017 9018 9019 9020 9021 9022 9023 9024 9025 9026 9027 9028 9029 9030 9031 9032 9033 9034 9035 9036 9037 9038 9039 9040 9041 9042 9043 9044 9045 9046 9047 9048 9049 9050 9051 9052 9053 9054 9055 9056 9057 9058 9059 9060 9061 9062 9063 9064 9065 9066 9067 9068 9069 9070 9071 9072 9073 9074 9075 9076 9077 9078 9079 9080 9081 9082 9083 9084 9085 9086 9087 9088 9089 9090"
FYI, that can be condensed as
TCP="9000:9090"
Robert
Thanks. That does condense the coding significantly.
Incidentally, I should mention I created a temporary shared wireless network from my computer, meaning my tablet was connected to the computer's network without going through a router.
-- http://robert.muntea.nu/ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org