Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Ive been trying to run Slackware in Virtual Box. But my problem, aside from my english, is that i cant seem to be able to bring my wireless network over to my virtual pc.
My PC is a Lenovo Ideapad S10-3.
Im currently running another operating system, but my aim is to be able to run Slackware with everything working.
1. Define a virtual interface (the default is probably Am79C973; any of the supported virtual network adapters should work).
2. Use NAT mode (again, there are many choices which should work, but use the default: NAT).
3. Configure port forwarding on any service you would like to access from outside your VM (i.e. any services you want to "export" from the VM).
4. Configure your virtual interface like you normally would configure any interface.
Voila! Done.
It should be fairly straightforward. Again: choose defaults whenever possible (wait until you've got everything working before you start experimenting with other alternatives).
VM's interact with the host. You don't use wireless on the VM. It has a virtual NIC. That virtual nic connects through a Virtual router to the host network.
Ok. First of all: Thanks for quick and informative replies.
As far as I understand the Virtual box takes my wireless card, "translates" it and presents it to my virtual machine as one of the cards listed as adapter types. This means my virtual Slackware will not recognize the wireless card as the same type as is in the laptop.
This again mean I have to install the kernel drivers, if they`re not already present, to the cards listed in Virtual box adapter types.
I know this probably isn`t technically correct, but have I managed to get the basic hang of it?
As far as I understand the Virtual box takes my wireless card, "translates" it and presents it to my virtual machine as one of the cards listed as adapter types. This means my virtual Slackware will not recognize the wireless card as the same type as is in the laptop.
Yeah, that is right. One of the main ideas behind virtual machines is that they don't have any interaction with anything real.
Quote:
This again mean I have to install the kernel drivers, if they`re not already present, to the cards listed in Virtual box adapter types.
That's right. My experience is that the virtual cards are generic enough that almost any modern distro has the right drivers right out of the box.
Quote:
I know this probably isn`t technically correct, but have I managed to get the basic hang of it?
As far as I understand the Virtual box takes my wireless card, "translates" it and presents it to my virtual machine as one of the cards listed as adapter types.
Basically correct. In reality, there are TWO network adapters: your "real" adapter (which happens to be a wireless NIC), and your "virtual" NIC.
Quote:
This means my virtual Slackware will not recognize the wireless card as the same type as is in the laptop.
Yes, because your virtual NIC is a *separate* NIC.
Quote:
have I managed to get the basic hang of it?
Yes, indeed
PS:
This is also basically what Jefro was trying to say. But the relationship between your virtual NIC and your physical interface can come in any of several "flavors":
a) NAT mode (this uses a virtual router, like Jefro said)
b) Bridged mode (in this mode, your virtual NIC is on the same subnet as your physical NIC. Here, you have a virtual "bridge" instead of a virtual "router")
c) Host-only (here, there is *no* network communication between your virtual NIC and "the real world")
d) Etc (there are other variations, depending on your specific configuration and specific needs)
The host OS (probably WinBloze) passes wireless networks to the guest via a virtual Ethernet device. Therefore, it's eth0 that you need to configure in the guest OS, not any wireless network device as would be the case with a host OS.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.