How to enable WiFi auto reconnect on a Raspberry Pi

In recent times my WiFi seems to have become a bit unstable. As if this wouldn’t be annoying enough, this also means that all my Rasperry Pis loose their WiFi connections as well and thus become unreachable.

Yet the sollution is pretty simple:

Well, there is a very simple solution:

  1. cd /etc/ifplugd/action.d/
  2. sudo mv ifupdown  ifupdown.original
  3. sudo cp /etc/wpa_supplicant/ifupdown.sh ./ifupdown
  4. sudo reboot

That’s it. Thanks Stackexchange for the great hit.