Author Topic: Baffled - RPi WiFi only seems to work when Ethernet is plugged in - SOLVED  (Read 1084 times)

0 Members and 1 Guest are viewing this topic.

Offline rx8pilotTopic starter

  • Super Contributor
  • ***
  • Posts: 3634
  • Country: us
  • If you want more money, be more valuable.
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.
« Last Edit: September 18, 2020, 09:42:16 pm by rx8pilot »
Factory400 - the worlds smallest factory. https://www.youtube.com/c/Factory400
 

Offline rx8pilotTopic starter

  • Super Contributor
  • ***
  • Posts: 3634
  • Country: us
  • If you want more money, be more valuable.
Re: Baffled - RPi WiFi only seems to work when Ethernet is plugged in
« Reply #1 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.
Factory400 - the worlds smallest factory. https://www.youtube.com/c/Factory400
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf