# How to make network ring buffer settings permanent at reboot

**URL:** <https://forums.suse.com/t/how-to-make-network-ring-buffer-settings-permanent-at-reboot/34063>\
**Category:** SLES Networking\
**Created:** [June 12, 2019, 1:13pm UTC](https://forums.suse.com/t/how-to-make-network-ring-buffer-settings-permanent-at-reboot/34063 "2019-06-12T13:13:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ronanb78](https://avatars.discourse-cdn.com/v4/letter/r/858c86/32.png) [@ronanb78](https://forums.suse.com/u/ronanb78)\
**Post date:** [June 12, 2019, 1:13pm UTC](https://forums.suse.com/t/how-to-make-network-ring-buffer-settings-permanent-at-reboot/34063/1 "2019-06-12T13:13:48Z")

</div>

Hi,

I can use the ‘ethtool -G|–set-ring devname’ options to set the RX/TX ring buffer settings.  
But how can I set the new settings on reboot? What file/directory location do I need to edit?

Thanks

---

<div class="post-metadata">

**Author:** ![Andreas1](https://avatars.discourse-cdn.com/v4/letter/a/d26b3c/32.png) [@Andreas1](https://forums.suse.com/u/Andreas1)\
**Post date:** [June 13, 2019, 11:19pm UTC](https://forums.suse.com/t/how-to-make-network-ring-buffer-settings-permanent-at-reboot/34063/2 "2019-06-13T23:19:40Z")

</div>

This solution is only for network cards managed by NetworkManager (under SLED12 SP4).

[CODE]#!/bin/bash  
#########################################################################

# /etc/NetworkManager/dispatcher.d/ethtool.sh

#########################################################################

INTERFACE=$1  
ACTION=$2

# 

# paranoia

# 

umask 022  
PATH=/bin:/usr/bin  
export PATH

case “$2” in  
up)  
/usr/sbin/ethtool --set-ring   
;;

```
    *)
            exit 0

```

esac  
[/CODE]

Don’t forget the execute flag:

# chmod u+x,g+x,o+x /etc/NetworkManager/dispatcher.d/ethtool.sh
