I have a Linux machine running Ubuntu 20.04 LTS, and I suspect it might have been compromised. The issue I'm facing is with the networking—specifically, it doesn't seem to send DHCP packets. I tried configuring a static IP address, but then it wouldn't send any DNS requests either. I'd like to know what files might have been affected and if there's a way to recover my system without having to reinstall or restore from a backup. Additionally, I'd appreciate advice on how to prevent this from happening in the future.
1 Answer
It sounds like you might be overthinking the troubleshooting! First, check if your machine can connect to the internet at all. If you’re manually assigning an IP address, ensure it's available in your network's address pool. You could use subnet calculators to help with this. Also, check your router settings to confirm it's not blocking connections.
Yeah, I only keep my gateway and my device on the subnet to avoid conflict.