1.设置Hostednetwork
@echo off
title Enabled Hostednetwork
netsh wlan set hostednetwork mode=allow ssid=test123 key=abcdefg1
echo Please set your ICS then run the hot-start.bat
pause
2.设置无线网络连接的internet 连接共享
3. 开启Hostednetwork
@echo off
title Start Hostednetwork
netsh wlan start hostednetwork
pause
开启后手机或别的电脑设备就能连接新虚拟出来的WiFi热点了
下面的步骤4和5为辅助使用
4.停止Hostednetwork
@echo off
title Stop Hostednetwork
netsh wlan stop hostednetwork
pause
5.取消hostednetwork
@echo off
title Disabled Hostednetwork
netsh wlan set hostednetwork mode=disallow
pause
时间: 2024-10-17 12:29:37