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. |