When I connect the LAN cable to the computer, I do not get internet access. On startup it takes some time to raise network interfaces sometimes and on shutting it down it takes time sometimes, not always though. My WiFi works perfectly and I have internet access on it. When I connect a LAN cable, it does not connect to the internet. Firefox keeps loading but nothing shows up. It cannot ping websites or the website IPs. I can ping local IPs though.

This issue came up around a month ago and have been unable to find a solution for this.

Any help would be appreciated, thanks!