WPA2-Personal 設定檔範例
此範例配置檔會使用預先共用金鑰進行網路驗證。 金鑰會與用戶端和存取點共用。 此範例配置檔已設定為使用受保護存取 2 的安全性,並在個人模式中執行(Wi-FiWPA2-Personal)。 進階加密標準 (AES) 加密類型用於加密。
已安裝無線 LAN 服務的 Windows 7 和 Windows Server 2008 R2: Windows 7 和 Windows Server 2008 R2 上實作變更,並已安裝無線 LAN 服務,以優化無線網路效能。 當無線 LAN 設定檔中未設定這個專案時,autoSwitch 的預設設定 已變更。 在已安裝無線 LAN 服務的 Windows 7 和 Windows Server 2008 R2 上,預設設定會變更為 “false”。 Windows Server 2008 和 Windows Vista 上的預設設定為 “true”。 如需詳細資訊,請參閱 autoSwitch 架構元素描述。
Windows XP 搭配 SP3 以及適用於 Windows XP SP2 的無線 LAN API: 會忽略 名稱的 WLANProfile 元素的 子系。 配置檔名稱,儲存在配置檔存放區中,系由 SSID 元素的 名稱 子系衍生而來。
<?xml version="1.0" encoding="US-ASCII"?>
<WLANProfile xmlns="https://www.microsoft.com/networking/WLAN/profile/v1">
<name>SampleWPA2PSK</name>
<SSIDConfig>
<SSID>
<name>SampleWPA2PSK</name>
</SSID>
</SSIDConfig>
<connectionType>ESS</connectionType>
<connectionMode>auto</connectionMode>
<autoSwitch>false</autoSwitch>
<MSM>
<security>
<authEncryption>
<authentication>WPA2PSK</authentication>
<encryption>AES</encryption>
<useOneX>false</useOneX>
</authEncryption>
</security>
</MSM>
</WLANProfile>
共用金鑰已從這個範例設定檔中省略。 如果您嘗試使用此範例設定檔來連線到網路,系統會提示您輸入共用密鑰。 您可以將 sharedKey 子元素新增至 安全性 元素,緊接在 authEncryption 元素之後,以避免出現此提示。
下列代碼片段顯示一個包含未加密金鑰的 sharedKey 元素。 您必須先將批註 <!-- insert key here -->
取代為實際的未加密金鑰,才能在配置檔中使用此代碼段。
<sharedKey>
<keyType>passPhrase</keyType>
<protected>false</protected>
<keyMaterial> <!-- insert key here --> </keyMaterial>
</sharedKey>
相關主題