testmii doesn't work unless the interface is configured
Bug #1813 reported by
John Fettig
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
whereami (Debian) |
Fix Released
|
Unknown
|
|||
whereami (Ubuntu) |
Fix Released
|
Low
|
MOTU |
Bug Description
Unless the interface being tested is configured (ifconfig $if up), testmii will not work properly.
I put a check in to make sure the
interfaces is up. The test does "sleep 10" because
ifconfig returns before the interface is actually ready to be tested. 5
was too short -- testmii will work after 5 but testarp won't. Didn't
test to find the absolute shortest time. It would be nice if there was
some way to force ifconfig to wait until the interface is usable before
returning.
This is documented in the forums as well -- http://
Changed in whereami: | |
assignee: | nobody → motu |
Changed in whereami: | |
status: | Unconfirmed → Confirmed |
To post a comment you must log in.
Package: whereami
Version: 0.3.20
Followup-For: Bug #285703
I ran into the same situation, and I agree this would be a very convenient feature.
-- System Information: ISO-8859- 1)
Debian Release: 3.1
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.11-1-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=
Versions of packages whereami depends on:
ii debconf 1.4.30.13 Debian configuration management sy
ii iputils-ping 3:20020927-2 Tools to test the reachability of
ii netbase 4.21 Basic TCP/IP networking system
ii perl 5.8.4-8 Larry Wall's Practical Extraction
-- debconf information excluded