Created
August 23, 2015 04:10
-
-
Save yanoshi/81da19c3dee289e81a46 to your computer and use it in GitHub Desktop.
Windows 8以降でAPを作るスクリプト
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
echo 管理者権限で実行せよ。中止はCtrl+Cで。 | |
echo ソフトAP完成後、コントロールパネルより別途ネットワークの共有設定が必要。以下のリンク等を参照せよ。 | |
echo http://nw-knowledge.blogspot.jp/2014/02/win8-8.1-softap-virtualwifi.html | |
SET /P SSID=Enter_SSID: | |
SET /P KEY=Enter_KEY: | |
netsh wlan set hostednetwork mode=allow | |
netsh wlan set hostednetwork ssid=%SSID% key=%KEY% | |
netsh wlan start hostednetwork | |
echo ソフトAPモード開始 | |
echo なにかキーを押すとソフトAPモードを停止する | |
echo SSIDは%SSID%、キーは%KEY% | |
pause > NUL | |
netsh wlan stop hostednetwork | |
echo ソフトAPを停止した。なにかキーを押すと終了する。 | |
pause >NUL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment