Change network interface name
I can not change the name of the network interface by /etc/rc.conf, it does not work. But if I use the ifconfig command in the shell I can change. But when I restart PFSense, I lose the changes.
Can someone help me ?
All the system config is generated at boot from the pfSense config file. Any changes you make outside that will be lost.
That is the expected behaviour. Use the webgui to make interface changes.
In this case, can I change the names of network interfaces by WebGui? Example: re0 for re2?
Can you give me an orientation?
No. They are enumerated by the operating system. Why do you care what the physical name is?
If you have, for example, LAN on re0 and want it on re2, you can make that change in Interfaces > Assignments as long as re2 is not assigned to anything else.