VirtualHere on TP-Link WR703n with OpenWrt

Hi,

did anyone already have success to install Virtualhere on a TP-Link WR703n with OpenWrt?
After success with a raspi, I wanted to test this with this little compact router with integrated wifi-interface

First, I do not know which package is the right one.
And then, I only had success on my raspi because of the very detailed and helpful OEM-FAQ. I am linux beginner, and very thankful for those step by step instructions.

I tried the same steps as for the rasp, using the armel-softfloat-package.
But without the sudo prefix.
I could download to temp, and make chmod, but on moving to /usr/bin, i got a "no space left" :-(

#2

That router uses a MIPS soft float, download that version.

With routers when you reboot you usually need to copy over the binary again to wherever it will fit. So just run it from temp each time.

Hi Michael,
ok. With my little linux knowledge I did now this:

cd ..
cd tmp
wget http://www.virtualhere.com/sites/default/files/usbserver/vhusbdmipssf
wget http://www.virtualhere.com/sites/default/files/usbserver/scripts/vhusbd…
chmod +x ./vhusbdmipssf
chmod +x ./vhusbdpin
./vhusbdmipssf

Then he tells me, VirtualHere USB Server is running...press ^C to stop
And wow, i see an attached USB-Stick on my windows-pc.
The intended USB-device (arduino) is not working. Maybe I will have to install additional driver.

Basicly working.
But this is only a temporarely work.

There are a few more questions:
- Is it possible to save the files in the flash?
- how can i make the software start automatically?
- is this [./vhusbdmipssf] the right way to start the USB-Server?

here is the result of df:
Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 640 208 432 33% /
/dev/root 2304 2304 0 100% /rom
tmpfs 14428 4268 10160 30% /tmp
/dev/mtdblock3 640 208 432 33% /overlay
overlayfs:/overlay 640 208 432 33% /
tmpfs 512 0 512 0% /dev

Sorry to ask such basic stuff, but I am a windows-user with poor linux experience.

Hi,
I have checked the size of the VirualHere-Server binary. It is nearly 4MB (3906kB). With a router-flash-memory of 4MB, there will be no chance to get it with the OpenWrt in the Flash.
Or is it possible to make the server smaller?

#7

Greetings..

I have similar problem on NETGEAR WNR3500L.
I log in to router through SSH, then I enter following:

wget http://www.virtualhere.com/sites/default/files/usbserver/vhusbdmipsel
chmod +x ./vhusbdmipsel
./vhusbdmipsel -b

Server is running and appears in Windows Client with connected USB devices, but I can not "Use" any device. Also devices list is not updating.

Sorry for the posting in the probably wrong thread.

#9

Feb 20 21:12:13 unknown user.info vhusbdmipsel[2032]: >>> Starting VirtualHere USB Server v2.7.4 (Built: Feb 17 2016, 21:53:12)<<<
Feb 20 21:12:13 unknown user.info vhusbdmipsel[2032]: Using configuration /tmp/home/root/config.ini
Feb 20 21:12:13 unknown user.info vhusbdmipsel[2032]: Server licensed to=unlicensed max_devices=1
Feb 20 21:12:13 unknown user.info vhusbdmipsel[2032]: Using small URB's
Feb 20 21:12:13 unknown user.debug vhusbdmipsel[2032]: TCPServer starting...
Feb 20 21:12:13 unknown user.info vhusbdmipsel[2032]: Listening on all network interfaces at port 7575
Feb 20 21:12:13 unknown user.info vhusbdmipsel[2032]: Found High speed device [12d1:1506] "HUAWEI MOBILE, HUAWEI_MOBILE" at address 111
Feb 20 21:12:13 unknown user.debug vhusbdmipsel[2032]: Warning, could not open device product file /sys/bus/usb/devices/1-1.3/product, error 2 (No such file or directory)
Feb 20 21:12:13 unknown user.info vhusbdmipsel[2032]: Found High speed device [046d:081b] "0x046d, 0x081b" at address 113
Feb 20 21:12:14 unknown user.debug vhusbdmipsel[2032]: 192.168.1.2 connected
Feb 20 21:12:14 unknown user.info vhusbdmipsel[2032]: Callback: ^WVirtualHere USB Sharing^F_vhusb^D_tcp^Elocal Name Registered
Feb 20 21:12:17 unknown user.debug vhusbdmipsel[2032]: 192.168.1.2 connected
Feb 20 22:12:24 unknown user.info kernel: usb 1-1.3: reset high speed USB device using ehci_hcd and address 4
Feb 20 21:14:03 unknown user.info vhusbdmipsel[2032]: Connection 1 remotely disconnected gracefully (rx msg size)
Feb 20 21:14:15 unknown user.info vhusbdmipsel[2032]: Connection 1 successfully removed (reason:timeout)
Feb 20 21:14:25 unknown user.debug vhusbdmipsel[2032]: 192.168.1.2 connected

Clicked "Use" on Windows VirtualHere Client, then restarted Client and there is no devices at all.

"0x046d, 0x081b" - USB webcam Logitech C310 and it works perfect with VirtualHere Server on Raspberry Pi.

#10

Look like you have a kernel bug that drops the Ethernet on your router when the shared device is reset. What kernel are you running?

#11

Linux unknown 2.6.22.19 #13 Fri Oct 9 11:55:20 CEST 2015 mips GNU/Linux

Tomato by Shibby

I know, I need to install OpenWRT instead