Index: scripts/wifi_start_wpa_supplicant.sh =================================================================== diff -u -rc9f8f8cf3c6c37fc6460d8675c62c9442c4d4263 -r3e7cdf9b112dc6e865323e8381cecfd5d988a927 --- scripts/wifi_start_wpa_supplicant.sh (.../wifi_start_wpa_supplicant.sh) (revision c9f8f8cf3c6c37fc6460d8675c62c9442c4d4263) +++ scripts/wifi_start_wpa_supplicant.sh (.../wifi_start_wpa_supplicant.sh) (revision 3e7cdf9b112dc6e865323e8381cecfd5d988a927) @@ -23,8 +23,10 @@ iface=$1 wpa_supplicant_path=$2 -wpa_cli terminate -killall udhcpc -killall wpa_supplicant -sleep 1 -wpa_supplicant -B -i $iface -c $wpa_supplicant_path wext + +# restart the wpa_supplicant service for wifi +systemctl restart wpa_supplicant@"$iface".service + +# make sure that the ethernet is enabled +udhcpc eth0 & +