从远程 PC 上的 ipconfig /release 恢复

发布于 2024-07-08 10:16:32 字数 1477 浏览 5 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

养猫人 2024-07-15 10:16:32

如果这让你感觉好一些,我们大多数人都做过类似的事情。 我无法提供不涉及人工干预的建议,但我可以提供两种方法来防止您“下次”:

  1. 查看远程电源控制器。 通过 www.x10.com 可以获得便宜(便宜、业余爱好者级)的选项; 其他供应商(Pulizzi、DataProbe 等)以更高的价格提供更可靠的解决方案。 您甚至可以找到允许通过串行端口控制它的 UPS。

    将您的电脑插入电源控制器,然后找到第二台电脑来控制它。 现在您可以远程重新启动您的电脑,无论您取消配置的情况如何。

  2. 预测并补偿。 可以合理地预期您可能需要再次释放/更新 IP 地址,因此编写一个实用程序来检查 IP 地址是否丢失并在发生这种情况时重新启动。 例如,对默认网关执行 ping 操作,如果 ping 始终失败,则重新启动。 请务必预见意外重启的后果!

If it makes you feel any better, most of us have done something similar. I can't offer a suggestion that doesn't involve human intervention, but I can offer two ways to prevent a "next time" for you:

  1. Look into a remote power controller. Cheap (inexpensive, hobbyist-grade) options are available through www.x10.com; other vendors (Pulizzi, DataProbe, etc.) provide more reliable solutions for a higher price. You may even be able to find a UPS that allows you to control it via a serial port.

    Plug your PC into the power controller, and find a second PC to control it. Now you can reboot your PC remotely, no matter how badly you de-configure it.

  2. Anticipate and compensate. It's reasonable to expect that you may need to release/renew the IP address again, so write a utility that will check for the loss of IP address and reboot if that occurs. For example, ping your default gateway and reboot if the ping fails consistently. Just be sure to anticipate the consequences of an unexpected reboot!

尐籹人 2024-07-15 10:16:32

尝试给办公室打电话并让某人(如果有的话)重新启动您的计算机或 ipconfig /renew

Try giving a call to the office and get someone(if any) to restart your computer or ipconfig /renew

木緿 2024-07-15 10:16:32

您需要做的是找到某种方法来切断电脑的电源。 许多 PC 默认配置为在发生电源故障时重新启动。 因此,只需侵入您的电网,然后关闭整个建筑物的电源即可。 一旦您的计算机以及所有其他设备重新启动,您的计算机应该会恢复其 IP。

What you need to do, is find some way to cut the power to your PC. Many PCs are configured by default to reboot if there is a power failure. So, just hack into your power grid, and shut off power to the entire building. Once your computer reboots, along with all the other equipment, your computer should have it's IP back.

眼波传意 2024-07-15 10:16:32

(这可能行不通)

我想如果你的网络连接被切断,它会重置(比如,如果我运行 ipconfig /release,然后关闭我的路由器并重新启动它,我会得到一个新的 IP)。

这是很好的即兴发挥,但如果我绝望了,我会连接到我的 DHCP 服务器并重新启动它。我预测最终结果将是我仍然无法连接,管理员会狠狠地鞭打我。

(This probably won't work)

I think if you get your network connection severed, it'll reset (like, if I run ipconfig /release, then shut off my router and restart it, I get a new IP).

It'd be well winging it, but if I was desperate I'd hook up to my DHCP server and reboot it.. I predict the end result would be me still not being able to connect, and the admins giving me a good whipping.

无声情话 2024-07-15 10:16:32

登录到 PC 连接到的托管交换机,关闭端口,等待几秒钟,然后将其重新启动。 如果您没有托管交换机或无法访问它,请等到周一。

Log into the managed switch the PC is connected to, shutdown the port, wait a few seconds, and then bring it back up. If you don't have a managed switch or no access to it, wait until Monday.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文