VirtualHere

From Omnia
Jump to navigation Jump to search

VirtualHere

https://www.virtualhere.com/

USB Passthrough - VirtualHere allows USB devices to be used remotely over a network just as if they were locally connected!

Server

https://virtualhere.com/content/usb-servers

Raspberry Pi 3

Raspberry Pi 3 - VirtualHere USB Server Optimized for Pi3 (Cortex-A53 hardware floating with NEON SIMD ARM8 instruction support) - https://virtualhere.com/sites/default/files/usbserver/vhusbdarmpi3

# ssh to your raspberry pi

# wget https://www.virtualhere.com/sites/default/files/usbserver/vhusbdarm
#sudo chmod +x ./vhusbdarm
#sudo mv vhusbdarm /usr/sbin

wget https://virtualhere.com/sites/default/files/usbserver/vhusbdarmpi3
sudo chmod +x ./vhusbdarmpi3
sudo mv vhusbdarmpi3 /usr/sbin
ln -s vhusbdarmpi3 /usr/sbin/vhusbdarm

wget http://www.virtualhere.com/sites/default/files/usbserver/scripts/vhusbdpin
sudo chmod +x ./vhusbdpin
sudo mv vhusbdpin /etc/init.d
sed -i 's#/root/config.ini#/etc/vhusb.conf#g' /etc/init.d/vhusbdpin

sudo update-rc.d vhusbdpin defaults

sudo service vhusbdpin start

# sudo reboot
#sed -i 's#vhusbdarm#vhusbdarmpi3#g' /etc/init.d/vhusbdpin
#sed -i 's#/usr/sbin/#/usr/local/sbin/#g' /etc/init.d/vhusbdpin
#sed -i 's#/root/config.ini#/etc/vhusb.conf#g' /etc/init.d/vhusbdpin
cat > /etc/vhusb.conf << EOF
ServerName=[NAME_OF_PI]
license=[INPUT_YOUR_LICENSE]
EOF
update-rc.d vhusbdpin defaults
systemctl daemon-reload
service vhusbdpin start

Start Script

https://www.virtualhere.com/oem_faq

You need to put a startup script into init.d and set the correct runlevel for booting. To do this, please follow the steps below for the raspberry pi:

   # ssh to your raspberry pi
   wget https://www.virtualhere.com/sites/default/files/usbserver/vhusbdarm
   sudo chmod +x ./vhusbdarm
   sudo mv vhusbdarm /usr/sbin
   wget http://www.virtualhere.com/sites/default/files/usbserver/scripts/vhusbdpin
   sudo chmod +x ./vhusbdpin
   sudo mv vhusbdpin /etc/init.d
   sudo update-rc.d vhusbdpin defaults
   sudo reboot

Client

https://virtualhere.com/usb_client_software