Wont connect to wifi, and if yes, after reboot no wifi again

What is the problem?
problems with wifi, wont connect to wifi at startup/restart/*reboot

What did you already try to solve it?
googled a lot

and many more slightliy different topics.

Logs (syslog, dmesg, ... no logs, no support)

systeminfo bundle
octoprint-systeminfo-20230608102149.zip (21.7 KB)

after a some other problems, i ended with one unsolvable (and they say its very easy to setup octopi) i remember having similar problems when i installen octopi last time, but cant remmember what the solution was.

after like 6 or more time i formated sdcard (also tryed different cards), it magically connected to wifi at first boot. but after reboot, no wifi. i tought that my RPI is broken or something, but there is nowhere to buy new one, so i tryed again.
then i found this

sudo killall wpa_supplicant
sudo wpa_supplicant -c/boot/octopi-wpa-supplicant.txt -iwlan0

and it works, but after that my console is stuck and cant do anythink except unplug power cable, but that is not much of an issue becouse if i have wifi connection, i can use terminal from pc.

the problem is after octopi restart/reboot, i have to kill and start wpa_supp. again, and i dont have separate display/keyboard for RPI.

so the question is, is there a way to automatically run those commands right after reboot/restart? (and it would be nice if console worked after that, if possible)

appreciate any help.