diff options
author | Scott Ullrich <sullrich@ScottUllrichImac.local> | 2010-08-11 13:44:34 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@ScottUllrichImac.local> | 2010-08-11 13:44:51 -0400 |
commit | c9e7d30d3edac8b5165e9ebace80f1828cb556e3 (patch) | |
tree | a0e2a870281e4aa916c7d33c63e74d3825cf7aa8 /etc | |
parent | 191b00d9633770222558bffdbc3559063e62b9f6 (diff) | |
download | pfsense-c9e7d30d3edac8b5165e9ebace80f1828cb556e3.zip pfsense-c9e7d30d3edac8b5165e9ebace80f1828cb556e3.tar.gz |
Add 8021.x preauth (rsn_preauth)
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/interfaces.inc | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index d10f322..dc24f6b 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -2119,12 +2119,18 @@ wpa_group_rekey={$wlcfg['wpa']['wpa_group_rekey']} wpa_gmk_rekey={$wlcfg['wpa']['wpa_gmk_rekey']} wpa_strict_rekey={$wlcfg['wpa']['wpa_strict_rekey']} {$wpa_passphrase} -#Enable the next lines for preauth when roaming. Interface = wired or wireless interface talking to the AP you want to roam from/to -#rsn_preauth=1 -#rsn_preauth_interfaces=eth0 EOD; +if (isset($wlcfg['wpa']['rsn_preauth'])) { + $wpa .= <<<EOD +# Enable the next lines for preauth when roaming. Interface = wired or wireless interface talking to the AP you want to roam from/to +rsn_preauth=1 +rsn_preauth_interfaces={$if} + +EOD; + +} if($wlcfg['auth_server_addr'] && $wlcfg['auth_server_shared_secret']) { $auth_server_port = "1812"; if($wlcfg['auth_server_port']) @@ -3280,4 +3286,4 @@ function setup_pppoe_reset_file($pppif, $iface="") { unlink_if_exists($cron_file); } -?> +?>
\ No newline at end of file |