summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-11-16 02:43:07 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-11-16 02:43:07 +0000
commit454756b926dd4f1f09db9d07adb4883cd65921ce (patch)
treed88b8d731b84391e550ad20cca0bd79c11218d59 /etc/inc
parentf438eed4b3c60f9dc5985a1fa430cc26816fc52d (diff)
downloadpfsense-454756b926dd4f1f09db9d07adb4883cd65921ce.zip
pfsense-454756b926dd4f1f09db9d07adb4883cd65921ce.tar.gz
MFC 7677
Fix wpa_supplicant startup issue and fix macaddress filtering backend function (ticket 684).
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/interfaces.inc10
1 files changed, 5 insertions, 5 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 5432e22..45b6063 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -561,16 +561,16 @@ function interfaces_wireless_configure($if, $wlcfg) {
if (isset($wlcfg['wpa']['enable'])) {
$wpa .= <<<EOD
-ctrl_interface={$g['varrun_path']}/hostapd
+ctrl_interface={$g['varrun_path']}/wpa_supplicant
ctrl_interface_group=0
ap_scan=1
#fast_reauth=1
network={
-ssid={$wlcfg['ssid']}
-scan_ssid=2
+ssid="{$wlcfg['ssid']}"
+scan_ssid=1
priority=5
key_mgmt={$wlcfg['wpa']['wpa_key_mgmt']}
-psk={$wlcfg['wpa']['passphrase']}
+psk="{$wlcfg['wpa']['passphrase']}"
pairwise={$wlcfg['wpa']['wpa_pairwise']}
group={$wlcfg['wpa']['wpa_pairwise']}
}
@@ -656,7 +656,7 @@ EOD;
if (isset($wlcfg['wpa']['enable'])) {
if ($wlcfg['mode'] == bss)
- mwexec("$wpa_supplicant -i {$if} -c {$g['varetc_path']}/wpa_supplicant_{$if}.conf");
+ mwexec("$wpa_supplicant -B -i {$if} -c {$g['varetc_path']}/wpa_supplicant_{$if}.conf");
if ($wlcfg['mode'] == hostap)
mwexec("$hostapd -B {$g['varetc_path']}/hostapd_{$if}.conf");
}
OpenPOWER on IntegriCloud