root@DietPi:~# ifup wlan0
wpa_supplicant: /sbin/wpa_supplicant daemon failed to start
run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return code 1
ifup: failed to bring up wlan0
then attempted wpa_supplicant.config manipulation via second post and realized currently there is no wpa_supplicant.config file in the directory /etc/wpa_supplicant. Is there one required to be there?
root@DietPi:/etc/wpa_supplicant# dir
action_wpa.sh functions.sh ifupdown.sh
Also how do I view the system log? I have spent hours googling, I get the information about how ram-log is setup to delete every hour by default ok, but how do i view it?(htop?) Also lsmod only has 2 modules used neither of which are wifi related. In the past expected a driver for the wifi device.I noticed that at the top of network interfaces file there are comments that highly recommend using dietpi interface to edit network settings. Also the coding for the files in wpa_supplicant are very well written and aren’t simply one liners. Optimization is key but looking through some else’s code trying to understand the layout becomes cumbersome due to complexity.