Package: whereami
Version: 0.3.34
Severity: normal
Tags: patch

If mii-tool exists, and there is no link detected, the test script
doesn't bring down the interface.

--- /usr/share/whereami/tests/testmii 2008-01-16 09:56:22.000000000 -0500
+++ /usr/share/whereami/tests/testmii     2008-01-16 09:57:47.000000000 -0500
@@ -16,7 +16,7 @@
 
   # Don't exit on failure unless we confirm that mii-tool was supported
   # since it won't work on many modern Gb cards...
-  /sbin/mii-tool $1 2>&1 | grep "Operation not supported" >/dev/null || exit 1
+  /sbin/mii-tool $1 2>&1 | grep "Operation not supported" >/dev/null || 
(ifconfig $1 down; exit 1)
 fi
 
 if [ -x /usr/sbin/ethtool ] ; then


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (101, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.22.1
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)

Versions of packages whereami depends on:
ii  debconf [debconf-2.0]   1.5.14           Debian configuration management sy
ii  dhcp-client             2.0pl5-19.4      DHCP Client
ii  fping                   2.4b2-to-ipv6-14 sends ICMP ECHO_REQUEST packets to
ii  iputils-ping            3:20020927-3.1   Tools to test the reachability of 
ii  netbase                 4.27             Basic TCP/IP networking system
ii  perl                    5.8.8-7          Larry Wall's Practical Extraction 

Versions of packages whereami recommends:
ii  iputils-arping            3:20020927-3.1 Tool to send ICMP echo requests to
ii  resolvconf                1.36           nameserver information handler
ii  wireless-tools            29-1           Tools for manipulating Linux Wirel

-- debconf information:
* whereami/how_to_configure:



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to