help need dhcp easy

Hi,

I installed FreeBSD 11 and no connections with pkg or when I compile a port, I'm surprised because I checked ifconfig and ethernet is active ??

Thank you to help me in advance.
 
type ifconfig . What is the handle of your internet connection? One might be "lo0"; the other "em0" or "ue0", etc. The one that is not "lo0" is your internet. Type ifconfig em0 up; dhclient em0 into the command line (replacing "em0" with your relevant handle). Does this start your connection? If so you need to add something to your rc.conf so you'll have internet after every reboot. Let me know.
 
Add this to /etc/rc.conf:
Code:
ifconfig_DEFAULT="SYNCDHCP"
That should make sure it's starting DHCP on whatever interface you have.
 
Back
Top