EEVblog Electronics Community Forum

Products => Computers => Embedded Computing => Topic started by: rx8pilot on September 16, 2020, 10:57:20 pm

Title: Baffled - RPi WiFi only seems to work when Ethernet is plugged in - SOLVED
Post by: rx8pilot on September 16, 2020, 10:57:20 pm
I have an RPi 3B that has been doing a simple headless automation task for a few years. It has been connected via WiFi all this time.

Last week, it stopped responding and I realized it was not connected to the WiFi anymore. I then attached an ethernet cable to troubleshoot. The ethernet immediately got a DHCP issued address, but the WiFi also connected. I was not expecting the cable to have anything to do with the Wireless.

As long as the cable is plugged in (which gets its own unique IP) the WiFi works. I can SSH to the IP given to the WLAN interface until the ethernet cable is disabled or disconnected.

Not sure where to start on this, but guessing this may be a question for someone far more pro in Linux than me. Personally, I have never seen this behavior before.
Title: Re: Baffled - RPi WiFi only seems to work when Ethernet is plugged in
Post by: rx8pilot on September 18, 2020, 09:42:00 pm
Found the problem.....

The person that setup this RPi had set a static gateway on the wireless interface. It looks like it was full DHCP on the surface. Sneaky little problem for a non-pro like me.

I generally go full static or full DHCP.