How to configure LAN/DHCP in FreeBSD 9.0-RELEASE

Add to /etc/rc.conf:
Code:
ifconfig_re0="DHCP"

Replace re0 with your wired interface. Look what you have with ifconfig command.
If you have wireless then:

Code:
wlans_iwn0="wlan0"
ifconfig_wlan0="WPA DHCP"

Again replacing iwn0 with whatever you have.

For wireless, you need additional /etc/wpa_supplicant.conf file, where you specify your WPA settings, like so:

Code:
network={
	ssid="YOUR.SSID.HERE"
	psk="YOUR.SUPERSECRET.PASS.HERE"
}

There are many other configurations but you didn't mentioned specifically what you want.
 
  • Thanks
Reactions: ryu
Back
Top