Page 1 of 1

How to monitor VirtualBox setup?

Posted: Wed Jun 06, 2012 6:20 am
by Zagen30
I decided to go ahead and set up a VM for my SMP folding. I'm using VirtualBox 4.1.16, running 64-bit Ubuntu 12.04 inside Win7 64-bit.

Since networking is really not my thing, I'm having trouble figuring out how to get my Windows client and HFM to see the VM's client (and no, I'm not going to switch this machine fully to Linux). Let's say my desktop's IP address is 192.1.2.3, while the address that ifconfig is providing in the VM is 10.0.2.5; VB is attached to NAT for its network access. I'm guessing that 10.0.2.5 is some sort of proxy or something, and that it's really communicating over the 192 address since that's what the computer's actually getting. I've tried adding a client in FAHControl and HFM using both the 192 and 10 addresses, making sure the password and port are correct, but neither one has turned up anything valid.

Anyone know what I need to do in this case?

Re: How to monitor VirtualBox setup?

Posted: Wed Jun 06, 2012 6:41 am
by ChelseaOilman
If you can't see the linux F@H folder in Windows Explorer, neither can HFM.NET. You need to set up Samba on the linux VM. Right click on the F@H folder in the VM and share the folder to get started.

Re: How to monitor VirtualBox setup?

Posted: Wed Jun 06, 2012 2:57 pm
by Zagen30
Sorry, I forgot to mention these are v7 clients (knew I forgot something), so don't I need a direct connection instead of just pointing it to the work directory?

Re: How to monitor VirtualBox setup?

Posted: Wed Jun 06, 2012 3:32 pm
by patonb
You need to set up sharing like Chelsea said, once you get that going you just point the hfm to it via the setup share name from vbox, or the 192 ip address.

Re: How to monitor VirtualBox setup?

Posted: Wed Jun 06, 2012 4:02 pm
by parkut
I *think* you need to set up "Bridged" connection to get the virtual machine on
the same network as your Windows box. I don't have access to a virtualbox setup
so I can't test thls.

Check documentation here -- http://www.virtualbox.org/manual/ch06.html

Re: How to monitor VirtualBox setup?

Posted: Wed Jun 06, 2012 4:33 pm
by bruce
I can't test it either, but "bridged" sounds right.

Setting up HFM is one objective worth pursuing. Monitoring and controlling it directly with FAHControl is an independent possibility that you might want to pursue. If a telnet connection can penetrate the firewall/NAT/etc. barrier, then a single copy of FAHControl can work with both the Windows copy of FAHClient (if you have one) and the Linux copy of FAHClient.

Running both would be useful if Windows has a GPU that you want to use along with a Linux SMP slot. (...or you can run two copies of FAHControl if you prefer.)

Re: How to monitor VirtualBox setup?

Posted: Wed Jun 06, 2012 4:39 pm
by Nathan_P
Bruce and parkut are correct, networking needs to be setup in bridged mode as per the vbox set up guide.

Once this is set up, configure folder sharing in the usual way on ubuntu. Then check that you can access the shared folder from windows by using windows explorer.

you can then add your client to hfm and you should be good to go.

My vm is set up but not currently running as i got better PPD in windows. Let me know if you are still struggling after following the above and i'll set mine back up.

edit:- removed an incorrect statement

Re: How to monitor VirtualBox setup?

Posted: Wed Jun 06, 2012 5:37 pm
by patonb
With Ubuntu you need to setup samba too, which can be a pain, though there is a good how to run ubuntu guide out in the interwebz that helped me a lot.

Re: How to monitor VirtualBox setup?

Posted: Wed Jun 06, 2012 6:33 pm
by Zagen30
Thank you all, I'll get on it when I get home from work.

Re: How to monitor VirtualBox setup?

Posted: Thu Jun 07, 2012 3:06 am
by Zagen30
Update: All it took was switching to Bridged mode and a reboot of the VM so it could get a new IP address (probably could have just disconnected/reconnected it without a reboot) and then pointing the Windows client and HFM to that address (plus password and port number). I did not need to install Samba or do anything about folder sharing.