局域网唤醒 外网无法唤醒

As an IT manager, there are a lot of things you can do which directly impact your company’s bottom line. While the most obvious are direct hardware and software costs, an often overlooked aspect is energy/electricity consumption by computer systems. While servers need to be available 24/7, desktop systems only need to be available when the respective user needs it or for scheduled maintenance tasks. The rest of the time (usually more than 50% of the time), the system can stay in low power mode which reduces power usage, hence cost.

作为IT经理,您可以做很多事情,这些事情都会直接影响公司的利润。 虽然最明显的是直接的硬件和软件成本,但经常被忽视的一个方面是计算机系统的能源/电力消耗。 尽管服务器需要24/7全天候可用,但桌面系统仅在相应用户需要它或用于计划的维护任务时才需要可用。 在其余时间(通常超过50%的时间)中,系统可以保持在低功耗模式,这会减少功耗,从而降低成本。

While Windows systems have options to wake themselves to run scheduled tasks, if users access their systems remotely (i.e. Remote Web Workplace) there is not an easy way for the system to be awakened on demand. The solution is implementing a Wake on LAN system such as the free ASP.NET Wake on LAN Control Panel. Through this, client computers can be brought out of standby with the simple click of a button. This makes is an ideal solution for finding a balance between availability and power savings.

尽管Windows系统具有唤醒自己以运行计划任务的选项,但是如果用户远程访问其系统(即Remote Web Workplace),则没有一种简便的方法可以按需唤醒系统。 该解决方案正在实施Wake on LAN系统,例如免费的ASP.NET Wake on LAN控制面板。 这样,只需单击一下按钮,即可使客户端计算机退出待机状态。 这是在可用性和节能之间找到平衡的理想解决方案。

要求 (Requirements)

  • SQL 2005/2008 (Express or Full) must be installed in your network. Out of the box, the ASP.NET Wake on LAN Control Panel is configured to use SQL Express with user instances but we will show you how to use the full version of SQL Server as well.您的网络中必须安装SQL 2005/2008(Express或Full)。 开箱即用,将“ LAN控制面板上的ASP.NET唤醒”配置为对用户实例使用SQL Express,但是我们还将向您展示如何使用完整版SQL Server。
  • Desktop computers must be configured with the ability to be awakened remotely. Typically, this is the default setting for your network card but if you want to be sure, you can check the device properties of your network card in Device Manager.台式计算机必须配置为具有远程唤醒功能。 通常,这是网卡的默认设置,但是如果要确定,可以在“设备管理器”中检查网卡的设备属性。
  • Overall, the documentation which is downloadable from from the ASP.NET Wake on LAN page is very good. It covers using the installer to set everything up, but in true geek fashion we are going to set up everything manually.总体而言,可从ASP.NET LAN唤醒页面下载的文档非常好。 它涵盖了使用安装程序来设置所有内容的步骤,但是以真正的怪胎方式,我们将手动设置所有内容。

设置局域网唤醒控制面板 (Setup the Wake on LAN Control Panel)

Create the folder “C:inetpubwwwrootWakeOnLan” and extract the contents of the Wake on LAN zip package.

创建文件夹“ C:inetpubwwwrootWakeOnLan”,然后提取Wake on LAN zip软件包的内容。

Open the “Web.config” file and note the connectionStrings section:

打开“ Web.config”文件,并注意connectionStrings部分:

<connectionStrings> <!– Use this connection string for connecting to a SQL 2005/2008 server –> <!–<add name=”WakeOnLanConnectionString” connectionString=”Data Source=.;Initial Catalog=WakeOnLan;Integrated Security=SSPI” providerName=”System.Data.SqlClient”/>–>

<connectionStrings> <!–使用此连接字符串连接到SQL 2005/2008服务器–> <!– <添加名称=“ WakeOnLanConnectionString” connectionString =”数据源= .;初始目录= WakeOnLan;集成安全性= SSPI” providerName =“ System.Data.SqlClient” /> –>

