ワイヤレスネットワークセットアップウィザード(xpsp2以降)を利用し、
無線の設定をUSBに書き出したり、インポートすることができるの皆様ご存知の
ことと思いますが。
USBに書き出すといろいろなファイルや、フォルダが作成されます。
動作にはフォルダ構成やsetupSNK.exeがルートにないと動作しないようです。
setupSNK.exe <--実行されるファイル と
WSETTING.WFC <--xml記述の設定ファイル となっております。
WSETTING.WFCの内容はWPAPSK TKIPだと
<wirelessProfile xmlns="http://www.microsoft.com/provisioning/WirelessProfile/2004">
<config>
<configId>002803BC-3AA7-4A00-BF8D-F299398758DF</configId>
<configAuthorId>0B4E59B8-8317-46B2-B8C2-C46850162E6C</configAuthorId>
<configAuthor>Microsoft Wireless Network Setup Wizard</configAuthor>
</config>
<ssid xml:space="preserve">SSIDです</ssid>
<connectionType>ESS</connectionType>
<channel2Dot4>0</channel2Dot4>
<channel5Dot0>0</channel5Dot0>
<primaryProfile>
<authentication>WPAPSK</authentication>
<encryption>TKIP</encryption>
<networkKey xml:space="preserve">ネットワークキー</networkKey>
<keyProvidedAutomatically>0</keyProvidedAutomatically>
<ieee802Dot1xEnabled>0</ieee802Dot1xEnabled>
</primaryProfile>
</wirelessProfile>
WEP オープンだと
<wirelessProfile xmlns="http://www.microsoft.com/provisioning/WirelessProfile/2004">
<config>
<configId>002803BC-3AA7-4A00-BF8D-F299398758DF</configId>
<configAuthorId>0B4E59B8-8317-46B2-B8C2-C46850162E6C</configAuthorId>
<configAuthor>Microsoft Wireless Network Setup Wizard</configAuthor>
</config>
<ssid xml:space="preserve">SSIDです</ssid>
<connectionType>ESS</connectionType>
<channel2Dot4>0</channel2Dot4>
<channel5Dot0>0</channel5Dot0>
<primaryProfile>
<authentication>open</authentication>
<encryption>WEP</encryption>
<networkKey xml:space="preserve">ネットワークキー</networkKey>
<keyProvidedAutomatically>0</keyProvidedAutomatically>
<ieee802Dot1xEnabled>0</ieee802Dot1xEnabled>
</primaryProfile>
</wirelessProfile>
こんな感じですWEPでオープンの時は<authentication>は小文字でopenじゃないと読み込めませんでした。
あとsetupSNKはルートにないと動かないので、XP用7用の2つを1つのUSBに
用意にフォルダわけしてそのフォルダを、subst z: フォルダパス
で、ドライブとしてマウントすれば行けるかも
無線の設定をUSBに書き出したり、インポートすることができるの皆様ご存知の
ことと思いますが。
USBに書き出すといろいろなファイルや、フォルダが作成されます。
動作にはフォルダ構成やsetupSNK.exeがルートにないと動作しないようです。
setupSNK.exe <--実行されるファイル と
WSETTING.WFC <--xml記述の設定ファイル となっております。
WSETTING.WFCの内容はWPAPSK TKIPだと
<wirelessProfile xmlns="http://www.microsoft.com/provisioning/WirelessProfile/2004">
<config>
<configId>002803BC-3AA7-4A00-BF8D-F299398758DF</configId>
<configAuthorId>0B4E59B8-8317-46B2-B8C2-C46850162E6C</configAuthorId>
<configAuthor>Microsoft Wireless Network Setup Wizard</configAuthor>
</config>
<ssid xml:space="preserve">SSIDです</ssid>
<connectionType>ESS</connectionType>
<channel2Dot4>0</channel2Dot4>
<channel5Dot0>0</channel5Dot0>
<primaryProfile>
<authentication>WPAPSK</authentication>
<encryption>TKIP</encryption>
<networkKey xml:space="preserve">ネットワークキー</networkKey>
<keyProvidedAutomatically>0</keyProvidedAutomatically>
<ieee802Dot1xEnabled>0</ieee802Dot1xEnabled>
</primaryProfile>
</wirelessProfile>
WEP オープンだと
<wirelessProfile xmlns="http://www.microsoft.com/provisioning/WirelessProfile/2004">
<config>
<configId>002803BC-3AA7-4A00-BF8D-F299398758DF</configId>
<configAuthorId>0B4E59B8-8317-46B2-B8C2-C46850162E6C</configAuthorId>
<configAuthor>Microsoft Wireless Network Setup Wizard</configAuthor>
</config>
<ssid xml:space="preserve">SSIDです</ssid>
<connectionType>ESS</connectionType>
<channel2Dot4>0</channel2Dot4>
<channel5Dot0>0</channel5Dot0>
<primaryProfile>
<authentication>open</authentication>
<encryption>WEP</encryption>
<networkKey xml:space="preserve">ネットワークキー</networkKey>
<keyProvidedAutomatically>0</keyProvidedAutomatically>
<ieee802Dot1xEnabled>0</ieee802Dot1xEnabled>
</primaryProfile>
</wirelessProfile>
こんな感じですWEPでオープンの時は<authentication>は小文字でopenじゃないと読み込めませんでした。
あとsetupSNKはルートにないと動かないので、XP用7用の2つを1つのUSBに
用意にフォルダわけしてそのフォルダを、subst z: フォルダパス
で、ドライブとしてマウントすれば行けるかも