What is the problem?
My octopi on start cant(or doesnt) connect to my wifi, however, after killing wpa_supplicant, deleting the socket file and starting wpa_supplicant again everything works.
What did you already try to solve it?
I am quite a noob with raspberry pi's, terminals and commands. At first i didnt even know why i couldnt connect to the UI and now i think this is the farthest i can go ( i dont know where to start or what to do)
Have you tried running in safe mode?
No
Did running in safe mode solve the problem?
I dont know
Systeminfo Bundle
You can download this in OctoPrint's System Information dialog... no bundle, no support, unless the reason you couldn't retrieve the bundle is your network issues
Sorry i dont know what to put here
Additional information about your setup
Hardware you are trying to connect to, hardware you are trying to connect from, router, access point, used operating systems, ... as much data as possible
Yes so as i said im a noob. After a new flash there was no ( or i couldnt find) a wpa_supplicant.conf file, so i created one. I checked and everything in it should be alright (i can connect to the internet afterall). Also one interesting thing is that when i tried to ssh into the pi from my pc via ethernet(now i have a monitor and keyboard plugged in) i would get randomly disconnected (even without doing anything).
I am trying to connect to the internet wirelessly (no ethernet)
I am using a raspberry pi 4b with the intended power supply.
I use the raspberry pi imager (and the octoprint version in it) octoprint version 1.11.2, octopi version 1.1.0
To get the wifi running i use these commands:
1)sudo killall wpa_supplicant
2)sudo rm -rf /var/run/wpa_supplicant/*
3)sudo wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf
4) sudo dhclient wlan0
If i reboot the pi all files are there but i need to repeat those commands to get my pi to connect.
If anyone is willing to help me and needs more information please tell me and thanks in advance!
(I used chat gpt for most of my work so please talk in simple terms....)