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

Re: Need current Debian _specific_ HOWTO for vnstat



On 10/16/25 11:11, Richard Owlett wrote:

All the instructions I've seen depend on device naming conventions that Debian has not used since Stretch.
[ See https://wiki.debian.org/NetworkConfiguration which says:
   > Since Stretch, old-style interface names (eth0, wlan1 etc.) have
   > been replaced by names based on hardware location (enp0s31f6,
   > wlp1s7 etc.). For USB dongles, these can even include the MAC
   > address: enx2c56ac39ec0d).
]

eben@cerberus:~$ cat /etc/udev/rules.d/70-persistent-net.rules
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:1b:21:b6:8a:84", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"


Reply to: