Package: moreutils Version: 0.17 Severity: normal
Logged on now, via the modem, and 'ppp0' DL'ing stuff... during which: # show hardware address of NIC % ifdata -ph eth0 ; echo $? 00:08:C7:C9:17:A9 0 ...good so far, but: # for the modem? % ifdata -ph ppp0 ; echo $? 00:00:00:00:00:00 0 # loopback? % ifdata -ph lo ; echo $? 00:00:00:00:00:00 0 ...the output for 'ppp0' and 'lo' seems mistaken, neither interface has an Ethernet address; even if they had, they wouldn't share the same address. And the error code shouldn't be '0'. 'man ifdata' on '-ph': % man ifdata | grep -n \\\-ph 27: -ph Prints the hardware address of the interface. ...is too general. Suggested revision: -ph Prints the hardware address of an ethernet interface, e.g. 'eth0', 'eth1', etc. It would be better if 'ifdata' returned an error code and message that goes something like: % ifdata -ph ppp0 ; echo $? ifdata: '-ph' switch error: 'ppp0' interface is not a hardware ethernet card. 2 Hope this helps... -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.16-2-686 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C) Versions of packages moreutils depends on: ii libc6 2.3.6.ds1-4 GNU C Library: Shared libraries ii perl 5.8.8-6.1 Larry Wall's Practical Extraction moreutils recommends no packages. -- debconf-show failed -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]