![]() Helped by my teacher, I setup your OS on it to make of it a powerful and flexible NAS. Two years ago, I got a Lacie Network Space 2 without hard drive. I am in my second year of cloud computing and IT security study. The script rely on nc-openbsd, so it has to be installed somehow on unraid.I apologize for the eventual mistakes, I'm still learning english -). Then configure it with the user script plugin to launch with unraid. You just have to replace in the mac address you want to wake up, and the "vm name". & echo Nothing to do $vm is already running & virsh -q resume $vm & virsh domtime -domain $vm -now # dependent of the state, resume, start or nothing Nc-openbsd -dnlu -p 9 | stdbuf -o0 xxd -c 6 -p -l 12 | stdbuf -o0 grep -v 'ffffffffffff' | while read # listen to udp port 9 for packets & check if it is a magic packet This script will listen to magic packet on the host, when receiving a magic packet to a known MAC adress it will start a virsh command to resume the VM depending of its state. I considered modifying libvirtwol to make direct API call to libvirt wihtout using the XML parsing method but I know enough of dumb scripting and google to patch up something from different sources. Of course a passed through NIC is just another device and not identified as a NIC with a MAC address in the XML file. ![]() This plugin won't work because the original developer of libvirtwol used a method to identify the vm to wake up by parsing the XML files of all the vm. Well it has been a while and you surely have moved on, but I had the same problem. Snmp-server enable traps mac-notification change move thresholdĪpologies if this might be a dumb question, but, does this plugin also work with an ethernet card passed through, with no MAC address defined in the XML file ? Snmp-server enable traps bulkstat collection transfer Snmp-server enable traps envmon fan shutdown supply temperature status Snmp-server enable traps flash insertion removal Snmp-server enable traps stpx inconsistency root-inconsistency loop-inconsistency Snmp-server enable traps bridge newroot topologychange Snmp-server enable traps power-ethernet police Snmp-server enable traps ipsec too-many-sas Snmp-server enable traps ipsec tunnel stop Snmp-server enable traps ipsec tunnel start Snmp-server enable traps ipsec cryptomap detach Snmp-server enable traps ipsec cryptomap attach Snmp-server enable traps ipsec cryptomap delete Snmp-server enable traps ipsec cryptomap add Snmp-server enable traps ike tunnel start Snmp-server enable traps ike policy delete Snmp-server enable traps trustsec-sxp conn-srcaddr-err msg-parse-err conn-config-err binding-err conn-up conn-down binding-expn-fail oper-nodeid-change binding-conflict ![]() Snmp-server enable traps auth-framework sec-violation Snmp-server enable traps call-home message-send-fail server-fail Snmp-server enable traps snmp authentication linkdown linkup coldstart warmstart ![]() Vlan internal allocation policy ascending Username admin password 7 #Ĭrypto pki trustpoint TP-self-signed-1733138816 ! NVRAM config last updated at 15:35:57 UTC Sat by adminĮnable password 7 # ! Last configuration change at 15:35:39 UTC Sat by admin ![]()
0 Comments
Leave a Reply. |