Change port name
-
Hi
I want to change pfsense network port name from em0 to eth0.
i created /etc/rc.conf with this content:ifconfig_em0_name="eth0"
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.
-
Why?
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.