Linux에서는 "ip link" 명령을 사용하여 PC의 특정 이더넷 포트를 닫습니다. 이렇게 하면 포트 LED가 잠시 꺼졌다가 다시 켜집니다(그러나 "ip link"를 사용하여 확인하면 연결이 여전히 끊어집니다).
네트워크 연결이 끊어졌을 때 LED를 꺼진 상태로 유지하는 방법이 있습니까?
IP 하나
4: eno1: <BROADCAST,MULTICAST> mtu 1500 qdisc mq state DOWN group default qlen 1000
link/ether 00:e0:1a:9f:81:87 brd ff:ff:ff:ff:ff:ff
altname enp3s0
에토레노1
Settings for eno1:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
2500baseT/Full
Supported pause frame use: Symmetric
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
2500baseT/Full
Advertised pause frame use: Symmetric
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Speed: 100Mb/s
Duplex: Full
Auto-negotiation: on
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
MDI-X: off (auto)
Supports Wake-on: pumbg
Wake-on: d
Current message level: 0x00000007 (7)
drv probe link
Link detected: no
ethtool -i eno1
driver: igc
version: 6.5.5-zen1-1-zen
firmware-version: 1073:8754
expansion-rom-version:
bus-info: 0000:03:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: yes