If you got issues with your PS5 loses internet access, but not WiFi try this:
- Go into network settings
- Go to connections
- Find your WiFi
- Click options
- Change so the PS5 only uses 5.0GHz OR 2.4GHz and NOT both
This fixed the issue for me at least.
Never mind, got the same issue ones after writing this