Bug#630137: check-network-cable should be able to run without ethtool or mii-tool installed

2011-06-13 Thread Andrew O. Shadoura
Hello, On Sun, 12 Jun 2011 22:16:51 +0200 Javier Fernández-Sanguino Peña j...@computer.org wrote: On Sat, Jun 11, 2011 at 02:13:56PM +0300, Andrew O. Shadoura wrote: This isn't really needed as it can use `ip link show` to determine the interface status. I'm afraid I'm not sure that is

Bug#630137: check-network-cable should be able to run without ethtool or mii-tool installed

2011-06-12 Thread Javier Fernández-Sanguino Peña
On Sat, Jun 11, 2011 at 02:13:56PM +0300, Andrew O. Shadoura wrote: This isn't really needed as it can use `ip link show` to determine the interface status. I'm afraid I'm not sure that is correct. Take the following example of a system that has eth0 and eth1 and only the second one (eth0) has

Bug#630137: check-network-cable should be able to run without ethtool or mii-tool installed

2011-06-11 Thread Andrew O. Shadoura
Package: ifupdown-extra Version: 0.17 Severity: minor Currently, the script has the following check: # Do not continue if ETHTOOL and MIITOOL is not available [ ! -x $ETHTOOL ] [ ! -x $MIITOOL ] exit 0 This isn't really needed as it can use `ip link show` to determine the interface status.