How it works (complex way)

Post a reply

In an effort to prevent automatic submissions, we require that you complete the following challenge.
:D :) :( :o :shock: :? 8) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen:

BBCode is OFF
Smilies are ON

Topic review

Expand view Topic review: How it works (complex way)

Re: How it works

by Frankieg60 » Tue Feb 26, 2019 10:59 am

I managed to redirect a Tacx ANT+ usb stick with VirtualHere. Didn't work with RDP.

Re: How it works

by Frankieg60 » Mon Feb 25, 2019 5:22 pm

Got it working!! I was on version 5.6.24 because it was free. Now upgrade to 5.8.46 ans it works.

Thanks anyway.

Code: Select all

| Archive:  /tmp/
|   inflating: runme
|   inflating: vhusbdarm
[            gm] [   13.241974] +------------------------
[            gm] [   13.242353] Run '/bin/sh /runme2unix', log '/tmp/extra.out', env '', pid ''.
[          pfac] [   13.242448] Run /bin/sh /runme2unix.
[          pfac] [   13.242631] Ok, PID 679.
[            gm] [   13.244065] Unpack /bootmedia/packages/pi2-alsa.
[            gm] [   13.244299] Remount /bootmedia for writing.
[SYSLOG] <14>Jan 11 00:00:10 vhusbdarm[681]: >>> Starting VirtualHere USB Server v3.8.2 (Built: Feb  7 2019, 16:07:25)<<<

Re: How it works

by akatik » Mon Feb 25, 2019 6:18 am

Send me your to

Re: How it works

by Frankieg60 » Sun Feb 24, 2019 9:56 pm

When i try this on a rpi3 i can't get it to work. I get permission denied in terminal log. See below.

Code: Select all

| Archive:  /tmp/
|   inflating: runme
|   inflating: vhusbdarm
[            gm] [   12.540563] +------------------------
[            gm] [   12.540821] Run '/bin/sh /runme', log '/tmp/extra.out', env '', pid ''.
[          pfac] [   12.540950] Run /bin/sh /runme.
[          pfac] [   12.541186] Ok, PID 657.
[            gm] [   12.546023] Unpack /bootmedia/packages/pi2-alsa.
[         EXTRA] [   12.547308] chmod: vhusbdarm
: No such file or directory
[         EXTRA] [   12.549007] /runme: line 3: /vhusbdarm: Permission denied
[         EXTRA] [   12.549739] /runme: line 4: 
: not found

How it works (complex way)

by akatik » Wed Jan 16, 2019 11:57 am

VirtualHere allows to redirect one USB device from each thin client for free.

VirtualHere license doesn't allow to add their server into WTware distributive. So you'll have to download it and prepare.

1. On the page "Linux USB Server" download "Generic VirtualHere USB Server Builds" for needed architecture. WTware works on three architectures: i386, AMD64, ARM.

All Raspberry Pi versions are ARM architecture. So for Raspberry you are to download VirtualHere USB Server for Linux (ARM), file vhusbdarm.

Common x86-compatible computer may be i386 or AMD64. Boot WTware on needed computer, place mouse in the right bottom corner and look at popup window. If near WTware version you see UEFI word, it's 64-bit WTware, and you are to download VirtualHere USB Server for Linux (AMD64), file vhusbdx86_64.

If there's no UEFI word near WTware version and logo, then WTware for i386 architecture works on this computer. You are to download VirtualHere USB Server for Linux (i386), file vhusbdi386.

2. Write script for running. Text file must be named runme without extension. File contents for different architectures:


Code: Select all

chmod +x vhusbdi386
/vhusbdi386 -b

Code: Select all

chmod +x vhusbdx86_64
/vhusbdx86_64 -b

Code: Select all

chmod +x vhusbdarm
/vhusbdarm -b

3. File with VirtualHere server and running script runme (both files without extensions!) pack to zip archive.

4. Copy zip archive to C:\ProgramData\WTware\Everyone directory for terminals that download configs by network. Or to configs/ directory on boot disk for terminal, that store configs on local disk, this could be done by network using terminal web-interface.

5. In terminal configuration file specify:

Code: Select all
That's all. Reboot terminal, find in log messages from vhusbi386 (or vhusbdx86_64, or vhusbdarm). If all is correct, in log you should see such line:

Code: Select all

[SYSLOG] <14>Jul 31 07:02:57 vhusbdi386[827]: >>> Starting VirtualHere USB Server v3.8.1 (Built: Dec 14 2018, 14:36:02)<<<
On Windows computer run VirtualHere USB Client from the page and configure as in manufacturer manual.

We managed to redirect USB-COM bridge, but failed to redirect USB camera. I.e. nothing special, RDP USB redirection gives almost the same results.

If you'll manage to redirect devices, that you failed to redirect using RDP - write in this topic!

Here are ready zip-archives with servers of 3.8.1 version for different architectures:
It's better not to use them, but pack your own with fresh server's version, as described above.