From 459d63517d9a156e2ed4bd03912477971f44a67d Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Fri, 2 Sep 2005 01:05:02 +0000 Subject: Add HOSTAP WPA support --- etc/inc/interfaces.inc | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) (limited to 'etc') diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 032331e..bcbed62 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -445,6 +445,37 @@ EOD; $ifcargs .= "-mediaopt adhoc mediaopt hostap "; else if (strstr($if, "wi")) $ifcargs .= "-mediaopt ibss mediaopt hostap "; + if (isset($wlcfg['wpa']['enable'])) { +$wpa .= <<