Setting up a network between linux VirtualBox and Windows 7 - windows

I have a Windows 7 machine with an installation of Linux in VirtualBox. I need to setup a network connection between the two.
Are there some tutorials on how I can achieve that?

Try this manual:
https://www.virtualbox.org/manual/ch06.html
It is a dedicated manual written by VirtualBox, and should explain the Virtual Networking functionality to you clearly.

Related

SocketCAN over Ethernet

I am going to try to explain our scenario briefly.
We want to setup a simulation environment for our system running on Ubuntu so that we can use it together with our Windows based simulation tool suite. Currently we are running Ubuntu in a virtual machine using VirtualBox on a Windows host. In Ubuntu we use SocketCAN and we would like to continue to do so but instead of using real CAN hardware somehow setup CAN communication over Ethernet to the Windows host.
I am new to CAN on Linux but I have been reading about SocketCAN and was wondering if we could use virtual can (vcan) somehow?
I appreciate any help clarifying if, and if so, how SocketCAN over Ethernet could be achieved.
You can use socketcand. This is a daemon, that is running on the host, where you have you CAN interface (vcan or real can). The only thing you need to implement is the TCP based API in your Windows software.

Operating System Debugging using KGDB tool

I want to learn how to connect original machine with windows 7 and Linux virtual machine for the debugging purpose.
I am having windows 7 as original operating system and one virtual machine with ubuntu operating system.I want to connect them and try to debug using kgdb.
I am new in this so please give me some advise and right path to do this.
Thanks in advance.
BS.
You can start from its manual. You can also check this other guide.

Is it possible to use a virtual machine created for a particular OS in ubuntu in windows as well?

I want to install a virtual machine (say virtual box) on windows to run ubuntu as guest OS. And right now I'm using ubuntu OS.
Can I install ubuntu OS on a virtual machine in ubuntu and can the same virtual machine be used on windows as well? If that is possible, why are there different versions of virtual machines for different OS? I mean, how does it work?
Yes.
Hurry... your question will be frozen soon by the mods here
:) All the best buddy.
Detailed answer here;
https://superuser.com/questions/399105/is-a-vdi-file-for-virtualbox-cross-platform

How to make VirtualBox or VMware (or any other virtualization software) to use a native guest network driver?

I don't know if what I want to achieve is actually feasible or not. I have an RTL8192CE wireless network Mini PCI card, which definitely doesn't work properly on Linux (running Ubuntu 12.04 64-bit (Precise Pangolin)). I have already tried everything I could think of: I downloaded the latest drivers from the Realtek homepage, tried using NDISwrapper with several different sets of Windows drivers, and also tried using generic wireless backports, etc. None of it solved my problem.
It does, on the other hand, work perfectly on Windows... I dual-boot Windows 7 and Ubuntu 12.04, both 64-bit. Apparently, there is a bug in Ubuntu related to this card.
I want to know whether there is a way to use a virtualized Windows installation (Windows XP or Windows 7, preferably not Windows Vista) under my Ubuntu 12.04 64-bit that uses a native Windows driver (since the network card works perfectly in Windows). The virtualization software can be either VirtualBox (prefered), VMware or any other. There isn't any problem if I have to manually configure that by shell scripting or anything similar.
So, to make it clearer, I have a VirtualBox installed in my Ubuntu 12.04 (my host), which I use to run Windows 7 (my guest). I wanted to know whether this virtualized (guest) Windows 7 could have "direct" access to my wireless interface -- such as the dual-booted Windows 7 I have installed, without passing through the Ubuntu drivers.
Apparently I could not achieve that by using VirtualBox's guest additions, could I?
PS: I believe none of VirtualBox's networking modes (NAT, bridged networking, internal networking and host-only networking) would allow me to do that, am I correct? How could I solve that problem?
What you are asking for is called PCI Passthrough in VirtualBox - and it should be considered a very advanced topic. I have experimented with this feature before in VirtualBox and VMWare ESXi (make that vSphere...) and it can be extremely fragile.
I would suggest you spend some time reading the VirtualBox manual section on this (Chapter 9: Advanced Topics), there are some limitations you will want to be aware of as well as just know that this is an area of virtualization that is very young and immature. Off hand, here are some of the rather strict requirements before you can even begin:
Your hardware must have an IOMMU (Intel calls it VT-d, AMD -> AMD-Vi)
Your guest must be configured with hardware assist enabled (VT-x or AMD-V)
Your host Linux kernel must be built to utilize the IOMMU hardware
If your hardware/software meets those rather strict guidelines, give it a shot. What will happen is your guest will be effectively given direct access to your wireless PCI card and it will show up directly as a PCI device to your guest. You will install and use the drivers exactly as you would if Windows were your host operating system instead of your guest.
Reference - Chapter 9: Advanced Topics - PCI Passthrough
https://www.virtualbox.org/manual/ch09.html#pcipassthrough

How to share Ubuntu's XAMPP installation with Windows 7 running on vmWare Workstation within Ubuntu

I am running Ubuntu 10.10 and also Windows 7 under vmWare Workstation within Ubuntu.
My internet connection in vmWare is shared from the host as 'NAT'
I am using XAMPP on Ubuntu for developing sites. I use http://localhost/mysite to open the site under development in Ubuntu.
I wanted to use a similar command to open these sites in the Windows 7 installation under vmWare.
While browsing some of the topics I came to know that it is possible by using some IP of 'NAT'.
I am totally new to Linux and vmWare both. Just migrated to Linux from Windows and need help understanding it in detail.
Kindly help me with the process of How to access these sites in vmWare.
Please help.
VMWare's installer should set up a new network interface on your Ubuntu system, check ifconfig -a to find its IP address.
Make sure your webserver is listening on either 0.0.0.0 OR (127.0.0.1 AND the vmware-interface IP address).
From the Windows system, try typing in http://<vmware-interface-ip>/mysite. Hopefully it'll go. You can check the windows networking control panels to see what the gateway address is, it'll probably match.
I hope this gets it going for you.

Resources