hello everybody, i am making a project in which i want to use a raspberry connected to a hotspot huawei e5220, i have a no-ip service run on the raspi, but this hotspot do not allow open ports such as 7575 that is for virtualhere. I have read about Reverse Client and i want to know how can i setup to connect using my no-ip service.
You can run virtualhere on another port, e.g 80, just edit tcpPort setting in the server config.ini (https://www.virtualhere.com/configuration_faq) then specify the server ip and the port in the client and it will connect via port 80.
If you want to use
ReverseClients, your client needs a static ip or dydns. If your client has a static ip, then you can use
ReverseClients by setting the ip address or name of the client in the ReverseClients setting. In your client, right click USB Hubs -> Specify Hubs -> Firewall/NAT support and check the checkbox there. Start the server and the server will automatically connect to the client and the client will be listening.
<p>ok thanks, but it hasn't worked yet, on the system messages said:<br />
18:21:45 INFO :connect 192.168.8.100:80 select timeout<br />
18:21:48 INFO :Server ping timeout, shutting down connection 1...<br />
18:22:08 ERROR :Data stream corruption, compressedSize=1347703880, uncompressedSize=825110831<br />
18:22:15 INFO :connect 192.168.8.100:80 select timeout
Seems like your connection may be dropping then reconnecting then dropping etc... this is why you are getting a (socket) select timeout.
What USB device are you going to use over 4g? Keep in mind 4g can have high latency
this is the correct config??
No I dont think thats correct:
You should be able to reach out from the Server through port 7573 but not from the client into the server over port 7575.
Therefore you just need to edit the ReverseClient and put
munoip.noip.me is your client
That will then connect from your remote server over port 7573 to the client which is listening.
It wont work if the server is in trial version and not purchased.
thanks man, finally i can connect using reverseclient configuration, but mi pc is connect and suddenly the connection shutdown.
the message said:19:56:44 INFO :VirtualHere 2.4.8 starting (Compiled: Oct 7 2014 18:55:14)
19:56:44 INFO :Using config at C:\Users\Francisco Guzman\AppData\Roaming\vhui.ini
19:56:44 INFO :IPC available at \\.\pipe\vhclient
19:56:44 INFO :Auto-find on
19:56:44 INFO :ReverseLookupService listening on port 7573
19:56:58 INFO :Drivers are up-to-date
19:56:58 INFO :Connected to the VirtualHere Driver (Version 2)
19:58:05 INFO :recv msg size failed, error 0 (la operación se completó correctamente.)
19:58:07 INFO :msg_size send failed (0), error 0 (la operación se completó correctamente.)
19:58:25 INFO :Server ping timeout, shutting down connection 0...
what can i do??
22:42:12 INFO :Server ping timeout, shutting down connection 1...
22:49:03 INFO :In file ../src/msw/window.cpp at line 577: 'SetFocus' failed with error 0x00000057 (el parámetro no es correcto.).
On the server can you grep vhusbd /var/log/syslog and see what it says
it says alot of connection, and timeout. maybe my hotspot is the problem. for example
Nov 4 04:23:53 raspberrypi vhusbdpin: 126.96.36.199 connected
Nov 4 04:24:15 raspberrypi vhusbdpin: Warning, receiving data from connection 3failed, Resource temporarily unavailable (11)
Nov 4 04:24:20 raspberrypi vhusbdpin: Removing connection 3 (timeout)...
Nov 4 04:24:20 raspberrypi vhusbdpin: Connection 3 successfully removed
Nov 4 04:24:24 raspberrypi vhusbdpin: 188.8.131.52 connected
Nov 4 04:24:30 raspberrypi vhusbdpin: Warning, receiving data from connection 4failed, Resource temporarily unavailable (11)
Nov 4 04:24:36 raspberrypi vhusbdpin: Removing connection 4 (timeout)...
Nov 4 04:24:36 raspberrypi vhusbdpin: Connection 4 successfully removed
Nov 4 04:24:40 raspberrypi vhusbdpin: 184.108.40.206 connected
Nov 4 04:25:22 raspberrypi vhusbdpin: Device 112 BOUND to connection 5
Nov 4 04:26:20 raspberrypi vhusbdpin: Device 112 UNBOUND from connection 5
Nov 4 04:26:20 raspberrypi kernel: [ 262.390725] usb 1-1.2: usbfs: process 4534 (vhusbdpin) did not claim interface 0 before use
Nov 4 04:26:32 raspberrypi vhusbdpin: Warning, failed to send MSG_SIZE to connection 5, Broken pipe (32)
should my connection is the problem?? because in system massage of my client says
13:43:15 INFO :Server ping timeout, shutting down connection 1...
13:50:05 INFO :recv msg size failed, error 0 (la operación se completó correctamente.)
13:50:08 INFO :msg_size send failed (0), error 0 (la operación se completó correctamente.)
13:50:26 INFO :Server ping timeout, shutting down connection 0...
My connection could be the problem?*
Yes, try this getting it working locally over a lan first and see if its stable (it should be) then move to using 4G. Those errors show its having trouble keeping a stable tcp connection open..
using my Lan its works perfectly, and with my 3g hotspot i get the trouble, so maybe i will look for kind of hotspot to make the project.