Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Control System (http://www.chiefdelphi.com/forums/forumdisplay.php?f=177)
-   -   Using the driver station in a virtual machine (http://www.chiefdelphi.com/forums/showthread.php?t=126414)

kd8rgp 13-02-2014 18:58

Using the driver station in a virtual machine
 
I am currently having issues with the driver station. I run Linux on all my machines, so I'm running the driver station from a windows 7 VM in Virtualbox. Unfortunately, the driver station is failing to connect to the robot at all. FYI, I am running the VM network in NAT mode, BRIDGED IS NOT AN OPTION.

Mostly, my question is: How do you get the driver station to work through a nat?

irvingc 13-02-2014 19:31

Re: Using the driver station in a virtual machine
 
Quote:

Originally Posted by kd8rgp (Post 1342743)
I am currently having issues with the driver station. I run Linux on all my machines, so I'm running the driver station from a windows 7 VM in Virtualbox. Unfortunately, the driver station is failing to connect to the robot at all. FYI, I am running the VM network in NAT mode, BRIDGED IS NOT AN OPTION.

Mostly, my question is: How do you get the driver station to work through a nat?

You probably can't. The driver station and robot are supposed to be on the same subnet. You might be able to get a 255.255.255.252 subnet mask to work with some wonky NAT settings (robot is 10.XX.XX.2 -> 10.XX.XX.0/30, and DS is .5 or .6 -> 10.XX.XX.4/30), but getting the network configuration just right seems like much more trouble than running it through Wine, finding another laptop (any old laptop will do), or dual-booting.

Nirvash 13-02-2014 19:33

Why is bridged not an option?

kd8rgp 13-02-2014 20:06

Re: Using the driver station in a virtual machine
 
Quote:

Originally Posted by Nirvash (Post 1342762)
Why is bridged not an option?

Kernel Issues

Greg McKaskle 14-02-2014 09:10

Re: Using the driver station in a virtual machine
 
The DS uses UDP for all communication and ICMP for diagnostic pings. The dashboard, if using camera or smart dashboard will use TCP as well.

If your NAT'd address is routable to the subnet of the DS and robot, I'd imagine this will work. But NAT implementations vary quite a lot and you are rather customized here. I hope this isn't what you were going to use for your competition DS.

Greg McKaskle


All times are GMT -5. The time now is 20:12.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi