WindowsではWOLが機能しますが、Debianではetherwakeは機能しません。

WindowsではWOLが機能しますが、Debianではetherwakeは機能しません。

エッジルータがあります。デフォルトではDebian OSデバイスです。 etherwake -D XX:XX.... コマンドを送信するとSendto worked ! 116....と表示されますが、何も起こりません。ターゲットマシンはシャットダウンしたままです。

現在、Microsoftストアが提供するネイティブの「Wake on LAN」アプリを使用しており、デバイスをすぐに起動します。

ここで何が起こっているのでしょうか?

ベストアンサー1

私は天才です。マイクロソフトストアのWOLは私のIPなどの情報を知っているので動作します。 wakeonlanはデフォルトのブロードキャストポート255.255.255.255を使用しますが、これは192.168.1.*/24を使用しているため正しくありません。

コマンドを次のように変更しましたが、うまくいきwakeonlan -i 192.168.1.255 -p 9 <HW Mac here>ました。

Usage
    wakeonlan [-h] [-v] [-i IP_address] [-p port] [-f file] [[hardware_address] ...]

Options
    -h
        this information
    -v
        displays the script version
    -i ip_address
        set the destination IP address
        default: 255.255.255.255 (the limited broadcast address)
    -p port
        set the destination port
        default: 9 (the discard port)
    -f file
        uses file as a source of hardware addresses

See also
    wakeonlan(1)

おすすめ記事