Cincyplanet
Posts: 19
Joined: Tue Feb 18, 2020 11:35 pm

Easy Wifi setup without Monitor?

Tue Jun 16, 2020 5:50 pm

Is there a way to create an easy way to setup the Wifi without a keyboard and monitor?
Maybe bluetooth?
Any thoughts or ideas are welcome.
Thanks.

RonR
Posts: 1194
Joined: Tue Apr 12, 2016 10:29 pm
Location: US

Re: Easy Wifi setup without Monitor?

Tue Jun 16, 2020 6:09 pm

Simply add a 'wpa_supplicant.conf' file to the BOOT partition of your SD card:

Code: Select all

country=us
update_config=1
ctrl_interface=/var/run/wpa_supplicant

network={
 ssid="your ssid here"
 psk="your password here"
}

If you're going to use SSH over WiFi, also add an empty 'ssh' file.

Cincyplanet
Posts: 19
Joined: Tue Feb 18, 2020 11:35 pm

Re: Easy Wifi setup without Monitor?

Tue Jun 16, 2020 6:31 pm

Thank you. That may help.
My big problem is Im making a few of the devices for friends that don't live near me and have no computer knowledge. I am I also looking for a way I could update this file using a bluetooth or something that could be easy for non programmer / computer people.

User avatar
HawaiianPi
Posts: 5711
Joined: Mon Apr 08, 2013 4:53 am
Location: Aloha, Oregon USA

Re: Easy Wifi setup without Monitor?

Tue Jun 16, 2020 6:54 pm

The "boot" partition is readable from a Windows or Mac OS computer, and wpa_supplicant.conf is a simple text file. It shouldn't be too difficult for your friends to edit. The other option is to get their WiFi info and pre-configure the file yourself (assuming they trust you with that info).
My mind is like a browser. 27 tabs are open, 9 aren't responding,
lots of pop-ups...and where is that annoying music coming from?

Cincyplanet
Posts: 19
Joined: Tue Feb 18, 2020 11:35 pm

Re: Easy Wifi setup without Monitor?

Tue Jun 16, 2020 6:57 pm

HawaiianPi wrote:
Tue Jun 16, 2020 6:54 pm
The "boot" partition is readable from a Windows or Mac OS computer, and wpa_supplicant.conf is a simple text file. It shouldn't be too difficult for your friends to edit. The other option is to get their WiFi info and pre-configure the file yourself (assuming they trust you with that info).
Yes I was thinking of pre setting them up, but then I thought if they change it it would stop working.
Once its completed the card isn't really easy to get to, but the editing of the file may be the only solution....

Cincyplanet
Posts: 19
Joined: Tue Feb 18, 2020 11:35 pm

Re: Easy Wifi setup without Monitor?

Tue Jun 16, 2020 7:00 pm

I was also thinking of trying to setup a simple file transfer via bluetooth and saw something about Bluez and a FTP program, not sure how good of option that would be though.

Cincyplanet
Posts: 19
Joined: Tue Feb 18, 2020 11:35 pm

Re: Easy Wifi setup without Monitor?

Tue Jun 16, 2020 10:15 pm

HawaiianPi wrote:
Tue Jun 16, 2020 6:54 pm
The "boot" partition is readable from a Windows or Mac OS computer, and wpa_supplicant.conf is a simple text file. It shouldn't be too difficult for your friends to edit. The other option is to get their WiFi info and pre-configure the file yourself (assuming they trust you with that info).
Ive decided to try it this way until I can find a better solution.
Ill check for the file on a flash drive and copy it over, not the most elegant solution, but should work pretty well for now.
Thanks for the info on that file.

User avatar
HawaiianPi
Posts: 5711
Joined: Mon Apr 08, 2013 4:53 am
Location: Aloha, Oregon USA

Re: Easy Wifi setup without Monitor?

Tue Jun 16, 2020 10:35 pm

Note that the in-use location for the file is /etc/wpa_supplicant/wpa_supplicant.conf and Raspbian will automatically move it from the "boot" partition to that location and use it. That's how WiFi info could be updated after a change as well (a new one in "boot" will replace any previous one in /etc/wpa_supplicant/).
My mind is like a browser. 27 tabs are open, 9 aren't responding,
lots of pop-ups...and where is that annoying music coming from?

Cincyplanet
Posts: 19
Joined: Tue Feb 18, 2020 11:35 pm

Re: Easy Wifi setup without Monitor?

Thu Jun 18, 2020 9:58 pm

HawaiianPi wrote:
Tue Jun 16, 2020 10:35 pm
Note that the in-use location for the file is /etc/wpa_supplicant/wpa_supplicant.conf and Raspbian will automatically move it from the "boot" partition to that location and use it. That's how WiFi info could be updated after a change as well (a new one in "boot" will replace any previous one in /etc/wpa_supplicant/).
Ah thank you thats good to know!

Return to “Beginners”