I have a headless server (Ubuntu Server 14.04 LTS) which I configured to connect to my WPA-protected wifi network at boot using the accepted answer in the link below (tl;dr: run wpa_supplicant from
It works beautifully, except when the network experiences a signal drop (like a router reset), after which the server is unreachable.
I've found a few threads that recommend writing a script, but I also found this: http://milkandtang.com/blog/2013/08/27/getting-wifi-on-a-headless-raspberry-pi/ which recommends replacing Raspbian's
/etc/ifplugd/action.d/ifupdown.sh file with the one supplied by wpa_supplicant. I'm using Ubuntu and I don't appear to have that file to begin with (I don't actually know what that file does but I assume it runs
ifup at some point), but it seems like there's a simpler way out of this than running a custom script. Am I missing something?