Change port name
I want to change pfsense network port name from em0 to eth0.
i created /etc/rc.conf with this content:
when i reboot pfsense box, this file is removed. Why this occurs? how can i change interface name permanently?
Why a conf file remove automatically in pfsense?
You can, and most likely will, break things by doing this. Don't.
i can add new interface name in config file.
did you hardcode anything about em0,….?
In some places it may use the NIC's name to ensure it is compatible with other subsystems such as traffic shaping, VLANs, and so on.
We designed it so that you do not need to know or care what the actual NIC names are post-install. What you're trying to do, as I said, will most likely break more than you believe it will help. Just leave it as it was.