May 13, 201610 yr Having a problem updating. Keep on getting this error. plugin: downloading: https://raw.githubusercontent.com/dmacias72/unRAID-plugins/master/archive/libvirtwol-2016.04.16-x86_64-1.txz ... failed (Invalid URL / Server error response) plugin: wget: https://raw.githubusercontent.com/dmacias72/unRAID-plugins/master/archive/libvirtwol-2016.04.16-x86_64-1.txz download failure (Invalid URL / Server error response)
May 13, 201610 yr Author Having a problem updating. Keep on getting this error. plugin: downloading: https://raw.githubusercontent.com/dmacias72/unRAID-plugins/master/archive/libvirtwol-2016.04.16-x86_64-1.txz ... failed (Invalid URL / Server error response) plugin: wget: https://raw.githubusercontent.com/dmacias72/unRAID-plugins/master/archive/libvirtwol-2016.04.16-x86_64-1.txz download failure (Invalid URL / Server error response) Not sure where it went but I pushed it again. Should work now.
January 30, 20179 yr Sorry for resurrecting an old thread, but for anyone that may come to this thread from Google, I have used dmacias' great work and adapted for use with Proxmox. I have posted the info to the Proxmox forums here: https://forum.proxmox.com/threads/wake-on-lan-script.32449/#post-160160
January 30, 20179 yr Author Sorry for resurrecting an old thread, but for anyone that may come to this thread from Google, I have used dmacias' great work and adapted for use with Proxmox. I have posted the info to the Proxmox forums here: https://forum.proxmox.com/threads/wake-on-lan-script.32449/#post-160160 It's no problem. It's still active, just not many issues. I just updated the plugin but the script is still the same.
November 28, 20178 yr Im using 6.4 RC13 and the plugin does not install? Python 2.7.14 is installed. plugin: installing: https://raw.githubusercontent.com/dmacias72/unRAID-plugins/master/plugins/libvirtwol.plg plugin: downloading https://raw.githubusercontent.com/dmacias72/unRAID-plugins/master/plugins/libvirtwol.plg plugin: downloading: https://raw.githubusercontent.com/dmacias72/unRAID-plugins/master/plugins/libvirtwol.plg ... done plugin: downloading: https://raw.githubusercontent.com/dmacias72/unRAID-plugins/master/packages/6.4/python-2.7.13-x86_64-1.txz ... failed (Invalid URL / Server error response) plugin: wget: https://raw.githubusercontent.com/dmacias72/unRAID-plugins/master/packages/6.4/python-2.7.13-x86_64-1.txz download failure (Invalid URL / Server error response)
November 28, 20178 yr Author 4 hours ago, mikeyosm said: Im using 6.4 RC13 and the plugin does not install? Python 2.7.14 is installed. plugin: installing: https://raw.githubusercontent.com/dmacias72/unRAID-plugins/master/plugins/libvirtwol.plg plugin: downloading https://raw.githubusercontent.com/dmacias72/unRAID-plugins/master/plugins/libvirtwol.plg plugin: downloading: https://raw.githubusercontent.com/dmacias72/unRAID-plugins/master/plugins/libvirtwol.plg ... done plugin: downloading: https://raw.githubusercontent.com/dmacias72/unRAID-plugins/master/packages/6.4/python-2.7.13-x86_64-1.txz ... failed (Invalid URL / Server error response) plugin: wget: https://raw.githubusercontent.com/dmacias72/unRAID-plugins/master/packages/6.4/python-2.7.13-x86_64-1.txz download failure (Invalid URL / Server error response) I moved it to it's own repo. It should be fixed now.
November 28, 20178 yr 2 hours ago, dmacias said: I moved it to it's own repo. It should be fixed now. Ok thanks
November 28, 20178 yr Author Ok thanksLet me know if it works. I need to update the libvirt-python package to match and a few other things.
November 28, 20178 yr 34 minutes ago, dmacias said: 36 minutes ago, mikeyosm said: Ok thanks Let me know if it works. I need to update the libvirt-python package to match and a few other things. prior to your fix I modified the plugin and removed the reference to d/l the python package, the plugin installed OK on 6.4 RC13.
January 29, 20188 yr Hi everyone, I installed Unraid 6.4 stable and was using the WoL Plugin on my old installation without any issues. However, now with a fresh installation I always get the error message that Pyton 2 is not istalled. Can you explain me how I get it runnign as the Nerdpack plugin seems to be installed? Thanks and sorry if I overlooked something.
January 29, 20188 yr I just figured it out... wondering that it was working previously because I thought all plugins are activated by default. Thanks for your hint.
October 28, 20187 yr Hi All! New to unraid. Been setting up my new box. Loving it so far!! Having some problems setting up the wake on lan plugin for VMs. This is all some background on my investigation of the problem. See the update below When I generate WOL packets through several means from a computer on the same subnet, I can see the packet get picked up by the nic. I dont like that is says disgard at the end. tcpdump -i br0 udp port 9 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on br0, link-type EN10MB (Ethernet), capture size 65535 bytes 19:18:39.609149 IP ScubaSteve.56209 > 255.255.255.255.discard: UDP, length 102 19:19:47.380846 IP ScubaSteve.64090 > 192.168.1.255.discard: UDP, length 102 19:19:47.380855 IP ScubaSteve.64090 > 255.255.255.255.discard: UDP, length 102 tcpdump -i br0 udp port 7 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on br0, link-type EN10MB (Ethernet), capture size 65535 bytes 19:25:42.838792 IP ScubaSteve.50330 > 192.168.1.255.echo: UDP, length 102 19:25:42.838803 IP ScubaSteve.50330 > 255.255.255.255.echo: UDP, length 102 19:25:50.215074 IP ScubaSteve.50331 > 255.255.255.255.echo: UDP, length 102 My /var/log/libvirt/libvirtwakeonlan.log remains empty and my VM's powered off. I have verified that the command "virsh start "My Windows 7 VM"" will start the vm. My VMs are all using BR0 not VIRBR0. UPDATE!! Running python /usr/local/emhttp/plugins/libvirtwol/scripts/libvirtwol.py br0 allows the VM to start via WOL, and shows entries in the log! This happens regardless of what the plugin status is under VM Manager settings. I've tried it being reported as Running and being reported as Stopped. I'm guessing that when I start the plugin something is not running properly (and reporting that it is), or it's not listening on the correct interface. How can I investigate this further? Edited October 28, 20187 yr by Mysticle31
October 29, 20187 yr Author 23 hours ago, Mysticle31 said: Hi All! New to unraid. Been setting up my new box. Loving it so far!! Having some problems setting up the wake on lan plugin for VMs. This is all some background on my investigation of the problem. See the update below When I generate WOL packets through several means from a computer on the same subnet, I can see the packet get picked up by the nic. I dont like that is says disgard at the end. tcpdump -i br0 udp port 9 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on br0, link-type EN10MB (Ethernet), capture size 65535 bytes 19:18:39.609149 IP ScubaSteve.56209 > 255.255.255.255.discard: UDP, length 102 19:19:47.380846 IP ScubaSteve.64090 > 192.168.1.255.discard: UDP, length 102 19:19:47.380855 IP ScubaSteve.64090 > 255.255.255.255.discard: UDP, length 102 tcpdump -i br0 udp port 7 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on br0, link-type EN10MB (Ethernet), capture size 65535 bytes 19:25:42.838792 IP ScubaSteve.50330 > 192.168.1.255.echo: UDP, length 102 19:25:42.838803 IP ScubaSteve.50330 > 255.255.255.255.echo: UDP, length 102 19:25:50.215074 IP ScubaSteve.50331 > 255.255.255.255.echo: UDP, length 102 My /var/log/libvirt/libvirtwakeonlan.log remains empty and my VM's powered off. I have verified that the command "virsh start "My Windows 7 VM"" will start the vm. My VMs are all using BR0 not VIRBR0. UPDATE!! Running python /usr/local/emhttp/plugins/libvirtwol/scripts/libvirtwol.py br0 allows the VM to start via WOL, and shows entries in the log! This happens regardless of what the plugin status is under VM Manager settings. I've tried it being reported as Running and being reported as Stopped. I'm guessing that when I start the plugin something is not running properly (and reporting that it is), or it's not listening on the correct interface. How can I investigate this further? What version of unRAID?
October 29, 20187 yr 6.6.2. Should be the latest one. No change with your latest update that I just installed.
October 29, 20187 yr 1 hour ago, Mysticle31 said: 6.6.2. Should be the latest one. No change with your latest update that I just installed. Actually 6.6.3 is the latest.
October 29, 20187 yr Author 6.6.2. Should be the latest one. No change with your latest update that I just installed. Is the VM stopped or paused? It has to be shutdown or hibernated. It can't be sleeping or in any other state. I would stop the service. Then run "ps aux | grep libvirtwol". To make sure another instance isn't running then start the service and run that again. You can also run manually /etc/rc.d/rc.libvirtwol start/stop. You should see /usr/bin/python /usr/local/emhttp/plugins/libvirtwol/scripts/libvirtwol.py br0 running. Edit: also is your bridge named BR0 or br0? Could make a difference. The service gets this from /boot/config/domain.cfg
October 29, 20187 yr 5 hours ago, Mysticle31 said: 6.6.2. Should be the latest one. That version has some issues with VM's not reporting their state correctly. Update and try again.
October 30, 20187 yr 6.6.2 not latest...I just installed like...2 days ago. Anyhow, works! For some reason, the script was using virbr0. I even have br0 specified in the default network for VMs. Thanks! ps aux and grep...my linux/unix knowledge is so bad..need to mess around some more. Would virbr0 even work? I thought that was like a NAT for VMs you dont want to directly expose to the network. The script is looking at the packets coming in off eth0 and then looking up a mac address from the specified network (br0/virbr0/whatever) and running the command to start the vm, right?
October 30, 20187 yr Author 6.6.2 not latest...I just installed like...2 days ago. Anyhow, works! For some reason, the script was using virbr0. I even have br0 specified in the default network for VMs. Thanks! ps aux and grep...my linux/unix knowledge is so bad..need to mess around some more. Would virbr0 even work? I thought that was like a NAT for VMs you dont want to directly expose to the network. The script is looking at the packets coming in off eth0 and then looking up a mac address from the specified network (br0/virbr0/whatever) and running the command to start the vm, right?virbr0 would not work. The script monitors all packets looking for wol packets on the bridged network for your VMs. It gets the bridge name from BRNAME in /boot/config/domain.cfg. Do you have that variable in the domain.cfg? Maybe that variable isn't set anymore? Do you have bridging enabled in network settings?
October 31, 20187 yr 15 hours ago, dmacias said: virbr0 would not work. The script monitors all packets looking for wol packets on the bridged network for your VMs. It gets the bridge name from BRNAME in /boot/config/domain.cfg. Do you have that variable in the domain.cfg? Maybe that variable isn't set anymore? Do you have bridging enabled in network settings? I have BRNAME in domain.cfg and it's set to BR0. Bridging is enabled in settings. I guess something just went funky. Or maybe I messed with it some point while poking around with unraid. I remember removing an reinstalling the plugin though after when I was done messing with things.
November 4, 20187 yr Author I have BRNAME in domain.cfg and it's set to BR0. Bridging is enabled in settings. I guess something just went funky. Or maybe I messed with it some point while poking around with unraid. I remember removing an reinstalling the plugin though after when I was done messing with things. I was wondering if your BRNAME was actually capitalized as BR0? It may have an affect on the python script and command line. While unRAID is case sensitive, maybe the python script doesn't handle it well. You had mentioned earlier running the command line and using br0 and it worked.
December 25, 20187 yr I've been working with ipmi and vm's recently and I think VirtualBMC would be a great addition to this plugin. You already have libvirt-python and the only other requirement to get it installed via pip is subprocess32 (if using python 2) which I had no problem building once I installed the build dependencies in unraid from slackware64-current repo. Pip will build it fine but the slackbuild is more convenient. Would you consider adding it? I would be happy to help or collaborate.
December 27, 20187 yr Hmm, I can't seem to get this working. I downloaded the plugin, and installed Python from the Nerd Tools plugin (v2.7.14a) and used the same android app (as well as a smartthings automation app called WebCore) to send a WoL command using the MAC address found in the VM config, but so far nothing. Any suggestions as to what I could try?
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.