You are not logged in.
Pages: 1
On my T43p, I'm having problems keeping my interfaces from changing names. I've put the following in my udev rules:
(~) jayne $ cat /etc/udev/rules.d/01-network.rules
SUBSYSTEM=="net", SYSFS{address}=="00:11:22:33:44:55", NAME="eth0"
SUBSYSTEM=="net", SYSFS{address}=="aa:bb:cc:dd:ee:ff", NAME="eth1"
But it's not helping. They flop around anyways. It's an ipw2200 card as eth1 and tg3 as eth0.
Any helpful hints?
Offline
To me it seems that other rules besides udev.rules don't work anymore, but I will check that out to be sure.
[edit: checked out ... I was wrong, udev works fine]
1000
Offline
Using ethX as names has failed often in the past. Use non-standard names for the devices instead. Otherwise the rules are ok.
Offline
What's my alternative to keep the interface names stable?
Offline
Load the modules in the MODULES array, in the order you'd like to have them.
BTW, all that information is on the Udev wiki page.
Offline
Loading modules in a particular order does not help a lot when two, or more, interfaces use the same module.
What I've found works best, for me anyway, is dtw's suggestion from here:
http://bbs.archlinux.org/viewtopic.php? … ght=mactab
Search for mactab on that page. It requires an edit to /etc/rc.d/network, so it's not ideal, but until the ideal works (udev with ethX names) I'm going with it. It has been working for me on 4 or 5 machines (all with 2 to 3 interfaces) for a month now.
In my opinion, using a name other than ethX, in a udev rule, is not a fix, it's a workaround to a bug.
carb $ now; uname -a; uptime
Sun 03Jul11 14:54:25 CDT -0500
Linux carb 2.6.17-ARCH #1 SMP PREEMPT Fri Jul 7 09:15:53 CEST 2006 i686 Pentium III (Coppermine) GenuineIntel GNU/Linux
14:54:25 up 1463 days, 9:24, 1 user, load average: 1.00, 1.00, 1.00
Offline
Pages: 1