VirtualHere over WLan on raspberry

11 posts / 0 new
Last post
brutzler
VirtualHere over WLan on raspberry

Hi,

having a closer look on the OEM-Faq, I was able to get virtualhere running on a raspi in very short time :-)
Now I have fully access to my arduino.
Thanks Michael !!!

But the next step would be, to get wireless connection.
Can anybody tell me:
- is this is possible?
- can i take every usb-wifi adapter, or do i have to pay attention and buy a specific one?
- what changes do i have to make on the rasp-pi?

Thanks for any reply in advance
regards/brutzler

Michael
Hi brutzler, yes is

Hi brutzler, yes is definately possible, a lot of people do that, take a look here http://elinux.org/RPi_USB_Wi-Fi_Adapters

Also this shop is selling virtualhere preinstalled on a hub (pi) here http://www.wctek.com/shop/home/31-xyzhub.html which has wifi.

brutzler
Hi Michael,

Hi Michael,

thx for quick answer.
Ok will have a look on the Adapters-page.

When the WiFi-adapter is working proper, do I have to make some changes on the VirtualHere-Server installation on the Raspi, to change the "binding" from LAN to WLan-interface?
Hope this was understandable?!

Michael
You may need to use the

You may need to use the "IgnoredDevices" setting https://www.virtualhere.com/configuration_faq then restart your pi.

Regarding connecting via wifi, im not sure i always test with a cable but seaching google finds this http://www.howtogeek.com/167425/how-to-setup-wi-fi-on-your-raspberry-pi-...

brutzler
OK,

OK,

In the meantime I have found in my office a WiFi-Stick with a Ralink RT5370 Chipset. It was recognized from the Pi-OS, and shown with a yellow icon in the VirtualHere-Client.

Ignored Devices:
You want to tell me, that i shall configure the server, that it does not route the Wifi-Stick over Ethernet, right?

brutzler
I figured out the vendor and

I figured out the vendor and product id.
But, (as a linux newbie) I am really a little bit confused how to edit the config.ini. There are some questions, that make me fail:
- Where do i find the file on a RaspberryPi with wheezy?
- How can I stop the server to edit the file?

Michael
.

- config.ini is probably in /home/pi

- you stop the server either with ctrl+c if its running in the foreground. Or if its running the the background you need to send the TERM signal to the process id.

To get the process id:

ps -ef | grep vh

That will show it in the second column then

sudo kill <pid>

Then use vi to edit the config.ini

brutzler
Hi,

Hi,

found in the meantime in the www the following idea:
- sudo /etc/init.d/vhusbdpin stop
- sudo nano /root/config.ini
- sudo /etc/init.d/vhusbdpin start

Think, this is the script to start and stop the server?

After this, the entry of the Wifi-adapter dissapeared in the VirtualHere Client.
Now (tomorrow) I will go on setting up the wifi-connection.

Thanks for your help so far.

Michael
yes that will work also

yes that will work also

brutzler
Hi,

Hi,
got it working :-)))

Arduino -> (USB) -> RasPi -> (WiFi) -> Router -> (LAN) -> W7-PC -> (virtual COM-Port) -> Arduino IDE

Thats great stuff. Will have to figure out the next days, how stable the connection will stay.

Thx for your great help.

alrees
Please help

Hi,
I am trying to do the same thing you are. I can connect to a flash drive connected to the raspberry pi.
When I plug in my Arduino the client can see it but applications on my windows 7 desktop cannot connect
to the Arduino.
How did you sole this problem?
Any help you can give would be most appreciated. My objective is to run my CNC from a remote desktop.
Thank you,
Lionel

Log in or register to post comments