DW2020
Posts: 10
Joined: Thu Apr 30, 2020 6:32 pm

Unable to connect Pi3 to wiFi

Sat May 02, 2020 9:12 pm

I have a Pi 3 that will conenct to WiFi. It's model is Pi3 Model B V1.2. I have set up the "wpa_supplicant" file as follows:

country=GB
update_config=1
ctrl_interface=/var/run/wpa_supplicant
network={
ssid="SSID OF MY WIFI"
psk="PASSWORD OF MY WIFI NETWORK"
}

That I found on https://randomnerdtutorials.com/cctv-ra ... tioneyeos/

Any ideas where I am going wrong?

klricks
Posts: 7436
Joined: Sat Jan 12, 2013 3:01 am
Location: Grants Pass, OR, USA
Contact: Website

Re: Unable to connect Pi3 to wiFi

Sat May 02, 2020 9:56 pm

Is your WIFI router 2.4GHz or dual band?
The RPi3B is 2.4GHz only.
Unless specified otherwise my response is based on the latest and fully updated RPiOS Buster w/ Desktop OS.

DW2020
Posts: 10
Joined: Thu Apr 30, 2020 6:32 pm

Re: Unable to connect Pi3 to wiFi

Sat May 02, 2020 9:57 pm

Its dual band and I have 2 other Rpi Model 3s that connect just fine just this one is being a pain!

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

Re: Unable to connect Pi3 to wiFi

Sat May 02, 2020 10:04 pm

Your wpa_supplicant.conf seems to be missing something.

Here's an example of what mine looks like (notice GROUP=netdev that's missing in yours).

Code: Select all

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=GB

network={
	ssid="2.4GHz WiFi SSID"
	psk="2.4GHz WPA/WPA2 passphrase"
}

network={
	ssid="5GHz WiFi SSID"
	psk="5GHz WPA/WPA2 passphrase"
}

network={
	ssid="Mobile hotspot SSID"
	psk="Mobile hotspot WPA/WPA2 passphrase"
}
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?

DW2020
Posts: 10
Joined: Thu Apr 30, 2020 6:32 pm

Re: Unable to connect Pi3 to wiFi

Sat May 02, 2020 10:05 pm

I will try that, cheers pal!

retrkdr
Posts: 11
Joined: Sun Dec 10, 2017 10:04 pm

Re: Unable to connect Pi3 to wiFi

Thu May 07, 2020 9:44 pm

Check out the newer tutorial from dronebotworkshop: https://dronebotworkshop.com/motioneyeos-raspberry-pi/

The wpa_supplicant.conf that you have to put on the SD card before you stick it in the pi is a preconfiguration file , the rest of the stuff gets put in by motioneyeos when it boots up.

assuming you are in the US, here is what the preconfiguration file looks like:

country=us
update_config=1

network={
scan_ssid=1
ssid="yyyyy"
psk="zzzzz"
}

Don"t forget the closing }.
I set mine up in Notepad on a Win10 computer. You will only see the FAT32 file on the flashed SD so you don't have to worry about getting it in the wrong partition - Windows10 doesn't recognize ext-4 format. Be sure to save as a .conf file (leave the .txt off). Plan on flashing the SD card several times since every time you boot it, motioneyeos writes to the SD card (adds to wpa_supplicant.conf) and every error requires a new re-do.
I recommend you download the pdf that accompanies the tutorial and print out pages 23 through 37 if you are as much a noob as I am and old enough to suffer from short term memory issues. Speaking of flashing, the quickest and best I've found is etcher. No pre-formatting necessary and it is just dead simple, and fast for the image I downloaded. I have the NoIR v. 2 on an R Pi 1B and it works fine although the 1B Pi is very slow. I have just finished getting the static IP address up and running so now I will put the Pi & camera in a box and set it up to watch the rodents play.

Return to “Beginners”