I'm getting some errors when i boot my machine related to wpa_supplicant, seems like it's not able to associate with my AP automatically. I'm connecting to a WPA AP using a pass phrase
Error at boot
/etc/rc.conf
/boot/load.conf
etc/wpa_supplicant.conf
I have searched around a lot, and haven't quiet found a solution to my problem.
Also, i would like to add that when i do run wpa_supplicant manually, my connection to the AP is stable, but i seem to get a lot of packet loss and timeouts.
Any help appreciated
Bit
Error at boot
Code:
Feb 18 07:32:11 pandora kernel: /etc/rc.d/wpa_supplicant: WARNING: /etc/wpa_supplicant.conf is not readable.
Feb 18 07:32:11 pandora kernel: /etc/rc.d/wpa_supplicant: WARNING: failed precmd routine for wpa_supplicant
Feb 18 07:32:11 pandora kernel: ifconfig:
Feb 18 07:32:11 pandora kernel: create: bad value
/etc/rc.conf
Code:
wlans_iwn0="wlan0"
ifconfig_wlan0="ssid xxxx WPA DHCP"
/boot/load.conf
Code:
legal.intel_iwn.license_ack=1
if_iwn_load="YES"
if_iwnfw_load="YES"
wlan_wep_load="YES"
wlan_ccmp_load="YES"
wlan_tkip_load="YES"
etc/wpa_supplicant.conf
Code:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
network={
ssid="xxxx"
proto=RSN WPA
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP
psk="xxxx"
}
I have searched around a lot, and haven't quiet found a solution to my problem.
Also, i would like to add that when i do run wpa_supplicant manually, my connection to the AP is stable, but i seem to get a lot of packet loss and timeouts.
Code:
pandora# wpa_supplicant -D bsd -i wlan0 -c /etc/wpa_supplpicant.conf
CTRL-EVENT-SCAN-RESULTS
Trying to associate with xx:xx:xx:xx:xx:xx (SSID='xxxx' freq=2462 MHz)
Associated with xx:xx:xx:xx:xx:xx
WPA: Key negotiation completed with xx:xx:xx:xx:xx:xx [PTK=TKIP GTK=TKIP]
CTRL-EVENT-CONNECTED - Connection to xx:xx:xx:xx:xx:xx completed (auth) [id=0 id_str=]
Any help appreciated
Bit