1 |
Am Samstag 20 Juni 2009 09:06:51 schrieb Konstantinos Agouros: |
2 |
> Hi, |
3 |
> |
4 |
> I have a box that serves as a firewall and thus has different NICs. |
5 |
> However when booting I run into a problem: |
6 |
> |
7 |
> One of the NICs needs the de4x5 driver another the tulip one. Udev |
8 |
> loads tulip first, which then tries to claim the card the needs de4x5 |
9 |
> but this does not work. So I have to manually set things straight after- |
10 |
> wards. Is there a way to force it to first load de4x5 and then tulip? |
11 |
> /etc/modules.autoload.d seems to be used too late. |
12 |
|
13 |
You can let udev assign persistant names to your network interfaces. |
14 |
|
15 |
# cat /etc/udev/rules.d/10-local.rules |
16 |
KERNEL=="eth*", ATTRS{address}=="00:1c:25:1a:ee:0c", NAME="lan0" |
17 |
KERNEL=="wlan*", ATTRS{address}=="00:1e:4c:37:39:41", NAME="wlan0" |
18 |
|
19 |
Then create the appropriate symlinks for them in /etc/init.d. |
20 |
|
21 |
HTH... |
22 |
|
23 |
Dirk |