Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

能否增加远程开关机功能 #16

Open
Yustyn555 opened this issue Apr 10, 2023 · 2 comments
Open

能否增加远程开关机功能 #16

Yustyn555 opened this issue Apr 10, 2023 · 2 comments

Comments

@Yustyn555
Copy link

No description provided.

@nascab
Copy link
Owner

nascab commented Apr 10, 2023

NasCab是软件,不是操作系统,远程开关机是需要硬件和操作系统配合,理论上软件无法实现

@Kukmoon
Copy link

Kukmoon commented Apr 28, 2024

回复楼主:

我也在摸索远程开关机的方案,目前摸索出的方案如下:

  1. 内网远程开机:WOL(Wake-on-LAN)。
  2. 内网远程关机:配置 SSH 连接到运行 Nas-Cab 的电脑主机上,在 SSH 中执行 shutdown 命令(CMD)或 Stop-Computer 命令(PowerShell)关机。
  3. 外网远程开机:硬件方案,例如向日葵开机插座、向日葵开机棒、小米智能插座之类的。
  4. 外网远程关机:借助 IPv6,用 SSH 连接到运行 Nas-Cab 的电脑主机上,在 SSH 中执行 shutdown 命令(CMD)或 Stop-Computer 命令(PowerShell)关机。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants