My Volumio 2 RPi3 connects to my home Wifi. After a Wifi outage, the Wifi AP is back on. My Windows laptop got its Wifi IP after about a minute. I ssh into my RPi via eth0 and find that after several minutes, my wlan0 is showing:
192.168.211.1 (self-assigned IP instead of 192.168.1.19 assigned from Wifi equipment)
Obviously I can’t ping RPi from my laptop via Wifi.
I tried the following:
sudo iwlist wlan0 scan
It shows my home’s Wifi is the strongest signal of all Wifi networks it sees.
sudo ifdown --force wlan0 sudo ifup --force wlan0
After waiting a couple minutes, still have wlan0 IP 192.168.211.1 instead of 192.168.1.19.
I reboot the RPi and all is well.
How can this be fixed without resorting to rebooting the RPI?