Index: scripts/run.sh =================================================================== diff -u -rc9f8f8cf3c6c37fc6460d8675c62c9442c4d4263 -r1b3aaa73b465d2071c76d51fce511c98e491686f --- scripts/run.sh (.../run.sh) (revision c9f8f8cf3c6c37fc6460d8675c62c9442c4d4263) +++ scripts/run.sh (.../run.sh) (revision 1b3aaa73b465d2071c76d51fce511c98e491686f) @@ -121,7 +121,7 @@ # ----------------------------------------- WiFi post_log_dash " WiFi " -killall wpa_supplicant 1>> $POSTOUT 2>> $POSTERR +systemctl start wpa_supplicant@wlan0.service if [[ ! -z $(dmesg | grep "wlan: driver loaded") ]]; then post_log_pass "$POSTMSG_WIFI$POSTMSG_POSTFIX_PASSED" post_log "$(dmesg | grep -i wlan:)" Index: scripts/wifi_start_wpa_supplicant.sh =================================================================== diff -u -r3e7cdf9b112dc6e865323e8381cecfd5d988a927 -r1b3aaa73b465d2071c76d51fce511c98e491686f --- scripts/wifi_start_wpa_supplicant.sh (.../wifi_start_wpa_supplicant.sh) (revision 3e7cdf9b112dc6e865323e8381cecfd5d988a927) +++ scripts/wifi_start_wpa_supplicant.sh (.../wifi_start_wpa_supplicant.sh) (revision 1b3aaa73b465d2071c76d51fce511c98e491686f) @@ -24,6 +24,9 @@ iface=$1 wpa_supplicant_path=$2 +# make sure hardware is up +ip link set $iface up + # restart the wpa_supplicant service for wifi systemctl restart wpa_supplicant@"$iface".service