Fma965

Members
  • Posts

    168
  • Joined

  • Last visited

Everything posted by Fma965

  1. Yes it works fine, i use this
  2. Also, as a side note that code doesn't work any more, last time i tested this code did. It also technically doesn't have any security implications as all it does is disables auth on that page #!/bin/bash # Start the Management Utility /usr/local/sbin/emhttp & # Add Un-Authenticated access to Unraid 6.10-RC1+ for Status.php (Corsair Plugin) while [ ! -f /var/run/nginx.pid ] do sleep 2 # or less like 0.2 done echo -e "# Fma965 Un-Authenticated Access\nlocation ~ /plugins\/corsairpsu\/status.php {\nallow all;\ninclude fastcgi_params;\n}\n\n# End Fma965 Un-Authenticated Access\n\n$(cat /etc/nginx/conf.d/locations.conf)" > /etc/nginx/conf.d/locations.conf; nginx -s reload # End Nginx Basic Auth Patch
  3. I've been out of the loop for a while, does unraid provide a bearer token auth method yet... you know like every single other appliance ever! sidenote, if you want PSU stats in Home Assistant use the NetData docker container works great. (assuming your PSU is supported)
  4. This has been mentioned multiple times but i'll mention it again. 1. Unraid now uses form auth not basic auth therefore the direct access to the json wont work 2. PSU's that are not supported use a completely different protocol, if a CLI exists for slackware/linux that reads the data maybe i'll consider adding it
  5. Does any one have any ideas? seems odd to me that VM's are clearly recognizing the USB but UnRaid is not
  6. Yes, you can see this in the screenshot, also my USB 2.0 controller is not DDA compatible so that rules that test out. To clarify i tried both fresh Unraid USB and my existing baremetal one (which i knew 100% worked, non UEFI) and neither worked still
  7. I didn't take a screenshot of the unraid side, but it's the standard no USB called UNRAID found error. the screenshot does however show the same VM with the same passthrough detecting the USB fine on a standard Linux Gparted live boot cd. Hmm interesting idea, unfortunately I have tried the latest stable and the latest RC with the same results, I also tried a Renesas USB controller but the same issue unfortunately. For context the computer is a 7820x on a X299-WS Pro Asus motherboard EDIT: i do have some USB 2.0 ports on this machine so i could try those i guess
  8. You can't, Hyper-V has no support for USB device passthrough (apart from for windows guests)
  9. Hey, Thanks for the suggestions, unfortunately i have already tried option 1, and i can not verify the VM sees the USB stick as Unraid shuts down without any chance of user intervention after 30 seconds of waiting for UNRAID volume, as per the screenshot though the same VM booted to gparted or TrueNAS shows that the USB drive is indeed mounted fine.
  10. Hey guys I'm a little confused, with DDA Hyper-V can support passing through PCI devices. I have passed through both my HBA and USB Controller to the VM, if i boot GParted or TrueNAS i can see both the controllers and the USB Device itself, but yet when I boot UnRAID (from a VMDK copy of the USB drive because Hyper-V can't USB Boot) Unraid says "waiting for UNRAID device" but i know it's passed through. ] Any ideas what i could be missing here? Obviously DDA is relatively new but it is something that should make this possible, as shown in the picture above. Yes I know Unraid can do KVM etc, but for my own reasons I'm trying to do it this way.
  11. This just seems like a non issue really, since the RC doesn't use IPVLAN and instead uses macvlan i haven't had a single crash with it. presumably the next major Unraid version will also have macvlan so there isn't really anything to fix?
  12. There is no update, nothing is being worked on, this uses a completely different protocol so isn't supported. someone would have to make a binary (cli application) that interfaces with the AX1600i
  13. This guide is way out of date, wouldn't recommend you continue to use it.
  14. Yes because unraid removed basic auth and now uses a form auth, this is mentioned a few times in this thread.
  15. Since this plugin can be used with json output in Home Assistant etc but 6.8+ preventing Basic Auth, here is a go file tweak you can add to your go file to allow unauthenticated access to this script output and also to the system temperature plugin 6.10-RC1 Go File #!/bin/bash # Start the Management Utility /usr/local/sbin/emhttp & # Add Un-Authenticated access to Unraid 6.10-RC1+ for SystemTemp.php and Status.php (Corsair Plugin) while [ ! -f /var/run/nginx.pid ] do sleep 2 # or less like 0.2 done echo -e "# Fma965 Un-Authenticated Access\nlocation ~ /plugins\/corsairpsu\/status.php {\nallow all;\ninclude fastcgi_params;\n}\n\nlocation ~ /plugins\/dynamix.system.temp\/include\/SystemTemp.php {\nallow all;\ninclude fastcgi_params;\n}\n# End Fma965 Un-Authenticated Access\n\n$(cat /etc/nginx/conf.d/locations.conf)" > /etc/nginx/conf.d/locations.conf; nginx -s reload # End Un-Authenticated Access Home Assistant preview 6.8+ Go File (Patches Basic Auth back in)
  16. 6.10-rc1 breaks the above code work around, is there any plans to enable basic auth or a "Bearer Token" ? for now i have worked around it with this #!/bin/bash # Start the Management Utility /usr/local/sbin/emhttp & # Add Un-Authenticated access to Unraid 6.10-RC1+ for SystemTemp.php and Status.php (Corsair Plugin) while [ ! -f /var/run/nginx.pid ] do sleep 2 # or less like 0.2 done echo -e "# Fma965 Un-Authenticated Access\nlocation ~ /plugins\/corsairpsu\/status.php {\nallow all;\ninclude fastcgi_params;\n}\n\nlocation ~ /plugins\/dynamix.system.temp\/include\/SystemTemp.php {\nallow all;\ninclude fastcgi_params;\n}\n# End Fma965 Un-Authenticated Access\n\n$(cat /etc/nginx/conf.d/locations.conf)" > /etc/nginx/conf.d/locations.conf; nginx -s reload # End Nginx Basic Auth Patch
  17. Nice work, send a PR and i'll merge it, maybe have a option to toggle it on or off though?
  18. Works fine for me, i can't do anything more than test it on my own powersupply so someone with the issue will need to investigate further.
  19. So yeah not entirely sure what happened there, i just did basically the same thing again and it didn't convert to CRLF, but i never opened the files weird, either way should be all working now
  20. It does appear this is the issue but that makes no sense as i haven't modified any files other than the plg file.
  21. Thanks for the fix, i have merged and updated the plg file