Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
fuss:debian [2020/02/28 05:41] – [Execute Java Program under Different JDK Version] officefuss:debian [2021/12/30 13:19] – [Disable nftables and Continue Using Legacy iptables] office
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>
 +
 +====== Disable nftables and Continue Using Legacy iptables ======
 +
 +<code bash>
 +update-alternatives --set iptables /usr/sbin/iptables-legacy
 +update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy
 +update-alternatives --set arptables /usr/sbin/arptables-legacy
 +update-alternatives --set ebtables /usr/sbin/ebtables-legacy
 +</code>
 +
 +====== Fix Issues on Release Change ======
 +
 +When a repository changes its release data the following error should appear when updating packages:
 +<code>
 +This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details
 +</code>
 +
 +the solution is to run ''apt'' as:
 +<code bash>
 +apt-get update --allow-releaseinfo-change
 +</code>
 +
 +with the extra ''--allow-releaseinfo-change''.
  
  

fuss/debian.txt · Last modified: 2024/02/24 18:50 by office

Access website using Tor Access website using i2p Wizardry and Steamworks PGP Key


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