I have an issue with my Ubuntu 18.04.3 server. The server connects to my home network via wifi and has a static IP address. It works perfectly most of the time but I repeatedly experience the following:
I have gone through the logs for a successful and unsuccessful boot (success in terms of making a connection). The logs are broadly similar but I find a successful boot ends with:
wpa_supplicant: wlp1s0: WPA: Group rekeying completed with 40:0d:10:ad:70:2f [GTK=TKIP]
An unsuccessful boot appears to briefly establish a connection but then has:
wpa_supplicant: nl80211: deinit ifname=p2p-dev-wlp1s0 disabled_11b_rates=0 systemd: Stopping WPA supplicant for netplan wlp1s0... etc...
There is no explicit error, just messages about ending the connection. Does anyone have any ideas about why this might happen? Would it be possible to have a script run shortly after a reboot to see if a connection has been established and if not try to get one?