WiFi connected but can’t reach most sites (18.10)

There is this computer that i got from work, it works well on work’s wifi, but when i bring it home wifi is connected but does not work. All my other devices, including my personal pc works just fine at my wifi.

I can access sites like google, youtube and fast.com, but if i try to ping i get 100% packet loss. Or if i try to access basically any other site it doesn’t work (i get timed out)

Things i tried:

Disabling IPV6.

Adding and to /etc/resolv.conf