Jump to content

dmacias

Community Developer
  • Posts

    2,803
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by dmacias

  1. Sorry nothing yet. What motherboard do you have?
  2. I wish I could test with Openelec but my system only supports vt-x. Probably a script involving udev might work. I personally use Nevo Q50 zwave remotes to wake Openelec boxes through a Micasaverde Vera. I send a zwave scene command to Vera which then sends the wake on lan packet to my Openelec boxes.
  3. Thanks for helping me figure out the problem.
  4. I updated the script. Let me know if it works. After you update the plugin. You'll have to stop then start the daemon.
  5. Libvirtwol.py mac address section relies on packet size to parse the packet for 16 repetitions of a mac address. For you it doesn't work because of the extra packet size. I was able to reproduce your problem by using etherwake -p 00:00:00:00:00:00 -i br0 macaddress. I'll look at the libvirtwol.py script again and see if I can tweak it.
  6. The daemon is running. Status under "Settings/VM Manger/Wake On Lan" is green. root@Hub:~# ps -ef | grep libvirtwol root 14180 1 0 14:20 pts/0 00:00:00 /usr/bin/python /usr/local/emhttp/plugins/libvirtwol/scripts/libvirtwol.py br0 dmesg device br0 entered promiscuous mode No logging root@Hub:~# ls -l /var/log/libvirt/ total 16 -rw------- 1 root root 13795 Dec 1 07:44 libvirtd.log -rw-rw-rw- 1 root root 0 Dec 1 14:22 libvirtwakeonlan.log There is no firewall between unRAID system and the clients (same network). I tried a 3rd app on my android phone (Wake On Lan from Mike Webb). No wakeup with SHIELD, Router and the android app. Here's the package. Just wget and installpkg and some commands to test with it. See if anything shows in the console when you send a wol packet. https://raw.githubusercontent.com/dmacias72/unRAID_6.0/master/tcpdump-4.4.0-x86_64-1.txz tcpdump -i br0 ether proto 0x0842 tcpdump -i br0 udp port 9
  7. That's the same android app I used. It uses upd port 9. Only thing I can think is to enable wake on lan in your bios. Maybe the network card is blocking it. I have a tcpdump package in my github. I'll get you the link and some commands to run from unRAID console in a few.
  8. Is the daemon running? Under Settings/VM Manger/Wake On Lan does Enable Wake On Lan have a green running next to it? Check the log that after you start the daemon it says something like this. /usr/local/emhttp/plugins/libvirtwol/scripts/start Dec 1 06:08:50 server kernel: device br0 entered promiscuous mode Check there's nothing else that could be blocking the packet like firewall or something else. Can you try wol from a computer or phone app to see if that works? Also there's a log created at /var/log/libvirt/libvirtwakeonlan.log
  9. I'm not sure why that happens. I uninstalled and reinstalled and had the same result. I just pushed a new version. Just changed the date in the plg file. Removed the puzzle piece plugin and reinstalled. Works fine for me now.
  10. Wake On Lan for Virtual Machines 6.1+ Based on simoncadman/libvirt-wakeonlan github https://github.com/simoncadman/libvirt-wakeonlan This plugin is a daemon which listens for a wake on lan packet on udp port 7, port 9 and ether protocol 0x0842 then starts the corresponding KVM based virtual machine. I tested it to work with an android app called Wake On Lan, ether-wake and asus router. This will work with 6.1+ This will only work on stopped or hibernated virtual machines. It will not wake up vm's in a sleep state. 1. Copy the plugin url: https://raw.githubusercontent.com/dmacias72/unRAID-libvirtwol/master/plugin/libvirtwol.plg 2. Paste url into install plugin text input and click install 3. Wake On Lan will be added to Settings/VMSettings page for starting the daemon As of 2018.01.13 NerdPack plugin is required to install Python 2 https://raw.githubusercontent.com/dmacias72/unRAID-NerdPack/master/plugin/NerdPack.plg Change Log: ###2019.01.06 - move all python dependencies to virtual environment package - add initial support for virtual bmc ###2018.10.28 - update libvirt-python to 4.7 for 6.6 - remove support link from readme ###2018.01.13 - require NerdPack for Python 2 install - add notification for missing python ###2017.11.28a - update libvirt-python to 3.8 for 6.4 - update python to 2.7.14a for 6.4 - add work around to plugin install services ###2017.11.28 - move to separate repo ###2017.04.11 - update python for 6.2, 6.3 and 6.4 ###2017.01.30a harden code for XSS and CSRF vulnerabilities - fix form not defined and submitting - update libvirt-python to 2.5.0 for 6.3 - update python to 2.7.13 - add support link to readme ###2016.11.05 - fix: continue script on exception e.g. error in vm xml ###2016.10.22 - fix: min and max ###2016.10.15 - add: min and max versions ###2016.10.09 - update for 6.3 ###2016.09.16 - update python to 2.7.12 ###2016.06.04 - add rc script - amend dynamix plugin api ###2016.04.16 - add help button comments - add dynamix plugin API - add white-space: normal to fix status css formatting ###2016.03.23 - remove libpcap package ###2016.03.19 - add wake on lan to advanced view ###2016.03.14 - update package locations ###2016.03.12 - add dual package support for 6.1 and 6.2+ - add python 2.7.11 for 6.2+ - add libvirt python 1.3.1 for 6.2+ - move settings to php file and include in vm settings - move all permissions on scripts to plugin package install ###2016.01.22 - update install and remove scripts - check if config exists - create a default config file ###2016.01.02 - fix not starting with array ###2015.12.21a - fix config file and start/stop - add unRAID version check - add md5 package ckeck - convert install and remove scripts ###2015.12.01 - added fix for other packet sizes ###2015.11.18 - update python to 2.7.9 ###2015.11.17 - fix start and stop event permissions ###2015.11.16 - added promiscuous mode to listen for all packets - will recieve all ether proto 0x0842 packets now ###2015.11.15 - added support for ethertype 0x0842 - tested with ether-wake but asus router still not waking ###2015.11.14c - fix plugin page image and link - pkg variable typo ###2015.11.14 - initial commit
  11. Partly a bug. The Apply should be enabled on page refresh and notifications set to No, it is not. I'll check the logic and fix it. All settings should be disabled if the notification is Running. Basically so you can't change or apply settings if it's active. Also If you actually change a field like ip address and go to the next input the Apply button will be enabled. But that won't work with the password input and I don't know if I can fix that but if Apply is visible it shouldn't matter.
  12. Are you able to see sensor readings in Tools/IPMI tool? Unless you need remote access you should leave that set to No and the sensors will show using the kernel ipmi driver. The real time event notifications can be set to Yes then hit Apply. If the status didn't change to a green Running then try running "ipmievd sel" from the command line and let me know what happens and if the log shows anything.
  13. Working great. Thanks so much! Great. Thanks for testing it out. Remote access may not work for systems with ipmi 1.5. So if someone needs that I'll have to add another option.
  14. Your welcome. Glad it works for you.
  15. Awesome! Finally added support for ipmi lan access and event notifications. I created a settings page under Settings/IPMI tool. Let me know how it works for you.
  16. I will add a settings page for remote ipmi with ip address, username and password. That should allow those with unRAID as a vm to use this or you could monitor any other server. I also have been testing event monitoring and notifications.
  17. What does "ipmitool sensor" show from the command line? Also try "ipmitool sdr" and "ipmitool -vc sdr" if that works.
  18. No. That's all that speedtest-cli will return. Ping, download, upload and a url to the results image.
  19. Thanks I forgot to click upload tags. Updated now. There's a b now and a 19.
  20. What version of pyhthon did you have and what plugin was it from? I can add the newer version to the plugin. Edit nevermind. I see the newer one in the nerd pack. I'll update. Not sure. I think it said it was 4 minor versions ahead (.9 vs your .5?) Not sure what I have that uses it but nothing I have run across is broken. I updated the plugin to include python 2.7.9 from the nerd pack plugin. Don't want to get into the old dueling dependencies from days past.
  21. What version of pyhthon did you have and what plugin was it from? I can add the newer version to the plugin. Edit nevermind. I see the newer one in the nerd pack. I'll update.
  22. 2019.12.11 Been working on a new version using the official speedtest package You can install this package using wget and installpkg from the command line https://github.com/dmacias72/unRAID-speedtest/raw/master/packages/speedtest-1.0.0.2-x86_64-1.txz Then run speedtest to test this script Speedtest-cli for 6.1+ Based on repositories https://github.com/sivel/speedtest-cli This plugin interacts with the command line interface for testing internet bandwidth using speedtest.net. This is for those that don't have another hard wired computer to check bandwidth with. Be patient. It will take about 30 seconds to get the results. 1. Copy the plugin url: https://raw.githubusercontent.com/dmacias72/unRAID-speedtest/master/plugin/speedtest.plg 2. Paste url into install plugin text input and click install As of 2018.01.13 NerdPack plugin is required to install Python 2 https://raw.githubusercontent.com/dmacias72/unRAID-NerdPack/master/plugin/NerdPack.plg Created a standalone version for a webserver. Will read speedtest.xml and display similar results to the plugin. May include testing in the future. https://github.com/dmacias72/speedtest/archive/master.zip Options Settings/Speedtest Enable Secure Connection: Use HTTPS instead of HTTP when communicating with speedtest.net operated servers Save Speed Values As: Display values in bytes instead of bits. Does not affect the image generated Create Results Image: Generate and provide a URL to the speedtest.net share results image Select Speedtest Server: Specify a server ID to test against from a list of speedtest.net servers sorted by distance Settings/Scheduler/Speedtest Cron Jobs and Command line: Schedule Speedtest cron jobs from Settings/Scheduler/Speedtest You can also manually add /usr/sbin/speedtest-xml to a cron job or just run speedtest-xml from the command line. The results will be stored in /boot/config/plugins/speedtest/speedtest.xml and also shown on the results page. Sort and Filter results: There's a filter section below the table header where the results can be filtered by date, host, ping, download and upload. Sort and Filter settings will be saved. Tools/Speedtest Tests and Results will be under Tools/Speedtest From the speedtest-cli github: "It is not a goal of this application to be a reliable latency reporting tool. Latency reported by this tool should not be relied on as a value indicative of ICMP style latency. It is a relative value used for determining the lowest latency server for performing the actual speed test against. There is the potential for this tool to report results inconsistent with Speedtest.net. There are several concepts to be aware of that factor into the potential inconsistency: 1. Speedtest.net has migrated to using pure socket tests instead of HTTP based tests 2. This application is written in Python 3. Different versions of Python will execute certain parts of the code faster than others 4. CPU and Memory capacity and speed will play a large part in inconsistency between Speedtest.net and even other machines on the same network" Change Log: ###2018.02.11 - update tablesorter 2.29.5 - update speedtest 2.0 ###2018.01.27 - add download button to results page - add colors to ping, download, and upload based on thresholds ###2018.01.16 - tweak notification event and subject ###2018.01.15 - change wording to warning - add more info for NerdPack - fix logic for warning notifications - add click to schedule tab to go back ###2018.01.14 - fix warning on default ping setting - replace protocol for image based on protocol used - add test button to settings page ###2018.01.13c - update speedtest to version 1.0.7 - add notifications and alerts - require NerdPack Python 2 - add notification of missing python ###2017.11.14 - convert download and upload speeds based on units in settings ###2017.10.03 - move cdnjs to local ###2017.10.01 - fix stickyheaders and update css for new themes ###2017.06.21 - update speedtest to version 1.0.6 - add support for new 6.4 themes ###2017.04.16 - fix: remove my dangling link - fix: set server default to 0 to prevent null variable if saved before server list loads ###2017.04.11 - update python for 6.2, 6.3 and 6.4 - remove zpeter's speetest script due to end of development - add sivel script to 1.0.3 ###2017.02.13 - version bump ###2017.02.12a - fix scheduler hourly setting - fix scheduler tab calculation ###2017.01.30 - update python to 2.7.13 - add support link to readme ###2017.01.27 - more code for XSS and CSRF vulnerabilities ###2017.01.23 - remove local tablesorter - move js depends to cdn - add sivel version 1.0.2 - harden code for XSS and CSRF vulnerabilities ###2017.01.07 - update speedtest-cli scripts - add support for speedtest-linux script - fix deleting single result ###2016.11.04 - fix: python min ###2016.10.28 - update min/max version ###2016.10.15 - update speedtest-linux to 1.0.2-c ###2016.10.09a - update for 6.3 ###2016.09.16 - update python to 2.7.12 - update tablesorter to 2.27.6 ###2016.06.19 - fix: scheduler not saving changes ###2016.06.10 - fix: make schedule variables unique, so other schedules aren't affected ###2016.06.08 - fix: getting no results because script version 0.3.1 missing timeout option ###2016.06.03 - add: selectable versions of speedtest-cli - add: timeout option for those getting 0 values - move and revise manual list to server side ###2016.05.22 - fix: units error when using bytes - fix: increase chart size and remove horizontal title so date labels show correctly. - add: extra speedtest scripts (speedtest-cli and speedtest-linux) ###2016.05.21 - fix: fix scheduler tab count if no mover settings - fix: blank image not showing with empty table ###2016.05.20 - fix: workaround for dynamix plugin update api not refreshing after update (remove update message) - fix: change chart sort order - fix: streamline code ###2016.05.15 - fix: tabs not working due to image path ###2016.05.06 - add tabs for settings, scheduler and history - add dynamix plugin update api - add help info ###2016.03.14 - update package locations ###2016.03.12 - fix install python 2.7.11 for unRAID 6.2+ - fix install python 2.7.9 for unRAID 6.1 ###2016.02.28 - fix: chart and table sync on changes - fix: filters save - fix: page refresh after manual test - fix: various minor css and code - add settings icon - removed stacked charts - add: persistent chart selection cookie - tested working on clean install OSX 10.11 and Safari 9.0 - tested working on upgrade to OSX 10.11.3 and Safari 9.03 ###2016.02.25 - fix: chart filter cookie - fix: after deletion of row next image not shown ###2016.02.24 - add modified speedtest.py script - remove obsolete dependencies from plugin install - fix share image function hopefully for Safari - add scheduler and history button to settings page ###2016.02.23 - update packages to NerdPack versions ###2016.02.21 - add save chart type to cookie - add save chart data type cookie - move row click to table column click ###2016.02.14 - fix: move delete all outside icon tag - fix: no quotes on table row id - add: animation to table row delete - move: tablesorter to document ready - add: function to save filters on page refresh - add: charts: line, area, vertical, horizontal - date format to fixed yyyy-mm-dd hh:mm day for sorting and charts - update tablesorter ###2016.01.17 - remove symlink to speedtest-linux ###2016.01.16 - minor diplay changes - add tablesorter as a separate package ###2016.01.15 - fix filter save - add filter reset button - add speedtest-linux command ###2016.01.12 - add checks for failed speedtest ###2016.01.02 - added tablesorter pager plugin - fix tablesort css padding - click on row to show share image - save sort and filter settings - added default cfg ###2015.12.29 - update tablesorter to v2.25.0 combined - add tablesorter filters to table - save speedtest host server - add shadow box display when running speedtest ###2015.12.20a - Added cron settings page - Separated into proper webgui locations - Speedtest settings under Settings - Speedtest Cron Settings under Settings/Scheduler - Speedtest App under Tools/Speedtest ###2015.12.20 - added speedtest-xml script to /usr/sbin/ for cron jobs - added logging to speedtest.php for start and completion of the script ###2015.12.19 - changed icon thanks to hernandito - convert to stand alone script for cron jobs - rearrange setting page layout - one click remove ###2015.12.11c - update install and remove scripts ###2015.12.10 - update install and remove scripts - changed plugin repo - add date and time to table - add switchbuttons - update packages ###2015.10.19 - fix typos ###2015.10.18b - update to python 2.7.9 ###2015.10.18a - fix typos ###2015.10.18 - update install script ###2015.10.17 - initial commit Screenshot:
  23. Does it work otherwise? Running shellinaboxd --version will give those errors too. It shouldn't need to call those libs for that. They are safe to ignore. I'll see if I can suppress them in the mean time and contact developer to fix.
  24. You probably need to add the cert again. From the settings page when the service is running click on the version and add an exception. Or connect to the default port 4200 or the port you set up on your server from a separate browser tab. And add an exception for the self signed cert.
  25. Just realized, it should be forward slashes (/) to indicate a linux path ... try: cd /boot/scripts/vlog This is working on Chrome, Edge and FF! Oh ok good. I only tested the characters that weren't working and the css.
×
×
  • Create New...