Manjaro+微星B365M主板设置wol

wol(wake on Lan), 局域唤醒主机

  1. 首先需要在主板上设置网络唤醒,PCI唤醒
  2. Manjaro系统安装ethtool工具, 查看网卡是否支持wol
1
2
3
> sudo ethtool eno1
Supports Wake-on: pumbg
Wake-on: g
  1. 如果Wake-on参数是d(disabled),使用指令ethtool -s NIC_name wol g设置成g(magic packet activity)

  2. 查看tlp服务, 将tlp服务设置成开启自启

    • sudo systemctl status tlp
    • sudo systemctl enable tlp
  3. 更改tlp配置

    1
    2
    3
    4
    > vim /etc/tlp.conf

    TLP_ENABLE=1
    WOL_DISABLE=N

    其他

    无显示器设置x11vnc分辨率

    1. 安装xf86-video-dummy
    1
    ❯ sudo pacman -S dummy
    1. 添加配置文件
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    ❯ sudo vim /usr/share/X11/xorg.conf.d/xorg.conf

    Section "Device"
    Identifier "Configured Video Device"
    Driver "dummy"
    EndSection

    Section "Monitor"
    Identifier "Configured Monitor"
    HorizSync 31.5-48.5
    VertRefresh 50-70
    EndSection

    Section "Screen"
    Identifier "Default Screen"
    Monitor "Configured Monitor"
    Device "Configured Video Device"
    DefaultDepth 24
    SubSection "Display"
    Depth 24
    Modes "1024x800"
    EndSubSection
    EndSection
    1. reboot
作者

manu

发布于

2020-12-29

更新于

2023-01-06

许可协议


:D 一言句子获取中...