Package: guessnet Version: 0.41-1 Severity: normal I get quite results just invoking the following command line twice in same environment:
debian:/home/al# echo | guessnet-ifupdown --debug eth0 guessnet: 3 candidates found in input guessnet: Guessnet 0.41 starting... guessnet: Trying MII detection guessnet: 3 candidate profiles guessnet: Trying MII detection guessnet: Initialized test subsystems guessnet: Added "default" test none guessnet: Default test is none guessnet: Will check network iac for IP address 192.168.0.1 (MAC 00:04:23:b0:be:22) guessnet: Starting peer test subsystem guessnet: Sending 10 ARP probes, 1 every second... guessnet: Will check network gorod for IP address 192.168.1.1 (MAC 00:02:b3:50:54:35) guessnet: Sending 10 ARP probes, 1 every second... guessnet: Will check network home for IP address 192.168.0.1 (MAC 00:d0:b7:a8:88:38) guessnet: Sending 10 ARP probes, 1 every second... guessnet: Listen ARP guessnet: Started tests guessnet: 4 candidates guessnet: Got ARP reply from 192.168.0.1 00:04:23:b0:be:22 guessnet: ARP reply from 192.168.0.1 00:04:23:b0:be:22 matches guessnet: Got ARP reply from 192.168.1.1 00:04:23:b0:be:22 guessnet: Got ARP reply from 192.168.0.1 00:04:23:b0:be:22 guessnet: ARP reply from 192.168.0.1 00:04:23:b0:be:22 matches none debian:/home/al# echo | guessnet-ifupdown --debug eth0 guessnet: 3 candidates found in input guessnet: Guessnet 0.41 starting... guessnet: Trying MII detection guessnet: 3 candidate profiles guessnet: Trying MII detection guessnet: Initialized test subsystems guessnet: Added "default" test none guessnet: Default test is none guessnet: Will check network iac for IP address 192.168.0.1 (MAC 00:04:23:b0:be:22) guessnet: Starting peer test subsystem guessnet: Sending 10 ARP probes, 1 every second... guessnet: Will check network gorod for IP address 192.168.1.1 (MAC 00:02:b3:50:54:35) guessnet: Sending 10 ARP probes, 1 every second... guessnet: Will check network home for IP address 192.168.0.1 (MAC 00:d0:b7:a8:88:38) guessnet: Sending 10 ARP probes, 1 every second... guessnet: Listen ARP guessnet: Started tests guessnet: 4 candidates guessnet: Got ARP reply from 192.168.0.1 00:04:23:b0:be:22 guessnet: ARP reply from 192.168.0.1 00:04:23:b0:be:22 matches iac As you can see, first time i got 3 ARP replies and 2 matches, and 'default' connection guessed, which is wrong. Second time i got just 1 ARP reply, the match, and connection guessed properly. I believe, it sould be guessed right in both cases based on given ARP replies. My interfaces file contains: auto lo iface lo inet loopback mapping eth0 script guessnet-ifupdown map debug: true iface iac inet dhcp test peer address 192.168.0.1 mac 00:04:23:B0:BE:22 name iac iface gorod inet dhcp test peer address 192.168.1.1 mac 00:02:B3:50:54:35 name gorod iface home inet dhcp test peer address 192.168.0.1 mac 00:D0:B7:A8:88:38 name home iface none inet dhcp name unknown -- System Information: Debian Release: 4.0 APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.17-2-686 Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8) Versions of packages guessnet depends on: ii libc6 2.3.6.ds1-7 GNU C Library: Shared libraries ii libgcc1 1:4.1.1-19 GCC support library ii libnet1 1.1.2.1-2 library for the construction and h ii libpcap0.7 0.7.2-7 System interface for user-level pa ii libstdc++6 4.1.1-19 The GNU Standard C++ Library v3 guessnet recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]