![Wake-on Lan 설정을 변경하는 방법은 무엇입니까?](https://rvso.com/image/1000386/Wake-on%20Lan%20%EC%84%A4%EC%A0%95%EC%9D%84%20%EB%B3%80%EA%B2%BD%ED%95%98%EB%8A%94%20%EB%B0%A9%EB%B2%95%EC%9D%80%20%EB%AC%B4%EC%97%87%EC%9E%85%EB%8B%88%EA%B9%8C%3F.png)
유선 인터넷 연결에 문제가 있습니다.
ifconfig
enp3s0 Link encap:Ethernet HWaddr 70:4d:7b:31:40:67
inet addr:10.129.45.123 Bcast:10.129.63.255 Mask:255.255.224.0
inet6 addr: fe80::ae56:1e47:3b4f:9147/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:94 errors:0 dropped:0 overruns:0 frame:0
TX packets:42 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:6204 (6.2 KB) TX bytes:6856 (6.8 KB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:628 errors:0 dropped:0 overruns:0 frame:0
TX packets:628 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:48976 (48.9 KB) TX bytes:48976 (48.9 KB)
그리고 이것이 내가 ethtool로 얻은 것입니다.
ethtool enp3s0
Settings for enp3s0:
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
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised pause frame use: Symmetric Receive-only
Advertised auto-negotiation: Yes
Link partner advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Link partner advertised pause frame use: Symmetric Receive-only
Link partner advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: MII
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Cannot get wake-on-lan settings: Operation not permitted
Current message level: 0x00000033 (51)
drv probe ifdown ifup
Link detected: yes
sudo를 사용하면 두 줄만 변경됩니다.
Supports Wake-on: pumbg
Wake-on: g
이것은 무엇을 의미 하는가?
월 설정을 어떻게 변경하나요? Ubuntu 부팅 후 WOL이 작동을 멈춥니다.
위 링크에서 스크립트를 변경해야 하나요?
답변1
WoL 기능을 사용하려면 먼저 BIOS/네트워크 카드에서 WoL 기능이 활성화되어 있는지 확인해야 합니다.
활성화된 경우 를 사용하여 ethtool
현재 설정을 확인할 수 있습니다.
ethtool이 누락된 경우 를 통해 설치할 수 있습니다 sudo apt install ethtool
.
사용 가능해지면 다음 명령을 통해 설정을 확인할 수 있습니다.
sudo ethtool [yourInterface]
예를 들어sudo ethtool enp0s3
줄을 찾아보세요Wake-on: d
값이 "d"인 경우 다음 명령을 사용하여 활성화할 수 있습니다.
sudo ethtool -s [yourInterface] wol g
예를 들어sudo ethtool -s enp0s3 wol g
값이 "g"인 경우 다음을 통해 비활성화할 수 있습니다.
sudo ethtool -s [yourInterface] wol d
예를 들어sudo ethtool -s enp0s3 wol d