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

作者能否增加网络唤醒的插件? #53

Open
tangfu opened this issue May 4, 2019 · 9 comments
Open

作者能否增加网络唤醒的插件? #53

tangfu opened this issue May 4, 2019 · 9 comments
Labels
enhancement New feature or request

Comments

@tangfu
Copy link

tangfu commented May 4, 2019

如题~~~

@monlor monlor pinned this issue Mar 4, 2020
@monlor monlor added the enhancement New feature or request label Mar 4, 2020
@yantaocool
Copy link

支持

@Nick-Hopps
Copy link

同求

@caliban511
Copy link

这个工具箱支持AX3600吗?599块钱的AX3600,居然连个wol功能都没用,别的牌子几十块的都可以啊。

@wangrui1573
Copy link

同求

@xxl-cc
Copy link

xxl-cc commented Sep 2, 2020

支持

@cdbvv
Copy link

cdbvv commented Jul 26, 2021

想要

@tsiens
Copy link

tsiens commented Feb 24, 2022

同求

@adfnekc
Copy link

adfnekc commented Dec 14, 2022

应该实现不了,这要改固件吧

@hohaiuhsx
Copy link

我是这么搞的
opkg install etherwake 然后 自己写个脚本就能实现了。
/etc/wol.sh

#!/bin/sh

echo "主机列表:"
# 这里填你要唤醒的主机列表 主要是执行脚本时 提示用,随便填
echo "1 [192.168.31.4]"
echo "2 [192.168.31.5]"

weak(){
    read -p "请选择需要唤醒的主机[默认1]:" mac
    [ -z $mac ] && mac=1
    case "$mac" in
        # 这里填你要唤醒的主机对应的网卡MAC地址
        1) mac="00:00:00:00:00:00" ;;
        2) mac="00:00:00:00:00:00" ;;
        *) mac="" ;;
    esac
    
    if [ -z $mac ]         
    then
        echo "请选择正确的主机编号"
        weak
    else
        echo "即将唤醒主机MAC地址 "$mac
        etherwake -b -D -i br-lan $mac
    fi
}

weak

然后 chmod +x /etc/wol.sh
需要唤醒的时候 就 ssh到路由上 执行 /etc/wol.sh 按提示输入需要唤醒的主机编写就行了
至于 怎么远程ssh到路由器就不多说了(frp、openvpn、ddns等等 都可以)

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

No branches or pull requests