More ethtool updates

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5901 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2007-04-11 23:00:26 +00:00
parent 1da8adc130
commit 0c2c7c0e4c

View File

@ -330,16 +330,12 @@ bootentry = 'hda2:/boot/vmlinuz-xen,/boot/initrd-xen'</programlisting>
<para><command>ethtool -K eth0 tx off</command></para> <para><command>ethtool -K eth0 tx off</command></para>
<para>Under <trademark>SuSE</trademark> 10.1, I placed the following <para>Under <trademark>SuSE</trademark> 10.2, I placed the following
in <filename>/etc/sysconfig/network/if-up.d/resettx</filename> (that in
file is executable):</para> <filename><filename>/etc/sysconfig/network/ifcfg-eth-id-00:16:3e:b1:d7:90</filename></filename>
(the config file for eth0):</para>
<programlisting>#!/bin/sh <programlisting>ETHTOOL_OPTIONS='-K iface tx off'</programlisting>
if [ $2 = eth0 ]; then
ethtool -K eth0 tx off
echo "TX Checksum reset on eth0"
fi</programlisting>
<para>Under other distributions, the technique will vary. For example, <para>Under other distributions, the technique will vary. For example,
under <trademark>Debian</trademark> or <trademark>Ubuntu</trademark>, under <trademark>Debian</trademark> or <trademark>Ubuntu</trademark>,
@ -349,7 +345,7 @@ fi</programlisting>
<programlisting> iface eth0 inet static <programlisting> iface eth0 inet static
address 206.124.146.177 address 206.124.146.177
netmask 255.255.255.0 netmask 255.255.255.0
post-up ethtool -K eth0 tx off</programlisting> <emphasis role="bold">post-up ethtool -K eth0 tx off</emphasis></programlisting>
</caution> </caution>
<caution> <caution>