Package: guessnet
Version: 0.33-1
Severity: important

Dear Maintainer!

I wanted to use guessnet but found that in ifupdownmode it is not
accepting any candidates.

If I have the following guessnet.conf file:
--------------- 8< -----------------
foobar peer a.b.c.d xx.yy.zz.aa.bb.cc e.f.g.h
--------------- 8< -----------------
and I call guessnet
        guessnet -v -C guessnet.conf
I get:
guessnet: 1 candidate profiles
guessnet: Starting test subsystem
guessnet: Sending 10 ARP probes, 1 every second...
foobar


But then I put this into the interfaces:
mapping eth0
        script guessnet-ifupdown
        map foobar
        map timeout: 3
        map debug: 1
        map verbose: true

iface foobar inet static
        address         e.f.g.h
        netmask         255.255.255.0
        gateway         a.b.c.d
        dns-search      .....
        dns-nameserver  .....
        test            peer a.b.c.d xx.yy.zz.aa.bb.cc e.f.g.h

and I call
        guessnet-ifupdown -v
it awaits an input, pressing Ctrl-D I get:
        guessnet: 0 candidate profiles
        No candidates provided: skipping detection
        none
If I make
        cat interfaces | guessnet-ifupdown -v
I get the same. With --debug:
        guessnet: 0 candidates found in input
        guessnet: Guessnet 0.33 starting...
        guessnet: Trying MII detection
        guessnet: 0 candidate profiles
        guessnet: Trying MII detection
        guessnet: Initialized test subsystems
        guessnet: Added "default" test none
        guessnet: Default test is none
        guessnet: Started tests
        No candidates provided: skipping detection
        none
I also tried using
        peer a.b.c.d mac xx.yy.zz.aa.bb.cc source e.f.g.h
etc, but with the same effect.

I also tried to give guessnet-ifupdown the virtual interface name on the
input, with no effect.

Thanks a lot for any hints wether I did something wrong or there is a
bug.


One comment: It is unclear from the manpage wether the peer test
contains the keywords `mac' and `source'. In the guessnet mode ther are
no keywords besides peer, in the interface mode there are. In the
Descripition of the supported tests there are the keywords, too. But the
only way I got it to see the right interface was without keywords.
Strange.



-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-mm3
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages guessnet depends on:
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  libgcc1                     1:3.4.3-7    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++5                  1:3.3.5-8    The GNU Standard C++ Library v3

-- no debconf information



Best wishes

Norbert

-------------------------------------------------------------------------------
Norbert Preining <preining AT logic DOT at>                 Università di Siena
sip:[EMAIL PROTECTED]                             +43 (0) 59966-690018
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
SKIBBEREEN (n.)
The noise made by a sunburned thighs leaving plastic chair.
                        --- Douglas Adams, The Meaning of Liff


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

Reply via email to