I have followed many tutorials (actually they have been doing the same thing) on how to set Raspberry Pi to connect to my WIFI but I am not winning. I have used the Headless method and my network file which is named wpa_supplicant.conf is on the Boot directory with the following information but yet using Angry IP Scanner the Raspberry Pi is not showing please help:-

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev



I wrote my RPi OS using the official Raspberry Pi Imager as seen in the below image and that was successful as it also shows boot files when opened on my Windows laptop. Image Writer

  • 1
    You have not provided any diagnostics but how did you create the file. You need to use a Unix compatible editor which uses LF rather than CRLF
    – Milliways
    Commented Jan 7, 2021 at 6:14
  • @Milliways I created the in my windows system using Notepad and save it. I unfortunately don't know anything about LF and CRLF let me also google about them. Commented Jan 7, 2021 at 7:05

1 Answer 1


The easiest way is to download Notepad++ DownloadLink , open your wpa_supplicant.conf file with it, go to Edit>EOL conversion and select Unix LF

Hope this helps.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.