vhusbdarm crashing

Hi,
Just installed vhusbdarm, and it crashes intantly.
Log follows:
Apr 13 22:07:40 abg vhusbdarm[2705]: >>> Starting VirtualHere USB Server v3.6.1 (Built: Apr 10 2018, 18:00:03)<<<
Apr 13 22:07:40 abg vhusbdarm[2705]: Using configuration /etc/config.ini
Apr 13 22:07:40 abg vhusbdarm[2705]: Server licensed to=unlicensed max_devices=1
Apr 13 22:07:40 abg vhusbdarm[2705]: Using large URB's
Apr 13 22:07:40 abg vhusbdarm[2705]: Error starting server
Apr 13 22:07:40 abg vhusbdarm[2705]: >>> Shutdown <<<

Hope you can help !!!

Pi info:
[ 0.000000] Linux version 3.18.11+ (dc4@dc4-XPS13-9333) (gcc version 4.8.3 20140303 (prerelease) (crosstool-NG linaro-1.13.1+bzr2650 - Linaro GCC 2014.03) ) #781 PREEMPT Tue Apr 21 18:02:18 BST 2015
[ 0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[ 0.000000] Machine model: Raspberry Pi Model B Plus

Thanks,

#2

Actually its not crashing, its just not starting :)

Can you try again to start it then post the output of

echo $?

#3

Not crasing that is entirely true :).

Well, as you have it, a night of rest and a wired connection seems to have fixed it, it now runs. I'll try again on wireless later, but at least the issue if any is not with the server, so all good.

By the way in the meantime I set up with a server on windows and the whole thing works peeeeeerfectly. I am quite amazed, since the USB device I'm using is an industrial CANbus monitoring device and it works with NOTHING usually. So many thanks!!!

Best,

#4

Hi,
:(
Server runs fine on rpi with wireless. IP connection works fine to both client and servers. Windows client works fine with a Windows server. But... windows client does not find the rpi hub. I have tried specifying hubs in teh client with no joy.

Before I try reverse connecting, is there an obvious answer I have missed, or an easy diagnostic?

thanks,

#5

Have a look in the client ->USB Hubs->System Messages. That will say why i cannot connect.

#6

Here it is.
Not familiar with the address format required so I may have gotten it wrong. From the windows client machine, I can open file share (samba) with rpi using hostname abg, I can ssh it at 192.168.0.110, I can ping it from cmd windows.. . I have turned off firewall, and every security I can think of...

21:08:01 INFO :Error 'The requested name is valid, but no data of the requested type was found. ' getaddrinfo failed for abg.local:7575
21:08:05 INFO :Error 'The requested name is valid, but no data of the requested type was found. ' getaddrinfo failed for 3thbuisspwbqa7jffsyfig:7575
21:08:11 INFO :Error 'The requested name is valid, but no data of the requested type was found. ' getaddrinfo failed for abg.local:7575
21:08:11 INFO :Could not connect to 192.168.0.110:7575

#7

OK well i think something is not setup on your network correctly. Because 192.168.0.110 doesnt seem to be running the virtualhere server.

#8

Still puzzled. I can't attach a screenshot, can I? I have one where:
a) the client is running and finding the windows server but not rpi server (client window on the left)
b) the server is running on rpi at 192.168.0.110 (two rpi ssh windows on the left...)

rpi and the windows server are literally 5cm apart, connected on the same wireless access point.
I really can't see where i got it wrong, but the network seems to be working fine for windows server, so why can't the client find the rpi one?

Log from client is exactly the same as previous above.
Log from rpi server:
Apr 19 18:46:15 abg vhusbdarm[2502]: >>> Starting VirtualHere USB Server v3.6.1 (Built: Apr 10 2018, 18:00:03)<<<
Apr 19 18:46:15 abg vhusbdarm[2502]: Using configuration /etc/config.ini
Apr 19 18:46:15 abg vhusbdarm[2502]: Server licensed to=unlicensed max_devices=1
Apr 19 18:46:15 abg vhusbdarm[2502]: Using large URB's
Apr 19 18:46:15 abg vhusbdarm[2502]: Listening on all network interfaces at TCP port 7575
Apr 19 18:46:15 abg vhusbdarm[2502]: Found High speed device [0bda:8179] "Realtek#015, 802.11n WLAN NIC" at address 114

Appreciate if there is any way to shed some light?
Thanks!

#9

Ok download putty for your windows machine then telnet to port 192.168.0.110:7575 and see if something appears on the screen.

#10

Thanks for that.
Nothing happens at all then putty times out. By nothing happens I mean the putty window opens, but nothing on it.
I can ssh to it on the same machine, same putty, same network...
I tried telnet on 7575 from a different machine, same results.
Checked all router settings, nothing blocking.
Thanks for the help!

#11

OK you definately have a network issue, i dont know what it could be as i dont know the exact setup. But basically when this sort of thing happens the first thing i do is bring it all back to the defaults.

Reinstall the latest raspbian on your pi, dont make any changes to anything just plug it into your network wget virtualhere and start it then see if the virtualhere client finds it then.

#12

You were right, it was a firewall issue.
Thanks for the help, awesome support ... and product.