Not picking up 2nd vm - virtual-machine

Hi good day cut a long story short I am trying to run two vms on two different pcs as my main pc can t handle them both running at the same time do my current setup is
Dell(main pc) running parrot os in vm
Crappy laptop running durp n stink in vm
Both on same Wi-Fi both share internet connection via shared connection under Wi-Fi options shared but the problem I am facing is when I do any scan on network e.g. Netdiscover nmap etc i can pick up everything else on the network
Phones xbox the laptop running Windows 7 but I can't actually pick up the Ubuntu os that's running in vm
I forgot to mention they are running virtual box latest version and both are setup to allow vm under network settings plus both set to bridged

Related

Is it possible to have different dev VM environments and access graphics card?

What I want to do on my laptop:
Develop and Run on windows with Visual Studio (CUDA, TensorRT,...)
Develop and Run on Linux (CUDA, TensorRT,...)
Environment to edit videos, photoshop,...
Play games
Environment for general use (web browser, outlook, word,...)
Environment to test applications
Possibly connecting some external GPU to offload the work (cuda,...) from my laptop's graphics card. Since I'm new to this, I haven't researched enough to understand how it can be done. But, this is in my plans.
What I did and reaserched:
As a start, I created VM environements in my host Windows OS using VirtualBox for #1 and #2, but I cannot run inside VM, since it doesn't provide access to graphics card. Even if it did, I still need somehow to switch to a different environment when I want to play games for example.
I probably need hypervisor type 1 if I want to have environment to play games? But, in this case I'll need a second laptop to access it, right?
Is this even possible to do on one laptop (I have strong laptop with enough RAM and SSD)
Graphics cards (GPU) are PCI devices, so they can be passed to VMs with PCI Passthrough. A device is not accessible to the host during passthrough. Hot plug can be used to reattach a graphics card to a different VM or the host without rebooting.
I don't know if a Windows host supports GPU passthrough (maybe you need Windows Server), but Linux host and Windows guest seems to work.
Setting this up is easier if you have a second GPU that remains attached to the host or another computer to control the host during GPU passthrough, for example via SSH.

Sync system time between Windows PC and Linux Device

I am using a Windows laptop running Windows 10 to ssh, using putty, into an Odroid XU4 running Ubuntu 18.04. When the ssh connection is established, I use putty to modify a few files on the Odroid. However, the system time for the Odroid is much different than that of my Windows laptop and the timestamps get really screwed up. There is no internet or RTC backup battery for the Odroid, so the time always resets when it is powered off. Is there a way to set the date and time of my Odroid to that of my Windows computer so the system times match up?

connect camera to virtual machine VMware Workstation 14

I have a paid version of VMware Workstation 14.
I mostly use a few VM's running simultaneously.
I tried to create a VM for editing, including some editing SW (like Adobe's SW). Everything went smooth, until I tried to connect the camera (DSLR) to the VM in order to control it via the PC. But, then the connected camera didn't appear on the VM. It appears only in the host computer.
Is it possible?
If not, does Hyper-V will be more suitable for this (I prefer to find a solution based on VMware, due to it supports well of Linux distro)?
Host PC: Win 10 PRO
VM: Windows 10 PRO
I have a VMWare Workstation 15 Pro on my Windows 10 (Host). I have attached an image showing the 2 easy steps:
VMWare Workstation(15 Pro): Connect Integrated Webcam To Running Guest OS
Power up your Guest OS in VMWare Workstation
Below the Guest OS screen, you will see a bar with hardware shortcuts for the Guest OS
On the bar's right there are icons for "Hard Disk", "Network Adapter", "Mouse"...
Find "Integrated Webcam" > "Connect (Disconnect from Host)"
This will disconnect the integrated cam of your device from your Host OS and connect it to the Guest OS. If you have multiple Guest OS running, you can simply follow the above steps to change the integrated-cam connection to any OS from previously connected Host or Guest OS.
Have you tried looking in the settings of the VM for the setting to connect/disconnect USB devices?
Example:
VM > Removable Devices > Device Name > Connect (Disconnect from host)
Additional information is available in the docs: https://docs.vmware.com/en/VMware-Workstation-Pro/14.0/com.vmware.ws.using.doc/GUID-E003456F-EB94-4B53-9082-293D9617CB5A.html

open vm tools fails to customize guest

I am trying to deploy a cent-os 7 VM on a vcenetr from pyvmomi python library and then before powering on the VM I am trying to setup static IP and DNS for the VM.
VM creation goes fine , but guest customization fails, givimg following error:
**Customization of the guest operating system 'rhel6_64Guest' is not sup
ported in this configuration. Microsoft Vista (TM) and Linux guests with Logical
Volume Manager are supported only for recent ESX host and VMware Tools versions
. Refer to vCenter documentation for supported configurations."
faultCause =
faultMessage = (vmodl.LocalizableMessage) []
uncustomizableGuestOS = 'rhel6_64Guest'
Now this customization problem goes away if the VM is just rebooted once. After that we can do the guest customization.
But this reboot takes around 30 seconds of time and for our case , we need to get VMs up and running faster than this time.
Any body who faces similar problem and has some context on it will be very helpful.
Also I don't understand how rebooting the VM solves this problem.
Please share your thoughts even if you don't have exact solutions .
On further Investigation I found that open-vm-tools does not work until the VM is powered on atleast once.
When Machine is powered on , the HOST system detects the open-vm-tools running on guest OS , and from there on open-vm-tools works.
So open-vm-tools can not be used for initial provisioning as it will just not work at the start up.
Cloud-init is the alternative solution which should be used for initial provisioning.

How can I configure a Client Hyper-V (on Windows 8) to connect to the host and other VMs without a network connection?

I'm trying to develop an interface to an application that doesn't run on Windows 8. Hence, I've created a VM with Windows 7 running the integration service and another service running on the Windows 8 host.
I have three Virtual Network scenarios configured for Hyper-V: Wireless, Shared and Internal. Where Wireless allows all VMs and the host to connect to a wireless network (External), Shared let's the VMs connect through the host via a VPN (Internal) and Internal creates a network within the host where the VMs don't have network access (Private).
When I'm in Wireless (External) mode and there's a wireless network to connect to, everything works fine as if I were testing using to physical PCs on a wireless network. However, today I had a situation where I wasn't connected to a network but still wanted to do some testing and I could not get the VM to see the host and vice-versa. This scenario was quite straight forward to create on VMware which I used before switching to Hyper-V...
Has anyone managed to make Client Hyper-V VMs and the host communicate without a network? Can you guide me how to set it up?
Wireless networking under Windows 8 Hyper V can not communicate with multiple VM the Wireless NIC is assign to only one Hyper V internet connection,
Meaning only one Hyper V can connect to the Internet preventing others from connecting unless you use multiple Nic's Wireless Network Cards or USB Wireless Network.
It is only after you restart or shut down your computer that Hyper-V problems start.
So if you can not connect any of your Hyper VMs then you problem could be due to a shutdown error that Hyper-v in counted Try restarting the whole computer then Hyper- VMs your problem should fix itself.
Might want to try this. I am having similar problems as you and all signs point to this particular solution working, but for me it is not. Might help you, though.
http://blogs.technet.com/b/doxley/archive/2008/07/07/disconnecting-hyper-v.aspx
The solution that DID end up working for me was this:
http://www.elmajdal.net/Win2k8/Enabling_Wireless_Network_For_Hyper_V_Virtual_Machine.aspx