局域网内一键唤醒所有的支持网卡启动的机器的shell脚本

Posted 曾小福气

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了局域网内一键唤醒所有的支持网卡启动的机器的shell脚本相关的知识,希望对你有一定的参考价值。

先编写一个create_wake.sh脚本,用于生成唤醒脚本
IP=$(hostname -I|awk {print $1}) SUBNET=$(hostname -I|awk {print $1} | awk -F. {print $1"."$2"."$3".*"}) nmap -sP -n $SUBNET | egrep -v "^Nmap done:|^Starting Nmap|$IP"| awk /^Nmap|^MAC/{if($1~/Nmap/)print $NF;else print $3}|paste -d" " - - |awk BEGIN{print "#!/bin/bash\nFilename:wakeup.sh\ni=1\nwhile [ $i -le 10 ]\ndo"}{print "ether-wake "$2";""echo waking up the "$1}END{print "sleep 5\nlet i++\ndone"} > ./wakeup.sh;chmod +x ./wakeup.sh

执行完脚本之后,在房钱目录下生成wakeup.sh唤醒脚本

[[email protected] shell]# cat wakeup.sh
#!/bin/bash
Filename:wakeup.sh
i=1
while [ $i -le 10 ]
do
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.0
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.1
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.2
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.3
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.4
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.5
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.6
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.7
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.8
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.9
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.10
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.11
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.12
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.13
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.14
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.15
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.16
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.17
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.18
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.19
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.20
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.21
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.22
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.23
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.24
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.25
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.26
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.27
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.28
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.29
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.30
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.31
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.32
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.33
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.34
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.35
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.36
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.37
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.38
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.39
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.40
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.41
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.42
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.43
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.44
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.45
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.46
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.47
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.48
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.49
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.50
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.51
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.52
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.53
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.54
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.55
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.56
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.57
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.58
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.59
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.60
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.61
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.62
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.63
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.64
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.65
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.66
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.67
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.68
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.69
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.70
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.71
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.72
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.73
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.74
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.75
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.76
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.77
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.78
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.79
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.80
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.81
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.82
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.83
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.84
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.85
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.86
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.87
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.88
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.89
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.90
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.91
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.92
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.93
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.94
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.95
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.96
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.97
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.98
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.99
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.100
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.101
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.102
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.103
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.104
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.105
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.106
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.107
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.108
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.109
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.110
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.111
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.112
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.113
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.114
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.115
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.116
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.117
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.118
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.119
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.120
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.121
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.122
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.123
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.124
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.125
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.126
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.127
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.128
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.129
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.130
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.131
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.132
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.133
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.134
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.135
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.136
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.137
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.138
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.139
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.140
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.141
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.142
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.143
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.144
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.145
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.146
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.147
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.148
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.149
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.150
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.151
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.152
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.153
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.154
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.155
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.157
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.158
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.159
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.160
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.161
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.162
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.163
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.164
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.165
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.166
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.167
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.168
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.169
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.170
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.171
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.172
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.173
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.174
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.175
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.176
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.177
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.178
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.179
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.180
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.181
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.182
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.183
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.184
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.185
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.186
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.187
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.188
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.189
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.190
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.191
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.192
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.193
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.194
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.195
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.196
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.197
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.198
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.199
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.200
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.201
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.202
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.203
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.204
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.205
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.206
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.207
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.208
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.209
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.210
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.211
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.212
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.213
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.214
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.215
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.216
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.217
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.218
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.219
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.220
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.221
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.222
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.223
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.224
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.225
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.226
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.227
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.228
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.229
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.230
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.231
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.232
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.233
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.234
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.235
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.236
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.237
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.238
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.239
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.240
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.241
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.242
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.243
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.244
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.245
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.246
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.247
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.248
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.249
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.250
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.251
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.252
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.253
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.254
ether-wake FE:EE:FF:FF:FF:FF;echo waking up the 10.141.22.255
sleep 5
let i++
done

ether-wake 加机器的Mac地址,就可以将该机器唤醒,当然前提是该机器支持从网卡支持启动,而且在同一局域网内。


以上是关于局域网内一键唤醒所有的支持网卡启动的机器的shell脚本的主要内容,如果未能解决你的问题,请参考以下文章

win7下如何让局域网内所有电脑与局域网内服务器的时间同步。弄一个“时间同步.bat”只需一键点击,发邮箱

网络唤醒(WOL)全解指南:原理篇

如何在Ubuntu 12.10 中支持Ralink RT3290无线网卡

如何在Ubuntu 12.10 中支持Ralink RT3290无线网卡

怎么抓取局域网内手机数据

公司局域网主板坏了,IP绑定了,我把网卡拆下装在先在的主板上 可以用吗?