Closed TobleMiner closed 3 years ago
Initially the network service fails because the wifi config does not exist yet. Thus I'd recommend replacing
file_put_contents($wpaconfPath, $wpaconf); `ifdown --force wlan0`; `ifup wlan0`;
with
file_put_contents($wpaconfPath, $wpaconf); `ifdown --force wlan0`; `systemctl restart network`; `ifup wlan0`;
Initially the network service fails because the wifi config does not exist yet. Thus I'd recommend replacing
with