Unix/Linux Go Back    


BSD BSD, sometimes called Berkeley Unix, is a Unix operating system developed by the Computer Systems Research Group of the UC Berkeley.

FreeBSD DHCP wpa_supplicant Wi-Fi Issues

BSD


Tags
solved

Closed    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 07-13-2015
BrentBANKS BrentBANKS is offline
Registered User
 
Join Date: Jul 2013
Last Activity: 14 July 2015, 9:50 PM EDT
Posts: 40
Thanks: 2
Thanked 0 Times in 0 Posts
FreeBSD DHCP wpa_supplicant Wi-Fi Issues

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.


Code:
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

Code:
if_bwi_loads="YES"
kern.vty=vt

/etc/rc.conf

Code:
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

Code:
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.

Code:
ifconfig_wlan0="SYNCDHCP"

dhclient will give me this on startup

Code:
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.Linux

Last edited by BrentBANKS; 07-13-2015 at 09:43 AM..
Sponsored Links
    #2  
Old Unix and Linux 07-14-2015
BrentBANKS BrentBANKS is offline
Registered User
 
Join Date: Jul 2013
Last Activity: 14 July 2015, 9:50 PM EDT
Posts: 40
Thanks: 2
Thanked 0 Times in 0 Posts
I think I had found the issue.
I added this to my /etc/wpa_supplicant.conf

Code:
ctrl_interface=/var/run/wpa_supplicant 
eapol_version=2 
ap_scan=1 
fast_reauth=1 
network={     
     ssid="myID"
     key_mgmt=NONE
}

Sponsored Links
Closed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Resolved: htpasswd issues (-b) on FreeBSD Spetnik UNIX for Dummies Questions & Answers 1 12-24-2009 08:44 PM
FreeBSD - Kernel Queries/Issues drbabbers BSD 3 11-04-2008 03:02 PM
dhcp command in FreeBSD? cosmotron UNIX for Dummies Questions & Answers 1 12-19-2004 02:29 PM
freebsd / dhcp xviddivxoggmp3 IP Networking 1 07-25-2004 10:32 AM
Some FreeBSD issues cbkihong UNIX for Dummies Questions & Answers 16 06-15-2003 02:06 AM



All times are GMT -4. The time now is 05:55 AM.