[Plugin] IfaceWatch - Watch for IP changes on interface

Suggest, post, or discuss plugins for Deluge
Sphinxes
New User
New User
Posts: 5
Joined: Sat Nov 21, 2015 12:31 am
Location: Scandinavia

Re: [Plugin] IfaceWatch - Watch for IP changes on interface

Post by Sphinxes »

bro wrote:I presume you are running LInux kernel >= 3.3? If so, this is the reason it doesn't work: https://github.com/ftao/python-ifcfg/bl ... t__.py#L37
Aaah... yea, I'm running 4.4.0-42-generic. Would it just be enough to change that line, or does it require a lot of changes to get it working on newer kernels?
bro
Top Bloke
Top Bloke
Posts: 364
Joined: Sun Aug 28, 2011 6:46 pm
Location: Norway

Re: [Plugin] IfaceWatch - Watch for IP changes on interface

Post by bro »

The test for kernel version is complete nonsense, as it has nothing to do with the output format of ifconfig. If you have the old version of ifconfig installed, changing the if test to pass should solve the problem.
When reporting issues, please include any relevant information such as OS (and version), python version (for Windows users this depends on which Deluge installer was used), Deluge version and plugin version.
Sphinxes
New User
New User
Posts: 5
Joined: Sat Nov 21, 2015 12:31 am
Location: Scandinavia

Re: [Plugin] IfaceWatch - Watch for IP changes on interface

Post by Sphinxes »

Hmm ok. The ouput of ifconfig --version give me the following, so it seems like it's a pretty old version. Everything should be updated to the latest versions, but maybe ifconfig is still running an old one :)
net-tools 1.60
ifconfig 1.42 (2001-04-13)
Post Reply