<!– Use this connection string for using the local database with SQLExpress –> <add name=”WakeOnLanConnectionString” connectionString=”Data Source=.SQLExpress;Integrated Security=True;AttachDBFilename=|DataDirectory|WakeOnLan.mdf;User Instance=true”/> </connectionStrings>

<!–使用此连接字符串将本地数据库与SQLExpress一起使用–> <add name =“ WakeOnLanConnectionString” connectionString =“ Data Source = .SQLExpress; Integrated Security = True; AttachDBFilename = | DataDirectory | WakeOnLan.mdf;用户实例= true ” /> </ connectionStrings>

If you are using SQL Express with user instances enabled (default option during the installation of SQL Express) on the local machine you do not have to modify anything and can ignore the rest of this section, however if you are using the full version of SQL or have SQL Express user instances disabled, you will need comment out/delete the second connectionString key and uncomment the first and save your changes. By default, the SQL Server connection string is set to use the local computer with trusted authentication. Depending on your environment, you may want/need to alter these connection settings.

如果在本地计算机上使用启用了用户实例SQL Express(SQL Express安装期间的默认选项),则无需修改任何内容,并且可以忽略本节的其余部分,但是,如果您使用的是完整版SQL或禁用了SQL Express用户实例,则需要注释掉/删除第二个connectionString键,并取消注释第一个并保存更改。 默认情况下,SQL Server连接字符串设置为使用具有受信任身份验证的本地计算机。 根据您的环境,您可能希望/需要更改这些连接设置。

The ASP.NET Wake On Lan package includes a SQL database creation script to use for setup on SQL Server. Before running this script, you will need to make one minor correction to the the SQL file. Open the file “C:inetpubwwwrootApp_DataSchema.sql” in Notepad and add “WakeOnLan” in the location highlighted:

ASP.NET Lan唤醒程序包包括一个SQL数据库创建脚本,可用于在SQL Server上进行安装。 在运行此脚本之前,您需要对SQL文件进行一些小的更正。 在记事本中打开文件“ C:inetpubwwwrootApp_DataSchema.sql”,并在突出显示的位置添加“ WakeOnLan”:

Once this is done, save the changes and then run the install script as a Windows Administrator (where –S “.” specifies the SQL Server to install to):

完成此操作后,保存更改,然后以Windows管理员身份运行安装脚本(其中-S“。”指定要安装到SQL Server):

SqlCmd -S “.” -E -i “C:inetpubwwwrootApp_DataSchema.sql”

SqlCmd -S“。” -E -i“ C:inetpubwwwrootApp_DataSchema.sql”

配置IIS以运行LAN唤醒控制面板 (Configure IIS to Run the Wake on LAN Control Panel)

Once you have the files and database in place open Internet Information Services Manager. Under the ‘Default Web Site’ you should see the WakeOnLan folder. Before the control panel can be used, you must convert the directory to an application which runs on .NET version 2.0.

将文件和数据库放置到位后,打开“ Internet信息服务管理器”。 在“默认网站”下,您应该看到WakeOnLan文件夹。 在使用控制面板之前,必须将目录转换为在.NET 2.0版上运行的应用程序。

In IIS 7, you simply need to right click on the folder and select ‘Convert to Application’. In IIS 6, you need to use the ‘Add Application Wizard’ which is available by right clicking on the ‘Default Web Site’.

在IIS 7中,您只需要右键单击该文件夹,然后选择“转换为应用程序”。 在IIS 6中,您需要使用“添加应用程序向导”,可通过右键单击“默认网站”来使用。

The default settings of the application are typically correct and do not need to be modified.

该应用程序的默认设置通常是正确的,不需要修改。

Once the application is created, you should be able to access the ASP.NET Wake on LAN Control Panel by visiting “http://localhost/WakeOnLan”. If this does not work, check to make sure:

