NAMEIF(8)
π NAMEIF(8) β nameif manual π
β¨ NAME β¨
nameif β name network interfaces based on MAC addresses π¦
π SYNOPSIS π
nameif [-c configfile] [-s]
nameif [-c configfile] [-s] {interface macaddress}
πΈ DESCRIPTION πΈ
okay so nameif is literally the bestie that renames your network interfaces based on their MAC addresses π
no cap. When you don't give it any arguments, it goes and reads /etc/mactab π. Each line in there holds an interface name and an Ethernet MAC address. Comments are allowed, you just start them with # π.
If you do pass arguments, it skips the file and processes the interfaces you typed on the command line instead. nameif hunts down the interface with the given MAC address and renames it to whatever name you gave it π§. Iconic.
When you add the -s argument, all error messages get sent to the syslog π. Lowkey the move if you want a paper trail π.
When you add the -c argument with a file name, it reads that file instead of /etc/mactab π«Ά.
π¦ OPTIONS π¦
-cconfigfile β use this config file instead of/etc/mactabπ-sβ send all error messages to the syslog π₯
π NOTES π
β οΈ bestie, nameif should be run before the interface is up, otherwise it'll fail π
π FILES π
/etc/mactab
π BUGS π
π it only works for Ethernet currently, so no other interface types for now π
net-tools Β· 2008-10-03 Β· NAMEIF(8) π that's a wrap, bestie! Stay iconic and keep those interfaces named right πβ¨
π¦ where this page comes from
- alpine 3.22: net-tools-doc 2.10-r3 Β· GPL-2.0-or-later
- alpine 3.23: net-tools-doc 2.10-r3 Β· GPL-2.0-or-later
- alpine 3.24: net-tools-doc 2.10-r3 Β· GPL-2.0-or-later
- arch rolling: net-tools 2.10-3 Β· GPL2
- debian bookworm: net-tools 2.10-0.1+deb12u2 Β· GPL-2.0-or-later
- debian trixie: net-tools 2.10-1.3 Β· GPL-2.0-or-later
- nixpkgs unstable: net-tools 2.10
- opensuse-leap 16.0: net-tools 2.10-160000.4.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: net-tools 2.10-160000.4.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: net-tools 2.10-160000.4.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: net-tools 2.10-160000.4.1 Β· GPL-2.0-or-later
- ubuntu jammy: net-tools 1.60+git20181103.0eebece-1ubuntu5 Β· GPL-2.0-or-later
- ubuntu jammy: net-tools 1.60+git20181103.0eebece-1ubuntu5.4 Β· GPL-2.0-or-later
- ubuntu noble: net-tools 2.10-0.1ubuntu4 Β· GPL-2.0-or-later
- ubuntu noble: net-tools 2.10-0.1ubuntu4.4 Β· GPL-2.0-or-later
- ubuntu questing: net-tools 2.10-1.3ubuntu2 Β· GPL-2.0-or-later
- ubuntu resolute: net-tools 2.10-2ubuntu1 Β· GPL-2.0-or-later
- ubuntu stonking: net-tools 2.10-2ubuntu1 Β· GPL-2.0-or-later
- π girlified by anthropic/claude-haiku-5.5 on : a language model's rewrite of the original, under its terms