On Mon, Oct 24, 2005 at 12:08:17AM +0200, [EMAIL PROTECTED] wrote:

> $ ifup eth0
[...]
> guessnet: Got ARP reply from Ahost a
> guessnet: ARP reply from Ahost a matches
> # interface is up

> $ : | guessnet -i -v --debug
[...]
> guessnet: ARP reply from Ahost a matches
> A
> # network interface is still down

This seems to be working as intended: perhaps we're having a
misunderstanding about the role of guessnet.

The role of guessnet is to help ifup to understand which among various
available configurations should be used for an interface, not to bring
up the interface.  The job of bringing up the interface belongs to
ifupdown.

It goes like this:

 # ifup eth0
 ifupdown asks guessnet: "which profile should I use for eth0?"
 ...guessnet scans...
 guessnet replies ifupdown: "use profile Foobar"
 ifupdown brings eth0 up using profile Foobar

If you want an automatic system that brings up the network as you plug
it, then have a look at ifplugd: it will invoke ifup and ifdown when you
plug or unplug the cable.  ifupdown+guessnet+ifplugd makes for a nice
automatic system for transparent reconfiguration of the network.

If it's not a misunderstanding, then I'm not understanding what is that
isn't working for you and I need more help.


Ciao,

Enrico

--
GPG key: 1024D/797EBFAB 2000-12-05 Enrico Zini <[EMAIL PROTECTED]>

Attachment: signature.asc
Description: Digital signature

Reply via email to