创建应用程序后,您应该能够通过访问“ http:// localhost / WakeOnLan”来访问LAN控制面板上的ASP.NET唤醒。 如果这不起作用,请检查以确保:

  • The IIS WakeOnLan application is running in a .NET 2.0 AppPool.IIS WakeOnLan应用程序在.NET 2.0 AppPool中运行。
  • Your SQL connection strings are correct in your Web.config file.您的Web.config文件中SQL连接字符串正确。

新增电脑 (Adding Computers)

Once you have set up the control panel, all that is left is to add computers. This is pretty intuitive, just click the ‘Add New Computer’ link and enter either the computer name or local IP address of the system to add.

设置好控制面板后,剩下的就是添加计算机。 这非常直观,只需单击“添加新计算机”链接,然后输入要添加的系统的计算机名称或本地IP地址。

The MAC Address will automatically be resolved and the new computer will appear in the list.

MAC地址将自动解析,新计算机将出现在列表中。

使用局域网唤醒控制面板 (Using the Wake on LAN Control Panel)

Usage of the ASP.NET Wake on LAN Control Panel is incredibly intuitive. When you access the page, the status of the connected computers is scanned and presented.

局域网控制面板上ASP.NET唤醒的用法非常直观。 当您访问该页面时,将扫描并显示已连接计算机的状态。

  • Computers which are active/awake, are presented in blue.处于活动/唤醒状态的计算机以蓝色显示。
  • Computers which are asleep (standby/hibernation) are presented in black.睡眠(待机/Hibernate)的计算机以黑色显示。
  • Computers which are waking up are yellow.正在唤醒的计算机为黄色。

To wake a computer, simply click the appropriate link.

要唤醒计算机,只需单击相应的链接。

The computer will turn yellow and a few minutes later, it will turn blue. After about 30 seconds, the computer which was asleep is now ready to be accessed.

电脑将变成黄色,几分钟后,它将变成蓝色。 大约30秒钟后,现在可以访问处于睡眠状态的计算机。

结论 (Conclusion)

The ASP.NET Wake on LAN Control Panel can easily be made available outside your network. As long as the IIS web site you have configured it in is available externally, you can access the control panel from http://www.domain.com/WakeOnLan. You would just need to train your users to access this page prior to connecting to their computer. For example, by adding a link to a company portal to access the control panel can minimize the “how do I do that again?” questions.

可以轻松在网络外部使用ASP.NET Wake on LAN控制面板。 只要您已在其中配置了IIS的网站可以从外部访问,就可以从http://www.domain.com/WakeOnLan访问控制面板。 您只需要培训用户以在连接到他们的计算机之前访问此页面。 例如,通过将链接添加到公司门户以访问控制面板,可以最大程度地减少“我该怎么做?” 问题。

链接 (Links)

Download ASP.NET Wake On LAN (zip package)

下载ASP.NET Wake On LAN (zip软件包)

翻译自: https://www.howtogeek.com/50547/setup-a-wake-on-lan-control-panel-for-your-network/

局域网唤醒 外网无法唤醒

