I just got FreeBSD up and running with an XFCE desktop on an old Gateway laptop. It works great, except the wireless setup is scaring me. I can connect to my home WiFi fine most of the time, but I'm concerned about other WiFi that I will need to connect to away from home.
I understand that I can use wpa_supplicant to determine what WiFi signal to connect to. But when I enable wpa_supplicant in my rc.conf file I get this message and no network connection.
wlan0: Ethernet address: xx:xx:xx:xx:xx:xx
starting wpa_supplicant.
starting dhclient.
wlan0: no link ...................... giving up
etc/rc.d/dhclient: WARNING: failed to start dhclient
/boot/loader.conf
if_bwi_loads="YES"
kern.vty=vt
/etc/rc.conf
hostname="name"
sshd_enable="YES"
# Set dumpdev to "AUTO" to enable crash dumps, "NO"to disable"
dumpdev="AUTO"
wpa_supplicant_enable="YES"
wlans_bwi0="wlan0"
ifconfig_wlan0="WPA SYNCDHCP"
hald_enable="YES"
dbus_enable="YES"
/etc/wpa_supplicant.conf
network={
ssid="myID"
}
When I run 'ifconfig', under bwi0 and wlan0, it shows a status of no carrier.
Although, If I use this in my rc.conf instead.
ifconfig_wlan0="SYNCDHCP"
dhclient will give me this on startup
wlan0: ....link state change to UP
got link
bwiwi: need multicast multicast update callback
dhclient will usually go ahead and connect with my home WiFi and give me an IP address.
If anybody can help, I would greatly appreciate it! I've been working for hours straight and I am stumped.