Score:0

How to configure Energy Efficient Ethernet (EEE) permanently off using netplan?

gb flag

I have a raspberry pi 4, with 22.04 installed. I keep getting drop outs from the network with errors in dmseg like

bcmgenet_xmit: tx ring 1 full when queue 2 awake

Another post suggested that this may be due to the EEE setting being on for the eth0. While I can set it off using

sudo ethtool --set-eee eth0 eee off

However, this doesn't persist over reboots.

How do I do this using netplan?

David avatar
cn flag
You already asked this in an earlier question today. https://askubuntu.com/questions/1435380/post-up-rule-not-setting-eee-off-post-reboot
Score:0
us flag

Netplan does not expose ethtool options through its schema. However, you could implement this either using a udev rule (run before the interface is brought up as soon as the hardware is detected), or a networkd-dispatcher script (run after the interface has been configured by netplan). Some ethtool options on some hardware cannot be configured while the interface is in "up" state, but if this one can, I recommend a networkd-dispatcher script as this is a simple shell script.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.