Re: AW: AW: [Vserver] kernel-2.6.17.13

From: Michael S. Zick <mszick_at_morethan.org>
Date: Sun 26 Nov 2006 - 16:55:26 GMT
Message-Id: <200611261055.26306.mszick@morethan.org>

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
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Sun Nov 26 16:58:56 2006

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sun 26 Nov 2006 - 16:59:02 GMT by hypermail 2.1.8