Hello,
I've the following issue with the, for me very important plugin, Autoshutdown. This plugin is not working under OMV v4 and the reason (I strongly believe) has something to do with the naming of the network-card.
Under OMV v3 with Debian Jessie and back port kernel the name of the ethernet card was "eth0" but under OMV v4 with back port kernel the name of the ethernet card is "enp0s25" and it's impossible (for me) to change it into eth0 or eth1...
When I start Autoshutdown-Plugin the dashboard shows me that's enabled but there's a red dot under "running":
When I have a look under the log file I can see the following error:
Oct 2 20:28:30 HomeServer root: autoshutdown[3724]: INFO: ' Reading NICs ,IPs, ...'
Oct 2 20:28:30 HomeServer root: autoshutdown[3724]: INFO: ' NIC 'bond0' not found, skipping 'bond0''
Oct 2 20:28:30 HomeServer root: autoshutdown[3724]: INFO: ' NIC 'eth0' not found, skipping 'eth0''
Oct 2 20:28:30 HomeServer root: autoshutdown[3724]: INFO: ' NIC 'eth1' not found, skipping 'eth1''
Oct 2 20:28:30 HomeServer root: autoshutdown[3724]: WARN: ' No SERVERIP or CLASS found'
Oct 2 20:28:30 HomeServer root: autoshutdown[3724]: WARN: ' exiting ...'
Oct 2 20:31:03 HomeServer logger: autoshutdown[4230]: INFO: ' XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
Oct 2 20:31:03 HomeServer autoshutdown.sh[4230]: <182>Oct 2 20:31:03 logger: autoshutdown[4230]: INFO: ' XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
Oct 2 20:31:03 HomeServer logger: autoshutdown[4230]: INFO: ' XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
Oct 2 20:31:03 HomeServer autoshutdown.sh[4230]: <182>Oct 2 20:31:03 logger: autoshutdown[4230]: INFO: ' XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
Oct 2 20:31:03 HomeServer logger: autoshutdown[4230]: INFO: ' XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
Oct 2 20:31:03 HomeServer autoshutdown.sh[4230]: <182>Oct 2 20:31:03 logger: autoshutdown[4230]: INFO: ' XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
Oct 2 20:31:03 HomeServer logger: autoshutdown[4230]: INFO: ' X Version: 0.9.9.10'
Oct 2 20:31:03 HomeServer autoshutdown.sh[4230]: <182>Oct 2 20:31:03 logger: autoshutdown[4230]: INFO: ' X Version: 0.9.9.10'
Oct 2 20:31:03 HomeServer logger: autoshutdown[4230]: INFO: ' Initialize logging to local6'
Oct 2 20:31:03 HomeServer autoshutdown.sh[4230]: <182>Oct 2 20:31:03 logger: autoshutdown[4230]: INFO: ' Initialize logging to local6'
Oct 2 20:31:03 HomeServer root: autoshutdown[4230]: INFO: ' /etc/autoshutdown.conf loaded'
Display More
What I did (because of info in the readme) was that I've added the following entry to the "extra options"
after restart of the Autoshutdown-Plugin there is the following message in the log file:
Oct 2 20:31:03 HomeServer root: autoshutdown[4230]: WARN: ' Invalid parameter format: FORCE_NIC'
Oct 2 20:31:03 HomeServer root: autoshutdown[4230]: WARN: ' You set it to 'enp0s25', which is not a correct syntax. It has to match '[a-z]{3,}[0-9]{1}\.{0,1}[0-9]{0,$
Oct 2 20:31:03 HomeServer root: autoshutdown[4230]: WARN: ' with spaces between every NIC: e.g. "eth1 wlan0 usb3 eth1.2"'
Oct 2 20:31:03 HomeServer root: autoshutdown[4230]: WARN: ' Unsetting FORCE_NIC'
Oct 2 20:31:03 HomeServer root: autoshutdown[4230]: INFO: ' ------------------------------------------------------'
Oct 2 20:31:03 HomeServer root: autoshutdown[4230]: INFO: ' Reading NICs ,IPs, ...'
Oct 2 20:31:03 HomeServer root: autoshutdown[4230]: INFO: ' NIC 'bond0' not found, skipping 'bond0''
Oct 2 20:31:03 HomeServer root: autoshutdown[4230]: INFO: ' NIC 'eth0' not found, skipping 'eth0''
Oct 2 20:31:03 HomeServer root: autoshutdown[4230]: INFO: ' NIC 'eth1' not found, skipping 'eth1''
Oct 2 20:31:03 HomeServer root: autoshutdown[4230]: WARN: ' No SERVERIP or CLASS found'
Oct 2 20:31:03 HomeServer root: autoshutdown[4230]: WARN: ' exiting ...'
Display More
and Autoshutdown is still not working. I'm pretty sure that is has something to do with the naming of the ethernet-(onboard)-card.
How can I/we solve this issue?
Thanks in advance