Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Wlan in Gentoo as guest in Virtualbox[SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
transsib
l33t
l33t


Joined: 26 Jul 2003
Posts: 630

PostPosted: Thu Sep 13, 2012 2:00 pm    Post subject: Wlan in Gentoo as guest in Virtualbox[SOLVED] Reply with quote

Could anyone please direct me to instructions on how to set up wlan0
in Gentoo as a guest system in Virtualbox.
Do I need the driver for my wlan network adapter plus its ucode in
/lib/firmware?
How do I edit /etc/conf.d/net for my wlan0 when eth0 with fixed IP is already defined
and wlan0 uses dhcp?


Last edited by transsib on Sat Sep 15, 2012 7:04 am; edited 1 time in total
Back to top
View user's profile Send private message
dataking
Tux's lil' helper
Tux's lil' helper


Joined: 20 Apr 2005
Posts: 126

PostPosted: Thu Sep 13, 2012 8:07 pm    Post subject: Reply with quote

Have you tried the "net-setup" command? I have gentoo in a VirtualBox where the host system is connected via wifi only. I set the NIC in VB as a bridged connection and made sure the "e1000" module is loaded at boot. It just works. No need for a wlan0 interface.
_________________
-= the D@7@k|n& =-
Back to top
View user's profile Send private message
transsib
l33t
l33t


Joined: 26 Jul 2003
Posts: 630

PostPosted: Fri Sep 14, 2012 4:33 am    Post subject: Reply with quote

No wlan0 connection is good news. I´ll look into the bridge for the wlan. VB has the bridge for ethß and it connects to the internet just fine.
Gentoo has the e1000e module loaded.
I try the net-setup command.
But do I need the necessery drivers for my wlan adapter in the kernel?
Because the kernel does not see my wlan adapter, at all. Even lspci or dmesg don´t
know nothing about it; lspci just sees the ethernet adapter, twice btw.
Back to top
View user's profile Send private message
The Doctor
Veteran
Veteran


Joined: 27 Jul 2010
Posts: 1382

PostPosted: Fri Sep 14, 2012 4:37 am    Post subject: Reply with quote

That is because virtual box will never use it. Your host handles all the hardware and Gentoo as the guest will only ever see the same virtual ethernet card it sees now. It does the same thing with all the hardware. There is no direct access to the host hardware so you just need the virtualbox drivers. Google for "gentoo virtualbox" and you should get all the info you need.
_________________
First things first, but not necessarily in that order.
Back to top
View user's profile Send private message
solamour
Guru
Guru


Joined: 21 Dec 2004
Posts: 491
Location: San Diego, CA

PostPosted: Fri Sep 14, 2012 5:31 am    Post subject: Reply with quote

I think the guest would see wlan0 if you plug in a USB WiFi dongle. It's rather handy when you need to run, say, BackTrack and all you have is a Windows box.
__
sol
Back to top
View user's profile Send private message
transsib
l33t
l33t


Joined: 26 Jul 2003
Posts: 630

PostPosted: Sat Sep 15, 2012 7:06 am    Post subject: Reply with quote

It was my head that did not fit through: it´s fixed. I have NAT set in VB and HostOnly as adapters 1 and 2
and Gentoo takes the connection that´s established.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum