Gentoo Archives: gentoo-user

From: nunojsilva@×××××××.pt
To: gentoo-user@l.g.o
Subject: [gentoo-user] udev rules and hibernation
Date: Mon, 04 Mar 2013 11:04:03
Message-Id: 878v63s9y5.fsf@ist.utl.pt
1 Hello,
2
3 Currently, I decided to rely on udev to give me predictable network
4 interface names. Strangely, the rules I am using do not seem to work
5 after resuming from hibernation.
6
7 For example, for one of my interfaces, I have
8
9 SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="xx:xx:xx:xx:xx:xx",
10 NAME="lan0"
11
12 (Where I obfuscated the MAC address.)
13
14 Now this rule *does* work, on a cold boot or if I rmmod and modprobe
15 after resuming, but, for some reason, it still comes up as ethX after
16 resuming. It seems the rule is not triggered at all when resuming.
17
18 Any ideas of what may be going on?
19
20 --
21 Nuno Silva (aka njsg)
22 http://njsg.sdf-eu.org/