#author("2023-04-24T16:36:18+09:00","michiro","michiro")
#author("2023-04-24T17:01:23+09:00","michiro","michiro")
**WOL Ubuntu22.04 [#pbf91375]
WOLできない。
https://blog.janjan.net/2022/08/10/ubuntu-wake-on-lan-settings/
https://chatnoirlibre.com/ubuntu-22-04-wake-on-lan/
両方試したが再起動するとWOLできなくなる。そこで、
# apt install ethtool
# ip link
でデバイスがenp0s25となっているのがわかる。
# nano /usr/local/bin/shutwol
作成
#!/bin/sh
/sbin/ethtool -s enp0s25 wol g && shutdown -h now
# chmod 755 /usr/local/bin/shutwol
# shutwol
shutdown -h nowの代わりにshutwolで解決。
**iPhone WOLアプリ [#jb97e348]
[[RemoteBoot WOL:https://apps.apple.com/jp/app/remoteboot-wol/id310369182?platform=iphone]]
Name: 適当に入力
MAC address:xxxxxxxxxxxx (linux はifconfig、windows はipconfig /all、 コロンは不要)
MAC address:xxxxxxxxxxxx (linux はifconfig、windows はipconfig /allでわかる。 コロンは不要)
Port: 500000
複数のPCを一度に起動できる。
[[日記]]