Network Settings for a VirtualBox on MacBookPro

Discussion in 'Installation/Configuration' started by MacGru, Jul 7, 2011.

  1. MacGru

    MacGru New Member


    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.
  2. timaaarrreee

    timaaarrreee ISPConfig Developer ISPConfig Developer

    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.
    En1: Airport
    try start the machine then. if you still have no connection
    as root try this:

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

Share This Page