dmacias Posted April 13, 2016 Author Share Posted April 13, 2016 I'm on my phone through vpn but the wake on lan app by mike webb didn't work when it used to also. It maybe because of the vpn. So in the app, I changed the wake on lan settings for my ubuntu vm from x.x.x.255 broadcast to x.x.x.1 which is my server and it worked. But you said you had tried that. I noticed to that the default in domain.cfg is vibr0. Maybe double check your vm is still br0. Also I don't have spanning tree protocol on. Don't know if that matters. The interface should be listening on the bridge but you could try the script with eth0 instead of br0. See if it works and see if what did work still works also. I will try some more tests when I'm at home. Maybe there are some changes between the different versions of libpcap or libvirt. Quote Link to comment
rix Posted April 14, 2016 Share Posted April 14, 2016 I have investigated this further. Seems the new default vm config broke things. Setting virbr0 to br0 immediately got things working again. Seems like the unraid vm default bridge needs to be the same as the one set within a vm's template for things to work.thanks for the help update.. doesn't work again. This time the bridges match. Seems this is still an issue Quote Link to comment
dmacias Posted April 14, 2016 Author Share Posted April 14, 2016 That sucks. I haven't had a chance to test anything yet. Let me know what you try again. I would try other apps and point it to your unRAID ip also. Quote Link to comment
dmacias Posted April 16, 2016 Author Share Posted April 16, 2016 I ran some tests starting up a Ubuntu and Windows 7 VM using the WOL android app, my wol plugin and Asus router. I tried both ip of the unRAID server and broadcast on the same network. All worked as expected and tke VM's started up each time. Quote Link to comment
rix Posted April 16, 2016 Share Posted April 16, 2016 So I have stopped using the openelec builds and Wol started working again... seems this had nothing to do with your plugin after all. My tvheadend now works inside a vm, so no need for those custom builds anymore Quote Link to comment
dmacias Posted April 16, 2016 Author Share Posted April 16, 2016 So I have stopped using the openelec builds and Wol started working again... seems this had nothing to do with your plugin after all. My tvheadend now works inside a vm, so no need for those custom builds anymore What's your setup? I have a Mythbuntu VM with 2 cable card network tuners. And run NUC's with Openelec at all the TV's. Quote Link to comment
rix Posted April 16, 2016 Share Posted April 16, 2016 Previously it was all docker with a USB dvbc card. I have just switched to a (techno trend ct2 4500) PCIe card which doesn't work with the custom driver builds. I have just done a quick Ubuntu server install with tvheadend because it works well with my cable provider (and ci card), has German picons and supports Plex. Pretty fine setup if you only require one concurrent stream/recording PCIe pass through has become an ease to set up with the latest betas Quote Link to comment
Darqfallen Posted May 13, 2016 Share Posted May 13, 2016 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) Quote Link to comment
dmacias Posted May 13, 2016 Author Share Posted May 13, 2016 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. Quote Link to comment
Darqfallen Posted May 13, 2016 Share Posted May 13, 2016 Yup, working now! Thanks. Quote Link to comment
rinseaid Posted January 30, 2017 Share Posted January 30, 2017 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 Quote Link to comment
dmacias Posted January 30, 2017 Author Share Posted January 30, 2017 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. Quote Link to comment
mikeyosm Posted November 28, 2017 Share Posted November 28, 2017 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) Quote Link to comment
dmacias Posted November 28, 2017 Author Share Posted November 28, 2017 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. Quote Link to comment
mikeyosm Posted November 28, 2017 Share Posted November 28, 2017 2 hours ago, dmacias said: I moved it to it's own repo. It should be fixed now. Ok thanks Quote Link to comment
dmacias Posted November 28, 2017 Author Share Posted November 28, 2017 Ok thanksLet me know if it works. I need to update the libvirt-python package to match and a few other things. Quote Link to comment
mikeyosm Posted November 28, 2017 Share Posted November 28, 2017 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. Quote Link to comment
dweb Posted January 29, 2018 Share Posted January 29, 2018 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. Quote Link to comment
trurl Posted January 29, 2018 Share Posted January 29, 2018 Do you have Python enabled in Nerdpack? Quote Link to comment
dweb Posted January 29, 2018 Share Posted January 29, 2018 I just figured it out... wondering that it was working previously because I thought all plugins are activated by default. Thanks for your hint. Quote Link to comment
Mysticle31 Posted October 28, 2018 Share Posted October 28, 2018 (edited) 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, 2018 by Mysticle31 Quote Link to comment
dmacias Posted October 29, 2018 Author Share Posted October 29, 2018 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? Quote Link to comment
Mysticle31 Posted October 29, 2018 Share Posted October 29, 2018 6.6.2. Should be the latest one. No change with your latest update that I just installed. Quote Link to comment
itimpi Posted October 29, 2018 Share Posted October 29, 2018 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. Quote Link to comment
Recommended Posts
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.