Revision 5949124c
Added by Scott Ullrich over 15 years ago
usr/local/www/interfaces.php | ||
---|---|---|
228 | 228 |
$pconfig['apbridge_enable'] = isset($wancfg['wireless']['apbridge']['enable']); |
229 | 229 |
$pconfig['authmode'] = $wancfg['wireless']['authmode']; |
230 | 230 |
$pconfig['hidessid_enable'] = isset($wancfg['wireless']['hidessid']['enable']); |
231 |
$pconfig['auth_server_addr'] = $wancfg['wireless']['auth_server_addr']; |
|
232 |
$pconfig['auth_server_port'] = $wancfg['wireless']['auth_server_port']; |
|
233 |
$pconfig['auth_server_shared_secret'] = $wancfg['wireless']['auth_server_shared_secret']; |
|
231 | 234 |
if (is_array($wancfg['wireless']['wpa'])) { |
232 | 235 |
$pconfig['debug_mode'] = $wancfg['wireless']['wpa']['debug_mode']; |
233 | 236 |
$pconfig['macaddr_acl'] = $wancfg['wireless']['wpa']['macaddr_acl']; |
... | ... | |
703 | 706 |
$wancfg['wireless']['wpa']['wpa_gmk_rekey'] = $_POST['wpa_gmk_rekey']; |
704 | 707 |
$wancfg['wireless']['wpa']['passphrase'] = $_POST['passphrase']; |
705 | 708 |
$wancfg['wireless']['wpa']['ext_wpa_sw'] = $_POST['ext_wpa_sw']; |
709 |
$wancfg['wireless']['auth_server_addr'] = $_POST['auth_server_addr']; |
|
710 |
$wancfg['wireless']['auth_server_port'] = $_POST['auth_server_port']; |
|
711 |
$wancfg['wireless']['auth_server_shared_secret'] = $_POST['auth_server_shared_secret']; |
|
706 | 712 |
if ($_POST['hidessid_enable'] == "yes") |
707 | 713 |
$wancfg['wireless']['hidessid']['enable'] = true; |
708 | 714 |
else if (isset($wancfg['wireless']['hidessid']['enable'])) |
... | ... | |
1490 | 1496 |
</td> |
1491 | 1497 |
</tr> |
1492 | 1498 |
<tr> |
1493 |
<td valign="top" class="vncell">Enable IEEE802.1X</td> |
|
1499 |
<td valign="top" class="vncell">Enable IEEE802.1X Authentication</td>
|
|
1494 | 1500 |
<td class="vtable"> |
1495 | 1501 |
<input name="ieee8021x" type="checkbox" value="yes" class="formfld" id="ieee8021x" <? if ($pconfig['ieee8021x']) echo "checked";?>> |
1496 | 1502 |
<br/>Setting this option will enable 802.1x authentication. |
1497 | 1503 |
</td> |
1498 | 1504 |
</tr> |
1505 |
<tr> |
|
1506 |
<td valign="top" class="vncell">802.1X Authentication Server IP Address</td> |
|
1507 |
<td class="vtable"> |
|
1508 |
<input name="auth_server_addr" id="auth_server_addr" type="text" class="formfld unknown" size="66" value="<?=htmlspecialchars($pconfig['auth_server_addr']);?>"> |
|
1509 |
<br/>Enter the IP address of the 802.1X Authentication Server. This is commonly a Radius server (FreeRadius, Internet Authentication Services, etc.) |
|
1510 |
</td> |
|
1511 |
</tr> |
|
1512 |
<tr> |
|
1513 |
<td valign="top" class="vncell">802.1X Authentication Server Port</td> |
|
1514 |
<td class="vtable"> |
|
1515 |
<input name="auth_server_port" id="auth_server_port" type="text" class="formfld unknown" size="66" value="<?=htmlspecialchars($pconfig['auth_server_port']);?>"> |
|
1516 |
<br/>Leave blank for the default 1812 port. |
|
1517 |
</td> |
|
1518 |
</tr> |
|
1519 |
<tr> |
|
1520 |
<td valign="top" class="vncell">802.1X Authentication Server Shared Secret</td> |
|
1521 |
<td class="vtable"> |
|
1522 |
<input name="auth_server_shared_secret" id="auth_server_shared_secret" type="text" class="formfld unknown" size="66" value="<?=htmlspecialchars($pconfig['auth_server_shared_secret']);?>"> |
|
1523 |
<br/> |
|
1524 |
</td> |
|
1525 |
</tr> |
|
1499 | 1526 |
<? endif; ?> |
1500 | 1527 |
<tr> |
1501 | 1528 |
<td colspan="2" valign="top" height="16"></td> |
Also available in: Unified diff
Adding 802.1X Authentication support