Hi Michael,
I am new to VirtualHere after struggling with usbip on a Rasberry for while.
I have started the server on the RasPi and the client i running as a deamon on the client.
I can USE my RasPi device on the client. So far so good.
BUT, how can I verify that the device "exists" on the client computer?
I have tried lsusb and looked in the /dev/, but nothing...
If this works, the Mrs will be very happy (I will probably recieve a gold star from here).
The client is a server that is located in the sleeping room, starts at 5.30 (her problem) and shuts down at 22.00 (my problem) :o)
To this client a weatherstation is connected and it would be very nice to just have the RasPi there.
Best Regards
Gohper
Forgot, I am running Debian
Forgot, I am running Debian Wheesy on the client...
lsusb should show the device.
lsusb should show the device. I am assuming that it is a serial to usb device for the weather station. That would appear as a /dev/ttyUSB0 or similar on the client. Remember that you cannot run the client as a service with a free server, you need to purchase the server. Perhaps this is the problem?
For the moment it is a
For the moment it is a security card device, just as a test, some kind of Wasco Digipass.
Ok, it could be the problem, but when I run it I can list and "USE" it, maybe the license blocking is later on, ie towrds the usb.
I will try to figure out how to run it as non deamon, just to see.
Thanks!
Hmm, how to use the console
Hmm, how to use the console client not as a daemon?
There are some parts missing in the documentation ;)
That is the console client config file option, I guess that i can run it like:
./vhclienti386 --config=/home/virtHere/myconfigfile
But what is the format of the config file?
I can say that, even if there is documentation missing, it looks more promising than the ordinary usbip.
And if this works, I will purchase a server license, that's for sure!
open two terminal sessions.
open two terminal sessions.
In the first one run "sudo ./vhclienti386"
In the second control it like so:
./vhclienti386 -t "LIST"
then
./vhclienti386 -t "USE,4262432142"
etc.
GREAT!
GREAT!
Thank you Michael!
But I did:
./vhclienti386&
./vhclienti386 -t "USE,4262432142"
I will try with the weather station when I arrive home from work, ssh can not switch the cable yet :o)!
But so far like a charm!
Ahhh, like a dream!
Ahhh, like a dream!
The weather station is connected and the pywws can fetch data from it!
Some minor fixing and a license, then the server can move down to the basement!
This is awesome!
But when they have been
But when they have been running for 2-3 hours a message appear:
"socket AF_INET: No file descriptors available"
It still works, but what does it mean?
Ther are many ports open...
Ther are many ports open...
And it increases by two every now and then...
tcp 0 0 0.0.0.0:7573 0.0.0.0:* LISTEN 8221/vhclienti386
udp 0 0 0.0.0.0:58545 0.0.0.0:* 8221/vhclienti386
udp 0 0 0.0.0.0:54470 0.0.0.0:* 8221/vhclienti386
udp 0 0 0.0.0.0:36039 0.0.0.0:* 8221/vhclienti386
udp 0 0 0.0.0.0:33229 0.0.0.0:* 8221/vhclienti386
udp 0 0 0.0.0.0:58465 0.0.0.0:* 8221/vhclienti386
udp 0 0 0.0.0.0:33635 0.0.0.0:* 8221/vhclienti386
udp 0 0 0.0.0.0:49765 0.0.0.0:* 8221/vhclienti386
udp 0 0 0.0.0.0:5353 0.0.0.0:* 8221/vhclienti386
udp 2752 0 0.0.0.0:5353 0.0.0.0:* 8221/vhclienti386
udp 5848 0 0.0.0.0:5353 0.0.0.0:* 8221/vhclienti386
udp 8944 0 0.0.0.0:5353 0.0.0.0:* 8221/vhclienti386
udp 12040 0 0.0.0.0:5353 0.0.0.0:* 8221/vhclienti386
udp 15136 0 0.0.0.0:5353 0.0.0.0:* 8221/vhclienti386
udp 18232 0 0.0.0.0:5353 0.0.0.0:* 8221/vhclienti386
udp 0 0 0.0.0.0:47593 0.0.0.0:* 8221/vhclienti386
udp 21328 0 0.0.0.0:5353 0.0.0.0:* 8221/vhclienti386
udp 24424 0 0.0.0.0:5353 0.0.0.0:* 8221/vhclienti386
udp 27520 0 0.0.0.0:5353 0.0.0.0:* 8221/vhclienti386
udp 30616 0 0.0.0.0:5353 0.0.0.0:* 8221/vhclienti386
udp 0 0 0.0.0.0:53098 0.0.0.0:* 8221/vhclienti386
udp 0 0 0.0.0.0:35061 0.0.0.0:* 8221/vhclienti386
udp 0 0 0.0.0.0:42267 0.0.0.0:* 8221/vhclienti386
UDP port 5353 is use to
UDP port 5353 is used to lookup servers on the network. Seems like there might be a leak in that version of the client... ill take a look...
Maybe this can help you, the
Maybe this can help you, the port usage is increased with two every 30 seconds.
Does this have somthing to do
Does this have somthing to do with this?
AutoRefreshLookupPeriod=30
BTW, It works very nice, so I want to purchase a license, but under point 3 there is something that I should paste.
How can I get this from the shell only client?
Decreasing the value
Decreasing the value
AutoRefreshLookupPeriod=10
gives a decrease of used ports by 2 every 10 seconds, maybe it will give you a hint were to look...
Setting it to zero was not a
Setting it to zero was not a good idea!
It is runnable with 3600 as value (1hour, I guess).
As the weather station is restarted to clear the collected data in the memory once every 24h the client can be restarted at the same time.
For now at least.
Now I have some scripting to do....
Gohper, i have updated the
Gohper, i have updated the client to 2.6.3. the socket leak is fixed in this version as well i added the licensing details via IPC
1. Please download again from my website
2. Run the client in the background or in another shell
sudo ./vhclienti386
2. To get the serial number details:
./vhclienti386 -t "LIST LICENSES"
3. Copy the returned line into the payment page on my website, it will send you a key via email after payment
4. To enter the license:
./vhclienti386 -t "LICENSE SERVER,key"
Where key is replaced with the key in the email5. To confirm type :
./vhclienti386 -t "LIST LICENSES"
and it should now show unlimitedNice!
Nice!
I will do this right away!
Like a charm!
Like a charm!