Forget all that Rasspoe nonsense…
i had the same trouble after a windows update..
i set internet options for ipv4 and ipv6 to manual and entered the ip
addresses manually, and it didnt make any difference.
So here`s what to do.. and it takes a few minutes, and no experience required.
first turn power off and unplug all leads.
then remove the casing so you can see he motherboard.
remove the battery (looks like a watch battery)
then plug in monitor – keyboard and power lead and boot up.
you will get an error message stating that the pc cannot boot up, this is because the battery has been removed.
what you have actually now done is reset the bios
turn off the pc and remove all leads again, and insert the battery again.
reboot pc after plugging all leads back into the pc.
go to the internet icon in the bottom right hand side of the screen and open network and sharing folder. click on the area (on the map of your pc to internet) and it will run a diagnostic check for you, and repair the fault.