You are not logged in.

#1 2018-08-03 19:43:56

Paramite
Member
From: Germany
Registered: 2018-04-22
Posts: 7

Wake On Lan only works when computer is turned off

I can turn on my computer with WOL, but I can't wake it up when Arch suspended my computer. Did I do something wrong?

Output of sudo ethtool enp2s0

Settings for enp2s0:
        Supported ports: [ TP MII ]
        Supported link modes:   10baseT/Half 10baseT/Full 
                                100baseT/Half 100baseT/Full 
                                1000baseT/Half 1000baseT/Full 
        Supported pause frame use: No
        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 
        Link partner advertised pause frame use: Symmetric
        Link partner advertised auto-negotiation: Yes
        Link partner advertised FEC modes: Not reported
        Speed: 100Mb/s
        Duplex: Full
        Port: MII
        PHYAD: 0
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: pumbg
        Wake-on: g
        Current message level: 0x00000033 (51)
                               drv probe ifdown ifup
        Link detected: yes

Output of ifconfig enp2s0:

enp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.0.106  netmask 255.255.255.0  broadcast 192.168.0.255
        inet6 fe80::7717:98ea:5973:8524  prefixlen 64  scopeid 0x20<link>
        ether 01:23:45:67:89:ab:cd  txqueuelen 1000  (Ethernet)
        RX packets 2552  bytes 471950 (460.8 KiB)
        RX errors 0  dropped 26  overruns 0  frame 0
        TX packets 1309  bytes 188945 (184.5 KiB)
        TX errors 4  dropped 0 overruns 0  carrier 0  collisions 0

My LAN Card is TP-Link TG-3468.

I tried port 7 and port 9.

Offline

#2 2018-08-07 19:57:14

piratebill
Member
From: Sol System
Registered: 2011-10-20
Posts: 145

Re: Wake On Lan only works when computer is turned off

I don't think WOL supports waking from standby.

Offline

#3 2018-08-08 15:57:28

Paramite
Member
From: Germany
Registered: 2018-04-22
Posts: 7

Re: Wake On Lan only works when computer is turned off

piratebill wrote:

I don't think WOL supports waking from standby.

It is. It works on Solus

Offline

#4 2018-08-08 16:18:39

progandy
Member
Registered: 2012-05-17
Posts: 5,322

Re: Wake On Lan only works when computer is turned off

It might be possible to look up the pci id of your network card with lspci and then enable it in /proc/acpi/wakeup.


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#5 2018-08-08 17:50:10

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,734
Website

Re: Wake On Lan only works when computer is turned off

Paramite wrote:
piratebill wrote:

I don't think WOL supports waking from standby.

It is. It works on Solus

I too can confirm WOL will wake up a system from standby.  Not sure about a laptop and if something else like lid status might affect it.

Offline

#6 2018-08-08 19:24:01

Digwer
Member
Registered: 2017-01-07
Posts: 10

Re: Wake On Lan only works when computer is turned off

Not sure if this works as I think, but:

Maybe there is a difference how Your motherboard/network card acts in S3 (suspend) and S4 (hibernate) states?

Try if it wakes with WOL after

#systemctl suspend

or

#systemctl hibernate

Offline

Board footer

Powered by FluxBB