Troubleshooting Wi-Fi and Ethernet in Linux: A Practical Guide