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

Re: ADDRCONF(NETDEV_UP): eth1: link is not ready [diagnosed]



On Mon, 17 Apr 2006 11:59 pm, Florian Kulzer wrote:

[...]

>
> You can either use mapping in /etc/network/interfaces or write udev
> rules to control the assignment of the names. A nice summary was given a
> while ago by Seeker5528:
> http://lists.debian.org/debian-user/2006/01/msg00075.html
>
> I always had trouble when I tried to assign ethX names with the udev
> rules, so I use a slightly modified approach:
> http://lists.debian.org/debian-user/2006/01/msg03434.html
>

[...]

I've been trying to solve this minor annoyance on an up-to date testing system 
ever since udev. I think I have followed the approaches you refer to above; 
but I was using eth* names and found that about 10% of the time, interface 
names were scrambled, as you mention in your linked post.

I just tried using this /etc/udev/rules.d/10_local_rules (a link 
to /etc/udev/local_rules):

		KERNEL=="eth*", SYSFS{address}=="00:40:ca:c0:d9:a6", NAME="ethernet"
		KERNEL=="eth*", SYSFS{address}=="00:0c:f1:15:c6:e3", NAME="wireless"
		KERNEL=="eth*", SUBSYSTEM=="ieee1394", NAME="firewire" 

however, it does not succeed in renaming the interfaces as I expected.

Is there something I'm missing?

Thanks,

John



Reply to: