06-04-2018, 05:44 PM
Create a /etc/rc.local file with the following content and made sure it is executable (i.e. chmod +x /etc/rc.local):
Or add the ethtool line before the exit 0 line if the file already exists.
Then the command will run at the end of every boot. It may be possible to set it ealier, i.e. as a kernel argument, but I don't know the correct paramters for that if it is possible.
Code:
#!/bin/bash
ethtool -K eth0 tx off
exit 0
Or add the ethtool line before the exit 0 line if the file already exists.
Then the command will run at the end of every boot. It may be possible to set it ealier, i.e. as a kernel argument, but I don't know the correct paramters for that if it is possible.