i have tried everything i could possibly think of, but Linux will not connect to the internet until i restart it. it doesn’t matter what distro i use, it won’t connect. on windows, it connects immediately, but only with fast start enabled. i have reset the router, the BIOS is up to date, and I’ve tried pretty much every solution i could find online. at this point i think it’s a hardware issue, but I’d like to know if there’s anything i can try before giving up on Linux until i get a new PC. any help is greatly appreciated!
-
Go into your BIOS and disable Wake On Lan (WOL).
-
Boot Windows, start Device Manager, right click your network card (probably Intel I217-V) and disable all WOL settings there too.
-
Completely power down the PC (don’t just reboot) and then try booting Linux.
-
I would start in /var/log/messages, find any errors related. It sounds like a NIC issue…
I saw earlier you mentioned it’s an Optiplex, so I’m assuming this is an onboard NIC.
I’ve never had an onboard NIC not work out-of-the-box in Linux. Wifi, sure, but usually just certain chipsets with proprietary/closed firmware. Dell usually uses Intel NICs and they’re usually pretty solid and well supported.
Check to make sure that the NIC is enabled in BIOS.
If you have/had Windows on this PC, did it work there?
Does the NIC show in
lspci
orip a
?Try an external USB NIC. Or an internal PCIe one if you’re comfortable with that.
What’s the IP address (and related info, gateway and dns) you get on linux and what is the one in Windows?
Before you give up, maybe also try either a USB network adapter or (if your PC has space) an actual network card. Some of those can be incredibly affordable.
I have had Windows control the power setting of the card before, there were some settings in windows to alter how power was handled for the network adapter. Also some dell BIOSes have power settings for the mono/network that you can alter if its acting weirdly.
Model of the machine or the NIC/WiFi module would be useful.
it is a Dell optiplex 9020