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

Re: eth* devices (again)




Here are the rules I've used before (anonymized a bit):

KERNEL=="eth*", SYSFS{address}=="xx:xx:xx:xx:xx:xx", NAME="eth0"
KERNEL=="eth*", SYSFS{address}=="xx:xx:xx:xx:xx:xx", NAME="eth1"

This CANNOT work!
If eth0 is taken by something, you cannot assign it again by such rules, so all of them will fail.
Give your devices descriptive names:
eth_lan0
eth_wlan0
eth_fw0

Wow, thanks for that bit of info. I had done exactly that at one point thinking this same-naming issue might be an issue. But the wireless card broke badly at that point (later it turned out to be a non-related issue, but that certainly wasn't apparent at the time).

I do now have names like "eth-lan", "eth-fw", etc., for my devices and the renaming seems to be working fine (as I indicated elsewhere).

So I was doing two things wrongly:

1. didn't give the udev config the right HW address for my wireless card (still not sure why that was the case)

2. attempted to rename eth* devices with poorly chosen names.

Thanks,
Rick Reynolds
--
I say to all you criminals out there: Knock off all that evil! -- The Tick



Reply to: