Fedora Network interface troubleshoot

I have a notebook with two type connections to out to internet: wireless and ethernet

I’m using Fedora 30

On my home wifi for some reason is very slow but the internet via cable is very good. My problem is my notebook is with some “bug” in ethernet interface network on fedora installation and this occurs some time yes some time no. No there have a pattern. When occurs this problem the O.S shows notifications there was a problem with following message:

Failed to enable network connection

How i can analizys what’s happining if this ocurrs only sometimes? And in this times occurs the network interface no have ip, mask and gateway.

output ifconfig when this problem occurs:

enp4s0f1: flags=4419<UP,BROADCAST,RUNNING,PROMISC,MULTICAST>  mtu 1500
        inet6 fe80::1cff:7e90:5526:4150  prefixlen 64  scopeid 0x20<link>
        ether 1c:39:47:5e:69:13  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 2622  bytes 413132 (403.4 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

After this occurs, could you run dmesg -Lalways | less +G and look for any errors? That will show the kernel logs starting at the bottom (the latest).

Also, could you run sudo lspci and see if you can find the name of your networking device(s)?

Hi @wleaom! Welcome to the community! Please do take a few minutes to go over the introductory posts in #start-here when you have the time. They contain lots of useful information.

Are you sure your problem doesn’t come from dhcp? Can you assign static IP, gateways and DNS addresses to your connection and test for some time if the problem persists?