[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dreaded ethernet device renaming



On Wed, Mar 30, 2011 at 9:23 PM,  <briand@aracnet.com> wrote:
> I mean really, why does the system still do stupid sh*t like this.
>
>  renamed network interface eth0 to eth3
>
> Why oh why !  It was already eth0, what possible reason could it have
> to go rename it.
>
> oh and by the way, just to be maximally annoying, it most certainly
> decieds to name it something else every once in a while...
>
> Regardless, here's my udev line which does NOT work.
>
> KERNEL=="eth*",SUBSYSTEM=="net",ATTR{address}=="macaddress",NAME="eth0"
>
> I've triple-checked the mac address.
>
> Nor does the instructions in the wiki page work:
>
> KERNEL==”eth*”, SYSFS{address}==”00:12:34:fe:dc:ba”, NAME=”eth0″
>


This works on a Dell PowerEdge 2950 that presents the network
interfaces to the OS backwards:

SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:11:22:33:44:55", NAME="eth0"

The syntax you used worked for me with Lenny, but udev changes in
Squeeze need this syntax.

-- 
Matt


Reply to: