Gentoo Archives: gentoo-user

From: "Sven Köhler" <skoehler@×××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: problems with ifplugd
Date: Sun, 02 Apr 2006 18:52:17
Message-Id: e0p67m$h8a$1@sea.gmane.org
In Reply to: Re: [gentoo-user] problems with ifplugd by Richard Fish
1 > Try adding the following to /etc/conf.d/net:
2 >
3 > postdown() {
4 > test "${IFACE}" = "eth0" && /sbin/ifconfig eth0 0.0.0.0 up
5 > return 0
6 > }
7
8 Thank you. That was a big help, but somehow disappointing.
9
10 I would rather like, if ifplugd would automatically do the "ifconfig up"
11 so that no configuration tweaks are needed.
12
13 Of course, i also got to put the interface in the "up" state on boot,
14 because i don't want to put net.eth0 in the default-runlevel for the
15 case where there is no cable plugged in ...
16
17 Therefor, at the moment, i also do a "ifconfig eth0 up" in
18 /etc/conf.d/local.start.

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] Re: problems with ifplugd Neil Bothwick <neil@××××××××××.uk>