When I try to connect my computer to the internet via Ethernet I get 'unidentified network', my IP address becomes 169.254.xx.xx and has no default gateway.
Setting a static IP address still gives me the 'unidentified network'.
I've checked the DHCP settings on my router and they are all fine.
I've tried replacing my ethernet cables too as a few sources says it may be a faulty wire.

edit:
forgot to actually ask a question. Does anyone know a possible way to fix this issue?
Also I've already tried the suggested fixes listed here:
[I am using Windows 7 and I get a 169.254.x.x ip address](https://superuser.com/questions/840388/i-am-using-windows-7-and-i-get-a-169-254-x-x-ip-address) to no avail. WiFi works just fine so it's not that. I've tried replacing the cables and nothing. I am using a powerline adapter so it might be those.