Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Not work wake on lan

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
Sergioni
Posts: 4
Joined: 2016-11-28 11:23

Not work wake on lan

#1 Post by Sergioni »

Hi everyone!
I cant configure wake on lan on my Debian 11 bullseye
What i`m do:
1) On BIOS enable "PCI Devices power on, PCI PME" feature. I`m think this is WOL.
2) Check with ethtool that WOL enabled and support my hardware:

Code: Select all

ethtool enp4s0
Settings for enp4s0:
        Supported ports: [ TP    MII ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Half 1000baseT/Full
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Half 1000baseT/Full
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Link partner advertised link modes:  10baseT/Half 10baseT/Full
                                             100baseT/Half 100baseT/Full
                                             1000baseT/Full
        Link partner advertised pause frame use: Symmetric Receive-only
        Link partner advertised auto-negotiation: Yes
        Link partner advertised FEC modes: Not reported
        Speed: 1000Mb/s
        Duplex: Full
        Auto-negotiation: on
        master-slave cfg: preferred slave
        master-slave status: slave
        Port: Twisted Pair
        PHYAD: 0
        Transceiver: external
        MDI-X: Unknown
        Supports Wake-on: pumbg
        Wake-on: g
        Link detected: yes
"Wake-on: g" - looks nice
3) Edit /etc/network/interfaces, enable WOL:

Code: Select all

cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug enp4s0
iface enp4s0 inet dhcp
    ethernet-wol g
after reboot PC, option "Wake-on: g" - persist

4) Shutdown my pc :

Code: Select all

shutdown now
4) On other linux system try send magic packet by wakeonlan program, example:

Code: Select all

wakeonlan -p 8 bc:5f:f4:0d:d5:89
and nothing happens, my PC didnt powerup.

Pls help understand where i`m wrong and how resolve this problem.

pc-v0rtex
Posts: 3
Joined: 2023-01-13 16:49

Re: Not work wake on lan

#2 Post by pc-v0rtex »

You have to use port 7 or 9, not 8.

I am facing with very special case.

I am wakeuping desktop computer with windows via Debian in my RPI4 and it works only if the wakeuponlan -i 192.168.79.255 -p 9 mac is running from my menu bash script.
If I run the script directly as the command from bash command line then computer doesn't wake up.

I can't to find why. It is magic. in the bash aren't any variables that the running commands have been different environment to run. As is told, it is magic.

itmicp
Posts: 38
Joined: 2013-05-11 04:45
Location: France
Has thanked: 6 times
Been thanked: 6 times

Re: Not work wake on lan

#3 Post by itmicp »

Hi

On my machines (debian 12.1), I had found that wakeonlan works as long as the laptop (EeePC1005PE) to be woken remains connected to the mains, and even if its battery is fully charged and connected,
but today, wakeonlan does'nt work at all.

Post Reply