summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-06-03 10:22:37 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-06-03 10:22:37 -0700
commit9c49984ae0d9b36f02f4481b48901a72f05460b2 (patch)
treeafc5e24860d6f844bfd41da176a727630bdefa38
parent57e7c46c34e6d95f57574bd3981b1f18777363a5 (diff)
downloadvyatta-op-9c49984ae0d9b36f02f4481b48901a72f05460b2.tar.gz
vyatta-op-9c49984ae0d9b36f02f4481b48901a72f05460b2.zip
Add ethtool output to show tech-support
More useful debugging information for network device issues.
-rwxr-xr-xfunctions/tech-support7
1 files changed, 7 insertions, 0 deletions
diff --git a/functions/tech-support b/functions/tech-support
index 9f7c198..f7d5c18 100755
--- a/functions/tech-support
+++ b/functions/tech-support
@@ -84,8 +84,15 @@ header System Info
${vyatta_bindir}/vyatta-show-dmi
header Interfaces
+show interfaces
+echo
show interfaces detail
+for eth in $(/opt/vyatta/sbin/vyatta-interfaces.pl --show=ethernet)
+do header "Ethtool statistics for $eth"
+ sudo ethtool -S $eth
+done
+
header Devices
cat /proc/devices