WindowsIoTCoreからCNS
#buspi
https://gyazo.com/1c75a55c49ee04616558bc1c58f64934
CNS3に繋ごうとしたが・・・
code:command
netsh wlan add profile filename=C:\Data\Users\DefaultAccount\Documents\cns3.xml
Profile format error 0x0: The operation was successful.
Illegal operation attempted on a registry key that has been marked for deletion.
code:command
netsh wlan show plofile
The following command was not found: wlan show plofile.
code:command
netsh wlan connect name=CNS3
There is no profile "CNS3" assigned to the specified interface.
最初のコマンドがsuccessと言いつつ失敗していたようだ。
cns3.xmlを修正して登録できたが接続できない:
code:command - Run as DefaultAccount
netsh wlan add profile filename=C:\Data\Users\DefaultAccount\Documents\cns3.xml
Profile CNS3 is added on interface Wi-Fi.
code:command - Run as DefaultAccount
netsh wlan connect name=CNS3
The network specified by profile "CNS3" is not available to connect.
CNS3は見限ってCNS2で:
code:command - Run as DefaultAccount
netsh wlan add profile filename=C:\Data\Users\DefaultAccount\Documents\cns2.xml
Profile CNS2 is added on interface Wi-Fi.
CNS2はGUIで繋げられるようになった。
コツはここを冷静に見て以下の設定することだった
ブロードキャストなし
認証はopen
暗号化はnone
(ITCはwebに明記していないがCNS2はOpen 802.11 authenticationのようだ)
参考
Apps > File Explorer > Documents にアップロード
code:cns2.xml
<?xml version="1.0" encoding="US-ASCII"?>
<WLANProfile xmlns="http://www.microsoft.com/networking/WLAN/profile/v1">
<name>CNS2</name>
<SSIDConfig>
<SSID>
<name>CNS2</name>
</SSID>
<nonBroadcast>true</nonBroadcast>
</SSIDConfig>
<connectionType>ESS</connectionType>
<connectionMode>auto</connectionMode>
<MSM>
<security>
<authEncryption>
<authentication>open</authentication>
<encryption>none</encryption>
<useOneX>false</useOneX>
</authEncryption>
</security>
</MSM>
</WLANProfile>