[筆記] Realtek 網卡 ping 飄移/降速解決辦法
最近組了台桌機 板載的網卡是 Realtek 的 RTL8125 2.5GbE 跟 RTL8852CE 802.11ax
WiFi (RTL8852CE) 的部分在 Linux 上常常有 ping 飄高的狀況發生
加上以下 module parameter 設定以關閉網卡的 ASPM (Active State Power Management) 省電功能
`/etc/modprobe.d/rtw.conf`
```
options rtw89_pci disable_aspm_l1=y disable_aspm_l1ss=y
options rtw89_core disable_ps_mode=y
```
另外是有線 (RTL8125) 的 port 放久了之後會自己降速到 10M 而且還不會自動恢復
這是因為 EEE (Energy Efficient Ethernet) 的省電功能造成的
透過以下指令設定關閉 EEE
`sudo ethtool --set-eee eno1 eee off`
透過以下設定每次開機自動關閉
`/etc/udev/rules.d/99-disable-eno1-eee.rules`
```
ACTION=="add", SUBSYSTEM=="net", NAME=="eno1", RUN+="/sbin/ethtool --set-eee $name eee off"
```
2026-07-14 18:53:24
留言
Last fetch: --:--
現在還沒有留言!