局域网唤醒 外网无法唤醒_为您的网络设置局域网唤醒控制面板相关推荐

  1. 内网和外网的区别_在家办公不再难,花生壳盒子助你内网穿透一臂之力

    大容量的存储和高速网络的发展让我们的生活也变得越来越方便和科技.比如应用比较广泛的NAS和远程操作等.但我们也都知道,这些一般都是基于内网使用.所谓内网,就是内部局域网.外网就是外部互联网.正常情况下 ...

  2. VMware下Linux配置局域网和外网访问(CentOS)

    要使用Linux系统很重要的一个操作就是使Linux系统能够访问互联网,只有Linux系统能够访问互联网才能够去下载很多自己所需要的资源,如果不能访问互联网那么使用Linux系统往往会卡在这一步,假设 ...

  3. 黑色沙漠(黑沙)单机版局域网联机外网公网教程

    黑色沙漠(黑沙)单机版局域网联机外网公网教程 一.以下是我参考了网上一些教程针对以下问题的一些想法: 黑色沙漠(黑沙)单机版怎么改多人一起玩?怎么开局域网?怎么开公网,没有公网固定IP怎么办?公网动态 ...

  4. GitLab搭建局域网改外网

    1.描述 GitLab是啥这里就不需要多介绍了.如果不晓得如何搭建,可以看一下别的文章.这里大概讲一下如何搭建.注重讲我是如何根据自己的思路把局域网问题解决了. 另外,关于调优方面的.就不多描述了.大 ...

  5. 通过设置路由器来实现局域网和外网的传奇SF架设

    今天给大家讲一下如何通过设置路由器来实现局域网和外网的传奇SF架设! 就地取材,就拿世面上用的很广的D-Link DI-504 型号家庭装路由器给大家做图解吧! 不管是大小路由器基本上都有这几个功能的 ...

  6. 内网和外网的区别_无需服务器,树莓派使用内网穿透进行建站与维护

    概述 如题,我们今天主要讲利用网云穿官方提供的内网穿透功能来外网访问树莓派上的网站,以及通过 ssh 进行远程管理. 树莓派 树莓派是基于博通出品的 arm 架构处理器的微型电脑,价格低廉,目前最新版 ...

  7. zerotier虚拟网络配置,局域网与外网如同局域网一样访问。

    zerotier:可以搭建用于自己的虚拟网络,经过授权连接成功之后彼此都在同一网段,可以像在局域网一样互相访问. 1.创建zerotier账户 2.创建网络(Create A Network)并记住网 ...

  8. 计算机双网卡同时访问局域网和外网的配置步骤【亲测有效】

    方法主要也是参考网上博客的一些方法,本来不难,但是在在实际操作过程中有些参考博客一些地方没有说清楚,所以一开一直没有成功. 利用双网卡同时上内外网,必须具备一个条件,那就是内外网的网关必须不同.如果内 ...

  9. mac Charles抓包: 台式机无无线网卡用charles排查https请求,微信视频号视频下载, 修改路由表分别访问局域网和外网

    场景1: 黑苹果没有安装无线网卡需要对app进行抓包 场景2: 安卓手表没有数据线如何使用adb安装应用 不管是安卓还是iOS设备,都具备无线网络功能, 而且提供了通过usb连接线来共享网络 所以没有 ...

最新文章

  1. Linux哪个和Windows很像,Linuxfx - 这套Linux操作系统看起来和Windows 10非常类似
  2. win10 php mysql_win10 下 apache php mysql 开发环境安装
  3. java 菜单快捷键_Java 菜单快捷键
  4. 【经典回放】多种语言系列数据结构算法:栈(JavaScript版)
  5. 机器学习 | 回归评估指标
  6. WebStorm 关联 TFS(转)
  7. 自动服务器批量装机,PXE高效批量网络装机
  8. python之列表相关操作
  9. QQ产品界面变更之路
  10. 关于主机的思维导图_【思维导图大咖分享干货】关于思维导图中插图的用法细解!!...
  11. Mybatis_select、insert、update、delete常用属性
  12. 山东理工大学oj打字速度测试
  13. 常识性知识,高速快捷知识
  14. the old reader使用分享
  15. 写在最后——如何做好一个语音助手
  16. 从0开始学AI-DAY1
  17. java简单的正则表达式验证邮箱
  18. 使用aria2为网盘下载加速
  19. 【论文阅读】Multi-hop Question Answering via Reasoning Chains
  20. 立创eda学习笔记十一:立创eda、立创商城、嘉立创的区别

热门文章

  1. opc服务器连接plc断开显示,如何判断OPC与PLC通讯失败
  2. uni-app map路线轨迹回放功能及turf.js实现缓冲区渲染(微信小程序)
  3. ROS中使用protoBuf通信
  4. 中医针灸学综合练习题库【12】
  5. 【中医学】10 针灸-2:常用腧穴
  6. java中实现定时任务每天规定时间执行任务一次
  7. 数据安全传输平台项目笔记
  8. 一文讲透java弱引用以及使用场景
  9. 汇率查询接口,免费实时货币汇率查询换算
  10. 关于contiki中的Ctimer和Etimer