Wake On LAN from full shutdown (S5 state) not working

I have a HTPC running Manjaro that I want to wake up through Wake On LAN.

I initially couldn’t get it to work at all through Manjaro following all the Manjaro guides I found.
Temporarily I installed Windows 10 on a separate drive to confirm it works with Windows.
In Windows I had to configure the NIC and Disable Fast Startup. Then I was able to wake the machine from both Sleep and full proper shutdown. Note: If Disable Fast Startup is not disabled in Windows 10 it doesn’t go into a full proper S5 state on shutdown. Its a modified S4(Hibernation) / S5 state.

So after confirming it works fine in Windows 10 with full S5 state shutdown, I went back to Manjaro and searched the forums and followed the advice of Mr Bob here

This allowed me to wake from Suspend and also wake from Hibernate by modifying TLP config. However wake from S5 (Shutdown) still not working. BIOS is set correctly.

The output of sudo inxi -N is:

 Network: Device-1: Intel I211 Gigabit Network driver: igb

Any idea on how to get Wake On LAN working from a full shutdown?

I need it as the scripts I wrote to mount my external USB HDs (I use SystemD services) don’t run on restore from Hibernate and Suspend states like they do from a full boot.

:+1: Welcome to Manjaro! :+1:

  1. Please read this:
    How to provide good information
    and post some more information so we can see what’s really going on. Now we know the symptom of the disease, but we need some more probing to know where the origin lies…
  2. An inxi --admin --verbosity=7 --filter --no-host --width would be the minimum required information… (Personally Identifiable Information like serial numbers and MAC addresses will be filtered out by the above command)
    Also, please copy-paste that output in-between 3 backticks ``` at the beginning and end of the code/text.
  3. Update your BIOS / UEFI firmware first and see if that resolves the problem on the Manjaro side.

:+1:

P.S. If you enter a bit more details in your profile, we can also see which Desktop Environment you’re using, which CPU/GPU or Kernel, … you have without typing it every time

no problem. Thanks Fabby. I have flashed BIOS/UEFI to latest.
Here is inxi results:

  Kernel: 5.11.22-2-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.11-x86_64 
  root=UUID=c503de51-2e3e-42e0-b299-cb4d9758681a ro quiet apparmor=1 
  security=apparmor resume=UUID=8b770d7d-f02c-4fe7-af3c-6addd00d6531 
  udev.log_priority=3 
  Desktop: Xfce 4.16.0 tk: Gtk 3.24.24 info: xfce4-panel wm: xfwm4 
  dm: LightDM 1.30.0 Distro: Manjaro Linux base: Arch Linux 
Machine:
  Type: Desktop Mobo: ASRock model: X570 Taichi serial: N/A 
  BIOS: American Megatrends v: P4.30 date: 04/14/2021 
Battery:
  Device-1: hidpp_battery_0 model: Logitech Wireless Touch Keyboard K400 
  serial: <filter> charge: 100% (should be ignored) rechargeable: yes 
  status: Discharging 
Memory:
  RAM: total: 62.74 GiB used: 1.96 GiB (3.1%) 
  Array-1: capacity: 128 GiB slots: 4 EC: None max-module-size: 32 GiB 
  note: est. 
  Device-1: DIMM 0 size: No Module Installed 
  Device-2: DIMM 1 size: 32 GiB speed: 2133 MT/s type: DDR4 
  detail: synchronous unbuffered (unregistered) bus-width: 64 bits 
  total: 64 bits manufacturer: Corsair part-no: CMK64GX4M2D3000C16 serial: N/A 
  Device-3: DIMM 0 size: No Module Installed 
  Device-4: DIMM 1 size: 32 GiB speed: 2133 MT/s type: DDR4 
  detail: synchronous unbuffered (unregistered) bus-width: 64 bits 
  total: 64 bits manufacturer: Corsair part-no: CMK64GX4M2D3000C16 serial: N/A 
CPU:
  Info: 6-Core model: AMD Ryzen 5 5600X socket: AM4 bits: 64 type: MT MCP 
  arch: Zen 3 family: 19 (25) model-id: 21 (33) stepping: 0 microcode: A201009 
  cache: L1: 384 KiB L2: 3 MiB L3: 32 MiB bogomips: 88827 
  Speed: 2200 MHz min/max: 2200/3700 MHz base/boost: 3700/4650 boost: enabled 
  volts: 1.1 V ext-clock: 100 MHz Core speeds (MHz): 1: 2200 2: 2571 3: 2874 
  4: 2875 5: 2873 6: 2404 7: 2574 8: 2878 9: 3594 10: 2418 11: 2550 12: 3574 
  Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1 
  bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero cmov cmp_legacy 
  constant_tsc cpb cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total cqm_occup_llc 
  cr8_legacy cx16 cx8 de decodeassists erms extapic extd_apicid f16c 
  flushbyasid fma fpu fsgsbase fsrm fxsr fxsr_opt ht hw_pstate ibpb ibrs ibs 
  invpcid irperf lahf_lm lbrv lm mba mca mce misalignsse mmx mmxext monitor 
  movbe msr mtrr mwaitx nonstop_tsc nopl npt nrip_save nx ospke osvw 
  overflow_recov pae pat pausefilter pclmulqdq pdpe1gb perfctr_core 
  perfctr_llc perfctr_nb pfthreshold pge pku pni popcnt pse pse36 rdpid rdpru 
  rdrand rdseed rdt_a rdtscp rep_good sep sha_ni skinit smap smca smep ssbd 
  sse sse2 sse4_1 sse4_2 sse4a ssse3 stibp succor svm svm_lock syscall tce 
  topoext tsc tsc_scale umip v_vmsave_vmload vaes vgif vmcb_clean vme vmmcall 
  vpclmulqdq wbnoinvd wdt xgetbv1 xsave xsavec xsaveerptr xsaveopt xsaves 
  Vulnerabilities: Type: itlb_multihit status: Not affected 
  Type: l1tf status: Not affected 
  Type: mds status: Not affected 
  Type: meltdown status: Not affected 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, IBRS_FW, 
  STIBP: always-on, RSB filling 
  Type: srbds status: Not affected 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: NVIDIA GM107 [GeForce GTX 750] vendor: ZOTAC driver: nvidia 
  v: 465.31 alternate: nouveau,nvidia_drm bus-ID: 0d:00.0 chip-ID: 10de:1381 
  class-ID: 0300 
  Display: server: X.Org 1.20.11 driver: loaded: nvidia display-ID: :0.0 
  screens: 1 
  Screen-1: 0 s-res: 3840x2160 s-dpi: 96 s-size: 1016x572mm (40.0x22.5") 
  s-diag: 1166mm (45.9") 
  Monitor-1: HDMI-0 res: 3840x2160 hz: 60 dpi: 61 
  size: 1600x900mm (63.0x35.4") diag: 1836mm (72.3") 
  Monitor-2: DP-0 res: 1920x1080 hz: 60 dpi: 69 size: 708x398mm (27.9x15.7") 
  diag: 812mm (32") 
  OpenGL: renderer: NVIDIA GeForce GTX 750/PCIe/SSE2 v: 4.6.0 NVIDIA 465.31 
  direct render: Yes 
Audio:
  Device-1: NVIDIA GM107 High Definition Audio [GeForce 940MX] vendor: ZOTAC 
  driver: snd_hda_intel v: kernel bus-ID: 0d:00.1 chip-ID: 10de:0fbc 
  class-ID: 0403 
  Sound Server-1: ALSA v: k5.11.22-2-MANJARO running: yes 
  Sound Server-2: JACK v: 0.125.0 running: no 
  Sound Server-3: PulseAudio v: 14.2 running: no 
  Sound Server-4: PipeWire v: 0.3.28 running: no 
Network:
  Device-1: Intel I211 Gigabit Network vendor: ASRock driver: igb v: kernel 
  port: f000 bus-ID: 07:00.0 chip-ID: 8086:1539 class-ID: 0200 
  IF: enp7s0 state: up speed: 100 Mbps duplex: full mac: <filter> 
  IP v4: <filter> type: dynamic noprefixroute scope: global 
  broadcast: <filter> 
  IP v6: <filter> type: noprefixroute scope: link 
  WAN IP: <filter> 
Bluetooth:
  Message: No bluetooth data found. 
Logical:
  Message: No logical block device data found. 
RAID:
  Message: No RAID data found. 
Drives:
  Local Storage: total: 26.38 TiB used: 19.61 TiB (74.3%) 
  SMART Message: Required tool smartctl not installed. Check --recommends 
  ID-1: /dev/nvme0n1 maj-min: 259:3 vendor: Seagate 
  model: FireCuda 520 SSD ZP500GM30002 size: 465.76 GiB block-size: 
  physical: 512 B logical: 512 B speed: 63.2 Gb/s lanes: 4 rotation: SSD 
  serial: <filter> rev: STNSC014 temp: 29.9 C scheme: GPT 
  ID-2: /dev/nvme1n1 maj-min: 259:0 vendor: Seagate 
  model: FireCuda 520 SSD ZP500GM30002 size: 465.76 GiB block-size: 
  physical: 512 B logical: 512 B speed: 63.2 Gb/s lanes: 4 rotation: SSD 
  serial: <filter> rev: STNSC014 temp: 26.9 C scheme: MBR 
  ID-3: /dev/sda maj-min: 8:0 type: USB vendor: HGST (Hitachi) 
  model: HDN726060ALE614 size: 5.46 TiB block-size: physical: 512 B 
  logical: 512 B serial: <filter> scheme: GPT 
  ID-4: /dev/sdb maj-min: 8:16 type: USB vendor: HGST (Hitachi) 
  model: HDN726060ALE610 size: 5.46 TiB block-size: physical: 512 B 
  logical: 512 B rotation: 7200 rpm serial: <filter> scheme: GPT 
  ID-5: /dev/sdc maj-min: 8:32 type: USB vendor: Hitachi 
  model: HDS724040ALE640 size: 3.64 TiB block-size: physical: 4096 B 
  logical: 512 B serial: <filter> rev: 0X03 scheme: GPT 
  ID-6: /dev/sdd maj-min: 8:48 type: USB vendor: HGST (Hitachi) 
  model: HDN 726040ALE614 size: 3.64 TiB block-size: physical: 4096 B 
  logical: 512 B serial: <filter> rev: 0X03 scheme: GPT 
  ID-7: /dev/sde maj-min: 8:64 type: USB vendor: Hitachi 
  model: HDS724040ALE640 size: 3.64 TiB block-size: physical: 4096 B 
  logical: 512 B serial: <filter> rev: 0X03 scheme: GPT 
  ID-8: /dev/sdf maj-min: 8:80 type: USB vendor: HGST (Hitachi) 
  model: HDS 724040ALE640 size: 3.64 TiB block-size: physical: 4096 B 
  logical: 512 B serial: <filter> rev: 0X03 scheme: GPT 
  Optical-1: /dev/sr0 vendor: ASUS model: BW-16D1HT rev: 3.02 dev-links: cdrom 
  Features: speed: 48 multisession: yes audio: yes dvd: yes 
  rw: cd-r,cd-rw,dvd-r,dvd-ram state: running 
Partition:
  ID-1: / raw-size: 396.75 GiB size: 389.52 GiB (98.18%) 
  used: 20.77 GiB (5.3%) fs: ext4 block-size: 4096 B dev: /dev/nvme1n1p1 
  maj-min: 259:1 label: N/A uuid: c503de51-2e3e-42e0-b299-cb4d9758681a 
  ID-2: /data/MediaC1 raw-size: 3.64 TiB size: 3.58 TiB (98.43%) 
  used: 3.58 TiB (100.0%) fs: ext4 block-size: 4096 B dev: /dev/sdc1 
  maj-min: 8:33 label: MediaC1 uuid: aef60479-4474-41e8-9718-941c685fbdb7 
  ID-3: /data/MediaC2 raw-size: 3.64 TiB size: 3.58 TiB (98.43%) 
  used: 3.58 TiB (99.9%) fs: ext4 block-size: 4096 B dev: /dev/sdd1 
  maj-min: 8:49 label: MediaC2 uuid: 82021470-77f2-42d7-bd6b-e295d0a6f847 
  ID-4: /data/MediaC3 raw-size: 3.64 TiB size: 3.58 TiB (98.43%) 
  used: 3.58 TiB (100.0%) fs: ext4 block-size: 4096 B dev: /dev/sde1 
  maj-min: 8:65 label: MediaC3 uuid: 2f7f078d-b326-495d-9e58-a21662521221 
  ID-5: /data/MediaC4 raw-size: 3.64 TiB size: 3.58 TiB (98.43%) 
  used: 3.58 TiB (99.8%) fs: ext4 block-size: 4096 B dev: /dev/sdf1 
  maj-min: 8:81 label: MediaC4 uuid: 8c0079d0-7c49-4ea4-9654-5af48c0b6104 
  ID-6: /data/MediaC5 raw-size: 5.46 TiB size: 5.41 TiB (99.21%) 
  used: 4.32 TiB (79.8%) fs: ext4 block-size: 4096 B dev: /dev/sdb1 
  maj-min: 8:17 label: MediaC5 uuid: 0510281d-0fb0-42cb-9843-5f629927b1e5 
  ID-7: /data/MediaC6 raw-size: 5.46 TiB size: 5.41 TiB (99.21%) 
  used: 974.82 GiB (17.6%) fs: ext4 block-size: 4096 B dev: /dev/sda1 
  maj-min: 8:1 label: MediaC6 uuid: 951e1f2f-f529-4ac1-ba5f-ade3c6836aa3 
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default) 
  ID-1: swap-1 type: partition size: 69.01 GiB used: 0 KiB (0.0%) priority: -2 
  dev: /dev/nvme1n1p2 maj-min: 259:2 label: N/A 
  uuid: 8b770d7d-f02c-4fe7-af3c-6addd00d6531 
Unmounted:
  ID-1: /dev/nvme0n1p1 maj-min: 259:4 size: 100 MiB fs: vfat label: N/A 
  uuid: 40F6-4C21 
  ID-2: /dev/nvme0n1p2 maj-min: 259:5 size: 16 MiB fs: N/A label: N/A 
  uuid: N/A 
  ID-3: /dev/nvme0n1p3 maj-min: 259:6 size: 465.15 GiB fs: ntfs label: N/A 
  uuid: C6F4F7CBF4F7BC2D 
  ID-4: /dev/nvme0n1p4 maj-min: 259:7 size: 508 MiB fs: ntfs label: N/A 
  uuid: B0E6AE06E6ADCCC2 
USB:
  Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 6 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Hub-2: 1-2:2 info: Genesys Logic Hub ports: 4 rev: 2.0 speed: 480 Mb/s 
  power: 100mA chip-ID: 05e3:0608 class-ID: 0900 
  Hub-3: 2-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.1 speed: 10 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
  Device-1: 2-1:3 info: JMicron / JMicron USA JMS539/567 SuperSpeed SATA 
  II/III 3.0G/6.0G Bridge 
  type: Mass Storage driver: usb-storage interfaces: 1 rev: 3.0 speed: 5 Gb/s 
  power: 8mA chip-ID: 152d:0539 class-ID: 0806 serial: <filter> 
  Device-2: 2-2:2 
  info: JMicron / JMicron USA JMS551 SuperSpeed two ports SATA 3Gb/s bridge 
  type: Mass Storage driver: usb-storage interfaces: 1 rev: 3.0 speed: 5 Gb/s 
  chip-ID: 152d:0551 class-ID: 0806 serial: <filter> 
  Hub-4: 3-0:1 info: Full speed (or root) Hub ports: 6 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Hub-5: 4-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.1 speed: 10 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
  Hub-6: 5-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Hub-7: 5-1:2 info: Terminus Hub ports: 4 rev: 2.0 speed: 480 Mb/s 
  power: 100mA chip-ID: 1a40:0101 class-ID: 0900 
  Device-1: 5-1.3:3 info: Logitech Unifying Receiver type: Keyboard,Mouse,HID 
  driver: logitech-djreceiver,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s 
  power: 98mA chip-ID: 046d:c52b class-ID: 0300 
  Hub-8: 6-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.1 speed: 10 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
Sensors:
  System Temperatures: cpu: 32.2 C mobo: 0 C gpu: nvidia temp: 33 C 
  Fan Speeds (RPM): N/A gpu: nvidia fan: 33% 
Info:
  Processes: 294 Uptime: 3m wakeups: 3 Init: systemd v: 247 tool: systemctl 
  Compilers: gcc: N/A Packages: 1176 pacman: 1170 lib: 397 flatpak: 0 snap: 6 
  Shell: Bash (sudo) v: 5.1.8 running-in: xfce4-terminal inxi: 3.3.04```

