Code: Alles auswählen
root@Taomon:/home/alex# cat /etc/udev/rules.d/aa-persistent-net.rules
# This file was automatically generated by alex
# program, run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and change only the value of the NAME= key.
# PCI device 0x8086:0x0085 (iwlwifi)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="60:67:20:6d:70:b0", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"
# PCI device 0x8086:0x1502 (e1000e)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:21:cc:ce:85:21", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="enp0s25", NAME="eth0"
# Ether modem
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="82:4b:3d:6e:c6:14", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNELS=="usb*", NAME="usb0"
root@Taomon:/home/alex#
Code: Alles auswählen
root@Taomon:/home/alex# cat /root/99-default.link
[Link]
NamePolicy=kernel database onboard slot path
MACAddressPolicy=persistent
root@Taomon:/home/alex#
Gruß Taomon