0

In order to prepare my RPi for connecting to Wifi, I need to do some changes as per this answer. Now, I cannot find the file: wpa_supplicant.conf in the boot directory. Hence, I need to create it and then save the mentioned changes. The issue is: I am unable to write into the directory. File cannot be saved and it shows "read only disk." I have tried sudo chmod -R 777 boot/ but in vain.

Note: I am using a memory card reader to read the card used in the RPi.

1 Answers1

0

Like Aurora said, make sure your sd card is not write-protected:

write protection

and make sure you formatted your sd card as FAT32 before you wrote the os to it.(I recommend using a tool like etcher to burn the image.) also, if you have an ethernet cable, you can connect your raspberry pi to your router with an ethernet cable, ssh into and add the /etc/wpa_supplicant/wpa_supplicant.conf file to it over ethernet, then disconnect it and reboot it so it connects to the wifi.

Benjamin Ashbaugh
  • 1,077
  • 7
  • 17