HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=4)
-   -   Network Settings for a VirtualBox on MacBookPro (http://www.howtoforge.com/forums/showthread.php?t=53335)

MacGru 7th July 2011 14:22

Network Settings for a VirtualBox on MacBookPro
 
Hi,

I'm trying to setup a Debian vm using VirtualBox on my MacBook Pro. I only have Airport setup on my Mac.

I've installed the core debian (CD1) and with GRUB boot master. So, I start the vbox by pressing F12 and login as root. ifconfig only shows the lo.

What should I do in order to give this vbox a static ip or a dhcp ip and be able to access internet so i can use apt-get to install lamp stack. Please help.

timaaarrreee 29th July 2011 13:43

stop the machine first, open vm settings and check that the adapter 1 is enabled and bridged to your Airport and you mac is connected.
Mines
Code:

En1: Airport
try start the machine then. if you still have no connection
as root try this:

Code:

#ifconfig eth0 up
#dhclient eth0 (if you have a DHCP router that is)



All times are GMT +2. The time now is 07:19.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.