1 |
Hi! |
2 |
|
3 |
I'm running into problems combining network device hotplugging and udev |
4 |
network device renaming rules. |
5 |
|
6 |
Everything on its own works well: |
7 |
|
8 |
- I have a udev rule in /etc/udev/rules.d/... telling udev to rename an |
9 |
ethernet device based on its MAC address from say eth_old to eth_new. |
10 |
When I plug the device in its name it correctly changed by udev. |
11 |
|
12 |
- I have |
13 |
|
14 |
rc_hotplug="net.eth_old !net.*" |
15 |
|
16 |
in /etc/rc.conf. When I plug in the device it is automatically started |
17 |
and the dhcpcd client runs for it. |
18 |
|
19 |
When I combine both by using |
20 |
|
21 |
rc_hotplug="net.eth_new !net.*" |
22 |
|
23 |
then the device is renamed but no hotplugging occurs. When I use |
24 |
|
25 |
rc_hotplug="net.eth_old !net.*" |
26 |
|
27 |
then OpenRC tries to start up eth_old but fails to do so, because it has |
28 |
already been renamed to eth_new. |
29 |
|
30 |
Am I missing something here? Any help? |
31 |
|
32 |
Regards |
33 |
|
34 |
Matthias |
35 |
|
36 |
-- |
37 |
Matthias Gerstner, Dipl.-Wirtsch.-Inf. (FH) |
38 |
Entwicklung |
39 |
|
40 |
NCP engineering GmbH |
41 |
Dombühler Straße 2, D-90449, Nürnberg |
42 |
Geschäftsführer Peter Söll, HRB-Nr: 77 86 Nürnberg |
43 |
|
44 |
Telefon: +49 911 9968-153, Fax: +49 911 9968-229 |
45 |
E-Mail: Matthias.Gerstner@×××××.com |
46 |
Internet: http://www.ncp-e.com |