On Sun November 26 2006 10:20, Roman Pretory wrote:
> 
> 
> Find where your host distribution keeps its udev rules,
> rename your nics using their hardware (mac) address, like:
> 
> [Debian/Etch location but rule content should be the same]
> in: /etc/udev/rules.d/z25_persistent-net.rules:
> 
> # You can modify these, as long as you keep each rule on a single line.
> 
> SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:00:e8:60:ba:8a",
> NAME="eth0"
> 
> SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:01:29:24:75:e9",
> NAME="eth1"
> 
> # USB device 0bda:8150 (rtl8150)
> SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:e0:4c:03:50:1d",
> NAME="eth2"
> 
> Mike
> 
> 
> Thanks
> 
> Usb not used and removed all modules
>

My PCI nics are not hot-swappable, the USB nic is - that entry just
shows that things work as expected as I move the nic around the USB tree.

> to bind ore fix nic/mag/driver makes troubles by cloning or changing nic :-(
>

True - but naming by hardware address is not the only choice.
See: man udevinfo  and the option: --attribute-walk

> only useable diver module select and there to much :-)

You can specify the driver module to be used (untested here).

> could brake remote access so have to find differt way
> but good to know keep it in mind
>

And if all the built-in features fail your needs, a rule
can run an external script (untested here).

> 
> 
> but by the way why a stable patch for a developer(unstable)Kernel(17)??
> ore are by information about not up to date?
> 

I do not have a clue to that answer.

The files on kernel.org show that 2.6.16 and 2.6.18 are being maintained
more recently than 2.6.17 - I do not know why that is.

> BRG
> Roman 
> 
Mike
_______________________________________________
Vserver mailing list
[email protected]
http://list.linux-vserver.org/mailman/listinfo/vserver

Reply via email to