hint :freebsd:

If you want to rename your network interface you can simply use:

$ sudo ifconfig em0 name lan0

(Renaming the interface to "lan0")

To make this permanent you can put the following into rc.conf/rc.conf.local:

ifconfig_em0_name="lan0"

0

If you have a fediverse account, you can quote this note from your own instance. Search https://mastodon.bsd.cafe/users/jhx/statuses/114909005455864547 on your instance and quote it. (Note that quoting is not supported in Mastodon.)