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

Re: systemd/udev persistent network device names



HI
sudo mv /lib/udev/rules.d/70-persistent-net.rules /lib/udev/rules.d/70-persistent-net.rules.bak
Das kann schonmal nicht stimmen. Die 70-persistent-net.rules steht in
/etc/udev/rules.d. In /lib/udev/rules gibt es nur eine
70-persistent-net-generator.rules.


udevd processes the rules files in lexical order, regardless of which directory they are located. Rules files in /etc/udev/rules.d override files of the same name in /lib/udev/rules.d.

70-persistent-net-generator.rules.

ist bei mir die 
/lib/udev/rules.d/75-persistent-net-generator.rules


und macht nichts anderes als :
# These rules generate rules to keep network interface names unchanged
# across reboots and write them to /etc/udev/rules.d/70-persistent-net.rules.

Zur Info:

[22:57:50]alex@debian:~$ systemd --version
systemd 215
+PAM +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ -SECCOMP -APPARMOR
[22:57:54]alex@debian:~$ lsb_release -a   
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 8.0 (jessie)
Release:        8.0
Codename:       jessie

Die persistent-net.rules muss raus damit es geht..
(3) Mit welcher Kombination aus udevadm-Spells kann ich mir die udev
properties aller Netzwerkdevices im System anschauen?
Versteh die Frage nicht...meinst du »udevadm test-builtin net_id» ???
>Vielleicht, aber es funktioniert nicht ("missing or unknown command").

[23:07:35]alex@debian:~$ udevadm test-builtin net_id /sys/class/net/eth0
calling: test-builtin
load module index
timestamp of '/etc/systemd/network' changed
timestamp of '/lib/systemd/network' changed
Parsed configuration file /lib/systemd/network/99-default.link
Created link configuration context.
ID_NET_NAME_MAC=enxbc5ff4e2f022
ID_OUI_FROM_DATABASE=ASRock Incorporation
ID_NET_NAME_PATH=enp0s25
unload module index
Unloaded link configuration context.


Alex

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: