al_uk Posted September 13, 2016 Share Posted September 13, 2016 I've just started using VirtualHere which lets me plug in USB devices into a Raspberry PI and connect my windows VMs to these USB devices over the network. This gives me the following benefits. 1. I can put USB devices a long way away from my UnRaid server. I am not limited by USB extension cables. 2. I am not reliant on the quirks of USB passthrough with KVM. 3. I can move my VM from one UnRaid server to another without having to physically unplug and replug USB devices. However, as more and more Dockers become available, I'd like to do the following. 1. Connect networked USB devices to Dockers, and into UnRaid directly. This requires the VirtualHere client to run on UnRaid. 2. Share USB devices plugged into the UnRaid server with other VMs. This requires the VirtualHere server to run on UnRaid. Use case for 1 is if I move to a docker version of Homeseer Home Automation. This uses USB z-wave, RFXCOM 433 MHz receivers, and 868 MHz receivers for the wireless heating actuators. Use case for 2 is if I still want to plug USB devices into 1 UnRaid box, but share those devices as I move the VM around between Live and Test UnRaid boxes. I contacted Michael from VirtualHere who said that if there is enough interest he would look at implementing or supporting a plugin. Please post if you're interested. I'll send Michael a link to this thread. Link to comment
itimpi Posted September 13, 2016 Share Posted September 13, 2016 I would be interested. Link to comment
JonathanM Posted September 13, 2016 Share Posted September 13, 2016 Definitely interested. I can see multiple use cases, especially with home automation VM's. I currently use a couple IOLan DS-1's for RS232 over IP with my Homeseer VM. Link to comment
DoeBoye Posted September 13, 2016 Share Posted September 13, 2016 +1! I think it's a great idea! Link to comment
s.Oliver Posted September 16, 2016 Share Posted September 16, 2016 i can see good use for usb-dingles shared from the unRAID-box to clients who use the dongle. some of them have a floating license, which allows several clients to have the software installed, but just one (or the amount of licenses) to run simultaneously. +1 Link to comment
f3dora Posted September 20, 2016 Share Posted September 20, 2016 +1 would be interested as well! Link to comment
ljm42 Posted September 21, 2016 Share Posted September 21, 2016 I'm not sure why I need this but it is pretty cool technology. The VirtualHere server is really easy to start, just ssh to your box and follow these instructions: https://www.virtualhere.com/usb_server_software You can install the Windows client from here: https://www.virtualhere.com/usb_client_software I started the Windows client and it immediately connected to the server. However... it is dangerous By default, it lets you take over unRAID's flash drive(!) which requires a reboot to fix (if you plan to test this, I'd recommend stopping the array first). It also lets you take over the UPS, which means unRAID loses access to it. From the Windows client you have the ability to right click on devices and "ignore" them. That adds an entry in the config.ini file on the server, so from then on those devices won't be available across the network. So it is fairly easy to solve this manually. Unfortunately, the Linux client: https://www.virtualhere.com/usb_client_software won't run because unRAID doesn't have the vhci_hcd module built-in. This means an unRAID plugin can't use the client API to modify the VirtualHere server: https://www.virtualhere.com/client_api it would have to modify the config.ini instead: https://www.virtualhere.com/configuration_faq If someone does create a plugin for the server, it should do a few things automatically: * Give the VirtualHere server the same name as the unRAID system * Ignore the unRAID boot drive, the UPS, and probably the "Virtual Keyboard and Mouse" * Ignore any USB drive that is part of the array or that has been mounted by Unassigned Devices Link to comment
virtualhere Posted September 21, 2016 Share Posted September 21, 2016 You guys are welcome to create a plugin for VirtualHere if you want as you already know more about the config of unraid than i do. Regarding the server name you can right click on the server in the virtualhere client and select "Rename..." and then type in $HOSTNAME$ and it will use the hostname as its name from then on. Or you can just add this line to the server config.ini ServerName=$HOSTNAME$ Regarding licensing, virtualhere is free to use for one device at a time, if you need more at once consider purchasing a license. Also regarding server configuration, if you cant use the client_api you can actually just set all the configuration directly in the config.ini file which is equivalent. Just make sure the server is not running when you do this. Regards, Michael VirtualHere Pty. Ltd. Link to comment
dockerstarter Posted September 28, 2017 Share Posted September 28, 2017 Hello, i want to use VirtualHere to be able to connect my optical usb drive to a docker container. With this setup i would be able to use backup software/files from optical drives directly from my server in combination with web client software. The way in want to reach this: - Docker container with backup software/access to files on optical drives over ip -> - web client software for accessing docker container with backup software-> - virtualhere CLIENT installed in docker container-> - virtualhere server used/installed on laptop or computer ideally would be support from virtualhere for internal usb optical drives for example from laptop built in optical drives. Link to comment
tbrasser Posted November 16, 2017 Share Posted November 16, 2017 +1 I want to connect a Z-wave USB stick to my Home-Assistant Docker. Right now I'm running Home-Assistant on a raspberrypi 3 because the z-wave usb stick needs to be at a certain location for my z-wave network to function properly. However the rpi3 is slow and I'd love to put back my Home-Assistant on my unRAID server. I came here after googling how to modprobe vhci-hcd, because I was trying to follow this guide:https://community.home-assistant.io/t/rpi-as-z-wave-zigbee-over-ip-server-for-hass/23006 I don't know whether VirtualHere is better than this method. But I thought I'd paste it here because maybe putting the kernel module USB Virtual Host Controller Interface in unRAID is a good idea? If I can get the same result via VirtualHere then that's also perfect ofcourse. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.