On Mit, 02 Feb 2005, Enrico Zini wrote:
> This should really be:
> 
>       test            peer address a.b.c.d mac xx.yy.zz.aa.bb.cc

Ok, now I have:
mapping eth0
        script guessnet-ifupdown
        map foobar
        map default: fallback
        map timeout: 3
        map verbose: true


iface foobar inet static
        address         a.b.c.d
        netmask         255.255.255.0
        gateway         e.f.g.h
        broadcast       a.b.c.255
        dns-search      .....
        dns-nameservers ......
        test            peer address e.f.g.h mac 00:00:0c:4a:3e:c8 source 
a.b.c.d

and if I run it through
        cat interfaces | guessnet-ifupdown -v -debug
I get
        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
and the same when I remove the source ... part.

So there is still a problem.

> guessnet should behave better on that, though: since you start the line
> with "test peer", it should realize that's something it should care
> about, complain about the wrong syntax and suggest the correct one.

Ok. This is true.

> Could you please paste me the part(s) of manpage which are unclear or
> contradictory?  It may be that the manpage has some problems that I,
> having written it, am not able to see.

Forget it, I didn't see that there are differnet descriptions for the
test, depending on the mode. 

But the problem is still the same, see above.

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
-------------------------------------------------------------------------------
Anyone who is capable of getting themselves made President
should on no account be allowed to do the job.
                 --- Some wisdom from The Book.
                 --- Douglas Adams, The Hitchhikers Guide to the Galaxy


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

Reply via email to