시놀로지 절전모드 해두면

하드랑 전부 절전모드로 있다가 삼바 접속 시도하면 살아나도록 되어있는데

완전 꺼져있다 켜지는건 아니고

Suspend to RAM 에서 LAN은 살아있다가 깨어 나도록 설정하는 것이고


그게 APCI S3 모드 인듯?

$ aptitude install pm-utils

$ cd /usr/lib/pm-utils/sleep.d/

$ sudo vi 70wol

#!/bin/bash

ethtool -s eth0 wol pug

$ sudo chmod +x 70wol

$ sudo pm-suspend


[링크 : https://superuser.com/.../is-it-possible-to-wake-up-an-acpi-s3-suspended-linux-system-with-an-smb-packet]


The ACPI specification defines the following four global "Gx" states and six sleep "Sx" states for an ACPI-compliant computer system:[23][24]

  • G0 (S0), Working: The computer is running and the CPU executes instructions. "Awaymode" is a subset of S0, where monitor is off but background tasks are running.
  • G1Sleeping: Divided into four states, S1 through S4:
    • S1Power on Suspend (POS): Processor caches are flushed, and the CPU(s) stops executing instructions. The power to the CPU(s) and RAM is maintained. Devices that do not indicate they must remain on may be powered off.
    • S2: CPU powered off. Dirty cache is flushed to RAM.
    • S3, commonly referred to as Standby, Sleep, or Suspend to RAM (STR): RAM remains powered.
    • S4Hibernation or Suspend to Disk: All content of the main memory is saved to non-volatile memory such as a hard drive, and the system is powered down.
  • G2 (S5), Soft Off: G2/S5 is almost the same as G3 Mechanical Off, except that the power supply unit (PSU) still supplies power, at a minimum, to the power button to allow return to S0. A full reboot is required. No previous content is retained. Other components may remain powered so the computer can "wake" on input from the keyboard, clock, modemLAN, or USB device.
  • G3Mechanical Off: The computer's power has been totally removed via a mechanical switch (as on the rear of a PSU). The power cord can be removed and the system is safe for disassembly (typically, only the real-time clock continues to run using its own small battery). 

[링크 : https://en.wikipedia.org/wiki/Advanced_Configuration_and_Power_Interface]

Posted by 구차니