Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
fuss:debian [2020/02/28 05:41]
office [Execute Java Program under Different JDK Version]
fuss:debian [2020/07/28 02:41] (current)
office [Recompile Debian Kernel]
Line 396: Line 396:
 where: where:
   * ''​-custom''​ is a build name appended to the kernel package that will be built.   * ''​-custom''​ is a build name appended to the kernel package that will be built.
 +
 +====== Persisting Network Hardware Settings ======
 +
 +When installing ''​ethtool''​ on Debian, a script is placed at ''/​etc/​network/​if-up.d/​ethtool''​ that, once an interface is brought up, runs through all the settings for all interfaces and makes changes to the hardware driver via ''​ethtool''​.
 +
 +The proper way to persist settings in Debian, for instance, to enable checksum offloading, is to make the settings in the interfaces file but without using an ''​up''​ or ''​post-up''​ script.
 +
 +For instance, the following settings will bring up the interface ''​eth0''​ via DHCP and then enable TSO on the interface:
 +<​code>​
 +auto eth0
 +iface eth0 inet dhcp
 +    offload-tx on
 +    offload-sg on
 +    offload-tso on
 +</​code>​
  
  

fuss/debian.txt ยท Last modified: 2020/07/28 02:41 by office

Access website using Tor Access website using i2p


For the copyright, license, warranty and privacy terms for the usage of this website please see the license, privacy and plagiarism pages.