So I tried to make an ssh connection with my raspberrypi (running raspbian ) over ethernet. This used to work but somehow it doesn't anymore. I think the issue is that my raspberry pi can't get an ipadress, but how do I fix this? I have tried to clear the cache and all but with no success. Anyone ideas?
Because you guess that the RasPi may not get an ip address I assume that you are using a DHCP server on your network. Depending on the network environment it may be possible the pool of ip addresses, reserved to give to devices, is used up. Check your DHCP server and if required increase the pool for reserved ip addresses.