wpa_supplicant.conf file is read only

Having trouble with your mintyPi build? Post your questions here!
Post Reply
harharsharkbait
Posts: 7
Joined: Sat Jan 14, 2017 4:22 pm
Has thanked: 2 times

wpa_supplicant.conf file is read only

Post by harharsharkbait » Mon Jun 10, 2019 11:25 am

Hello,
I am a Mac user and I was trying to edit the wpa_supplicant.conf file in the terminal window to put in my wifi and password but when I exit the sudo vi editor it tells me that the file is read only. When I type in ls -l to see the permissions the file reads "-rwxrwxrwx@" and the sharing and permissions on the file are read only from the "Get Info" window. How do I change the permissions on this file?

Thanks!
harharsharkbait

User avatar
wermy
Site Admin
Posts: 1346
Joined: Tue May 03, 2016 8:51 pm
Has thanked: 620 times
Been thanked: 1322 times
Contact:

Re: wpa_supplicant.conf file is read only

Post by wermy » Mon Jun 10, 2019 12:21 pm

Hi,
Are you by chance using a microsd -> regular SD card adapter? If so is the write-lock switch toggled?
ImageImageImageImage

harharsharkbait
Posts: 7
Joined: Sat Jan 14, 2017 4:22 pm
Has thanked: 2 times

Re: wpa_supplicant.conf file is read only

Post by harharsharkbait » Fri Jun 14, 2019 3:21 pm

I didn't realize that's what the switch was for! Thanks, it worked!

harharsharkbait
Posts: 7
Joined: Sat Jan 14, 2017 4:22 pm
Has thanked: 2 times

Re: wpa_supplicant.conf file is read only

Post by harharsharkbait » Fri Jun 14, 2019 4:16 pm

So I was able to edit the wpa_supplicant.conf file, but when I put the micro SD card in the raspberry pi, the image doesn't boot; just a constant white screen. I checked the files again on the sd card and the wpa_supplicant file is gone. I think the files have changed. It may be something with the boot file? Also, I changed the name of the card from boot to mintypi and it changed again to MINTYPI when I put the sd card back into my computer.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest