grana92 :
open CMD and type ipconfig, from the list you need IPv4 default gateway and your PC's IP adress
Go to your Network and sharing center > change adapter settings
In the adapter settings of your LAN connection (it should be the only one there) go to IPv4 settings, tick on "use these settings" or whatever:
Type your PC's IP adress in the first line
your Subnet will appear automatically and should be 255.255.255.0 (if it doesn't type it yourself)
Default Gateway - type the one from CMD
Under primary DNS type your default gateway again
Under secodary DNS type 8.8.8.8 (google's public DNS)
My default gateway is fe80:9e34:26ff:XXXX:XXXX. It can't be typed or pasted into the box. I'm assuming by my IP address you mean the one that shows up in the autoconfig ipv4, which is the 169.XXX one. My subnet mask was 255.255.0.0 instead of 255.255.255.0
I entered what values I could and sites now return the "there is no internet connection" error.