Ethernet (PPPOE) not working on startup

Hello , everyone

I have a problem. I have added a PPPOE connection by nmcli, and it’s working, but if I reboot the system, it’s not working. I need to unplug the LAN cable and plug it again to work, what could I do?

when i try to connect using the following nmcli command

nmcli connection up railwire

Error: Connection activation failed: No suitable device found for this connection (device enp4s0f4u1u4c2 not available because device has no carrier).

I’m using fedora 38 with Hyprland