I will update my profile now as well.  Cheers!

Try 5.10 LTS, 5.12 Stable and 5.4 LTS in that order first

Execute:

nmcli connection show | grep ethernet

then look at the name your card comes up at and post the output of:

nmcli connection show "Wired connection 1" | grep wake

where obviously '"Wired connection 1" is the name that your specific card has.

:crossed_fingers:

Hi Fabby.
I tried booting from 5.10 LTS and then shutting down and see if it will wake. No dice.
Same for 5.12 Stable and 5.4 LTS. Good idea, but no luck.

Here is results of card info:

Wired connection 2  a6c56787-6dac-3304-9595-72543610a3c4  ethernet  enp7s0 
Wired connection 1  c924bbf1-f176-3401-b9fb-318f64922aa3  ethernet  --     

Here is what is showing for “Wired connection 2”

802-3-ethernet.wake-on-lan:             magic
802-3-ethernet.wake-on-lan-password:    --

I just wanted to report some good news:
with the 5.12 Stable on restore from Hibernate it does map my external USB drives now. So I have a working solution!! My preference would still be a full shutdown and boot from that if possible.

1 Like

So from a Manjaro POV it works now.

That is a feature of the:

  • NIC
  • MoBo
  • Your actual hardware Case
  • BIOS firmware

So please go to the forum for your specific hardware and find out which of the components in your hardware needs changing / connecting / … to go from S5 to power-up.

As this is now a HW problem, I’ve marked this answer as the solution.

Thanks for your help Fabby. I am headed in the right direction.
This is a linux issue though, as Windows 10 does boot from S5 to power-up with no issue.
So must be the linux NIC driver or the driver for the bus the NIC is connected to that doesn’t play nice with wake from S5. I will focus on the hardware forums from here.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.