From 0fa7a42ae7ee929d75592a8c4923502d0975fb44 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Wed, 3 Jun 2009 10:22:37 -0700 Subject: Add ethtool output to show tech-support More useful debugging information for network device issues. --- functions/tech-support | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'functions') 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 -- cgit v1.2.3