Skip to content

Systemd style NIC persisting naming for OpenWrt based on hotplug and netifd.

License

Notifications You must be signed in to change notification settings

pga2rn/nic-persist-naming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NIC-persist-naming

NIC persist-naming for OpenWrt based on netifd and hotplug.

ONLY PCI NIC WILL BE RENAMED, currently only being tested on KVM based OpenWrt VM.

Following naming scheme from systemd:

https://www.freedesktop.org/software/systemd/man/systemd.net-naming-scheme.html

Example:

DEVPATH: /devices/pci0000:00/0000:00:0a.2/net/eth3 (with dev_port 2)

NAMING: enp0s10f2d2 (Meanwhile, function 0 of this multiport NIC should be: enp0s10f0 (d0 is omitted))

About

Systemd style NIC persisting naming for OpenWrt based on hotplug and netifd.

Resources

License

Stars

Watchers

Forks

Packages

No packages published