win 无线热点setup

本文介绍了如何在Windows系统中创建无线热点、查看和管理无线网络配置,包括查看无线账号、搜索附近网络、设置网络优先级等。在Windows 8及更高版本中,通过Netsh命令行工具可以实现无线网络的创建、启用、禁用和密码更改,以及启用Internet连接共享以允许ad hoc网络上的设备访问互联网。


本脚本用于(setup.bat):

(1)建立无线热点

(2)查看保存的无线账号(密码)[高版本的win默认不支持图形化界面查看密码]

(3)搜索附近可用的无线账号


@echo off
cls
:MENU
echo ============================================
echo                 SET UP WIFI HOT 
echo ============================================
echo 1.clear history
echo 2.set hostednetwork
echo 3.start hostednetwork
echo 4.stop hostednetwork
echo 5.show saved ssid info(pwd)
echo 6.show ssid available
echo.
set /p OPTION=Please Chose Option:
if %OPTION%==1 goto clear_history
if %OPTION%==2 goto set_hostednetwork 
if %OPTION%==3 goto start_hostednetwork
if %OPTION%==4 goto stop_hostednetwork
if %OPTION%==5 goto show_saved_ssid_pwd
if %OPTION%==6 goto show_ssid_available

:clear_history
%=================================================%
cls
goto MENU
%=================================================%

:set_hostednetwork
%=================================================%
echo "set hostednetwork"
netsh wlan start hostednetwork
netsh wlan set hostednetwork mode=allow ssid=zhouat_wifi key=12341234 keyusage=persistent
if errorlevel 1 goto MENU
echo "ssid=zhouat_wifi key=12341234"
ncpa.cpl  %open net share center%
goto MENU
%=================================================%

:start_hostednetwork
%=================================================%
echo "start hostednetwork"
netsh wlan start hostednetwork
goto MENU
%=================================================%

:stop_hostednetwork
%=================================================%
echo "stop hostednetwork"
netsh wlan set hostednetwork mode=disallow
netsh wlan stop hostednetwork
goto MENU
%=================================================%

:show_saved_ssid_pwd
%=================================================%
echo "netsh wlan show profile zxs key=clear"
netsh wlan show profile 
goto MENU
%=================================================%

:show_ssid_available
%=================================================%
echo "netsh wlan show networks"
netsh wlan show networks 
goto MENU
%=================================================%



Show the list of wireless profiles: 
netsh wlan show profiles

Retrieve the stored key (WPA, WEP, etc) of a profile: 
netsh wlan show profiles name=[profile name] key=clear

Delete a wireless profile: 
netsh wlan delete profile name=[profile name]

Set a network’s priority: 
netsh wlan set profileorder name=[profile name]interface=[interface_name] priority=1

Stop automatically connecting to a network: 
netsh wlan set profileparameter name=[profile name] connectionmode=manual

Though you can’t actually make changes to the network profiles themselves, you can export a desired profile, make changes to the XML file, and then import the profile back onto the same machine or another one.

In Windows 8, Microsoft also removed the ability to save/export the network profiles from the GUI in the Wireless Network Properties box under the Connection tab. However, it’s still possible via Netsh commands:

Export a wireless network profile: 
netsh wlan export profile name=[profile name]

Import a network profile:
netsh wlan add profile filename=[path_and_filename.xml] interface=[interface_name]

Creating an Ad Hoc Wireless Connection

Starting with Windows 8, Microsoft also removed the ability to create ad hoc or peer-to-peer wireless networks. You won’t find the "Set up a wireless ad hoc option" under "Set up a new connection or network" anymore in the GUI. However, you can utilize what Microsoft calls Wireless Hosted Networks via Netsh commands:

Configure the Wireless Hosted Network: 
netsh wlan set hostednetwork mode=allow ssid=[your_virtual_network_name] key=[your_network_password]

Enable the Wireless Hosted Network: 
netsh wlan start hostednetwork

Disable the Wireless Hosted Network: 
netsh wlan stop hostednetwork

Retrieve the Wireless Hosted Network details: 
netsh wlan show hostednetwork

Change the password: 
netsh wlan refresh hostednetwork YourNewNetworkPassword

Before users on the ad hoc network can access the Internet via the Wireless Hosted Network, you must enable Internet Connection Sharing (ICS). Open the Network and Sharing Center, open the Network Connections, right-click the network adapter that’s connected to the Internet, and select Properties.

Then select the Sharing tab, check Allow other network users to connect through this computer’s Internet connection, and then choose the Wireless Hosted Network Connection from the drop-down listbox, and click OK

内容概要:本文档详细介绍了基于直驱永磁同步发电机(PMSG)的1.5MW风力发电系统在Simulink环境下的建模与仿真全过程,涵盖了风力机空气动力学模型、PMSG电磁特性建模、不可控整流与逆变电路、直流环节、空间矢量脉宽调制(SVPWM)技术以及核心控制策略的设计。重点实现了最大功率点跟踪(MPPT)控制以提升风能捕获效率,并构建了电压外环与电流内环协同工作的双闭环控制系统,通过仿真验证了系统在不同风速条件下稳定运行的能力及动态响应性能。; 适合人群:适用于具备电力系统、电机控制理论基础及Simulink仿真操作经验的研究生、科研人员和从事新能源发电系统开发的工程技术人员;特别适合正在进行风电系统建模、控制算法研究或完成相关毕业设计的专业人士。; 使用场景及目标:①深入理解直驱式PMSG风力发电系统的整体架构与工作机理;②掌握从物理部件建模到控制策略实现的完整Simulink仿真流程;③学习并复现MPPT控制、双闭环控制等关键技术方案;④为后续开展低电压穿越、并网稳定性分析、故障诊断等高级课题提供可靠的仿真平台支撑。; 阅读建议:建议结合Matlab/Simulink软件动手实践,逐模块搭建模型,重点关注各控制环节的参数设计与调试方法,同时可参照文中提供的其他风电相关资源进行拓展学习与对比分析。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值