No Internet Connection

Greetings,

Recently I've install FreeBSD on a virtual machine (VirtualBox), during installing the connection to internet its working but after to install the xfce4 desktop enviorement and reboot the machine, the connection dosen´t works.

The /etc/rc.conf has the next settings:

ifconfig_em0="DHCP"
ifconfig_em0_ipv6="inet6 accept_rtadv"

I appreciate to much the help.
 
Is there an actual em0 interface in the VM? Maybe you changed the adapter type? Is the virtual network bridged, NAT or local?
 
With VMs it's possible the virtual interface changes to a different type, you can configure this in the VM's settings. On the FreeBSD side you can use ifconfig_DEFAULT="DHCP" for example. This is useful if you regularly change the virtual adapter type to Intel or virtio-net, ifconfig_DEFAULT will 'automagically' pick the first ethernet adapter it can find.
 
Back
Top