Skip to content

Commit

Permalink
Merge pull request #1608 from MrPaulAR/Issue-1607
Browse files Browse the repository at this point in the history
ethtool for multiple interfaces
  • Loading branch information
darylc authored Oct 16, 2023
2 parents 3e5cb42 + f15c9cc commit 62edce7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/troubleshootingCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
$commands = array(
// Networking
'Interfaces' => 'ifconfig -a',
'Wired' => 'ethtool eth0',
'Wired' => 'for interface in $(ifconfig | grep -oP "^\w+(?=:)" | grep "eth"); do echo ""; ethtool $interface; done',
'Wireless' => '(iwconfig ; echo ; echo ; cat /proc/net/wireless)',
'Routing' => 'netstat -rn',
'Default Gateway' => 'ping -c 1 $(netstat -rn | grep \'^0.0.0.0\' | awk \'{print $2}\')',
Expand Down

0 comments on commit 62edce7

Please sign in to comment.