Re: [gentoo-user] Re: problems with ifplugd

2006-04-04 Thread Neil Bothwick
On Mon, 03 Apr 2006 23:06:25 +0200, Sven Köhler wrote: Yes, read the example config file I mentioned. Which version baselayout do you have installed? My version is 1.11.14-r6, and that does not include that support yet - IMHO. Also my /etc/conf.d/net.example does not contain any hint

Re: [gentoo-user] Re: problems with ifplugd

2006-04-03 Thread Neil Bothwick
On Sun, 02 Apr 2006 20:47:18 +0200, Sven Köhler wrote: I would rather like, if ifplugd would automatically do the ifconfig up so that no configuration tweaks are needed. Of course, i also got to put the interface in the up state on boot, because i don't want to put net.eth0 in the

Re: [gentoo-user] Re: problems with ifplugd

2006-04-03 Thread Sergio Polini
Neil Bothwick: On Sun, 02 Apr 2006 20:47:18 +0200, Sven Köhler wrote: I would rather like, if ifplugd would automatically do the ifconfig up so that no configuration tweaks are needed. Of course, i also got to put the interface in the up state on boot, because i don't want to put

Re: [gentoo-user] Re: problems with ifplugd

2006-04-03 Thread Neil Bothwick
On Mon, 3 Apr 2006 20:25:40 +0200, Sergio Polini wrote: Of course, i also got to put the interface in the up state on boot, because i don't want to put net.eth0 in the default-runlevel for the case where there is no cable plugged in ... That's what you're doing wrong. Well...

[gentoo-user] Re: problems with ifplugd

2006-04-03 Thread Sven Köhler
Of course, i also got to put the interface in the up state on boot, because i don't want to put net.eth0 in the default-runlevel for the case where there is no cable plugged in ... That's what you're doing wrong. The net.eth* scripts will detect ifplugd and use it. Put net.eth0 in the

Re: [gentoo-user] Re: problems with ifplugd

2006-04-03 Thread Neil Bothwick
On Mon, 03 Apr 2006 21:56:40 +0200, Sven Köhler wrote: Saying AUTO=yes in /etc/conf.d/ifplugd is one way to keep the interface up - and at least for now, it's my preferred way. I don't see, why should write dirty hacks like the postdown()-thing in /etc/conf.d/net to keep the interface up.

Re: [gentoo-user] Re: problems with ifplugd

2006-04-03 Thread Neil Bothwick
On Mon, 03 Apr 2006 21:57:54 +0200, Sven Köhler wrote: net.eth0 detects ifplugd? Are you sure? Yes. As I said, I've been using it. Do i need to set anything special in /etc/conf.d/net? Yes, read the example config file I mentioned. -- Neil Bothwick WORM: (n.) acronym for Write Once, Read

[gentoo-user] Re: problems with ifplugd

2006-04-03 Thread Sven Köhler
net.eth0 detects ifplugd? Are you sure? Yes. As I said, I've been using it. Do i need to set anything special in /etc/conf.d/net? Yes, read the example config file I mentioned. Which version baselayout do you have installed? My version is 1.11.14-r6, and that does not include that

[gentoo-user] Re: problems with ifplugd

2006-04-02 Thread Sven Köhler
Try adding the following to /etc/conf.d/net: postdown() { test ${IFACE} = eth0 /sbin/ifconfig eth0 0.0.0.0 up return 0 } Thank you. That was a big help, but somehow disappointing. I would rather like, if ifplugd would automatically do the ifconfig up so that no

[gentoo-user] Re: problems with ifplugd

2006-04-02 Thread Sven Köhler
No, the interface needs to be up for mii stuff to work. Well, the proper sollution is: set AUTO=yes in /etc/conf.d/ifplugd, and ifplugd sets the interface to up automatically. signature.asc Description: OpenPGP digital signature