| lechner | Hi, I use eudev as part of GNU Guix. What's the easiest way I may switch to MAC based device names (ID_NET_NAME_MAC) for all my devices, please? | 22:46 |
|---|---|---|
| lechner | My background is that GNU Guix is a declarative operating system. One of my devices will not boot when I add an unrelated PCI card (an SAS disk controller).Thanks! | 22:51 |
| Arsen | SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="01:23:45:67:89:ab", NAME="something", but you could also match that ID_NET_NAME_MAC is nonempty and assign NAME to that | 22:54 |
| Arsen | hmm | 22:54 |
| Arsen | seems that I lost my sentence | 22:54 |
| Arsen | I'd just do something like SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="01:23:45:67:89:ab", NAME="something", but you could also match that ID_NET_NAME_MAC is nonempty and assign NAME to that if you insist on using MAC-based naming | 22:54 |
| lechner | Arsen / thanks! how about something like this? https://paste.debian.net/1280107/ | 22:56 |
| Arsen | would likely work if that happens early enough not to have the name already set by some other rules | 22:56 |
| lechner | i modified something called 80-net-name-slot.rules here. what if i name my file 01-net-name-mac.rules? | 22:58 |
| Arsen | I *think* that works, try it | 22:58 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!