Wifi Not Connecting
-
Pi Model or other hardware: Zero W
Power Supply used: Official?
RetroPie Version Used: v4.3 (latest)
Built From: Pre made SD Image on RetroPie website
USB Devices connected: Flash Drive (when installing roms)
Controller used: SNES controller
Error messages received: none
Log found in /dev/shm/runcommand.log: can't
Guide used: none
File: wifikeyfile.txt
Attachment of config files: ?
How to replicate the problem: not sureI'm pretty new to Raspberry Pi so forgive me if I make/made any noob mistakes.
When I go to wifi and do import wifi credentials, it just says "connecting" for around 30 seconds, then says "unable to connect". I do not have access to a keyboard and can't connect an Ethernet cable to my pi without an adapter. I setup the correct information in wifikeyfile.txt and have done the same process at least a few times. It never seems to work. Please help me figure out this problem.
NOTE: I am in the US and I have tried using @ symbols in place of ".
-
Do you have non-standard chars in your SSID ? Recently someone reported that using a
|
inside the SSID string will not import correctly the SSID.
Note that the PI has a 2.4Ghz antenna, so if try to connect to a 5Ghz SSID, that won't work. -
@mitu hmm... What's interesting is that I have a router with 2 different wifi's running off of it. There is the 2.4GHz with an ssid of "BugsBunny" and a 5GHz with an ssid of "RoadRunner". I was trying to connect to BugsBunny (as it has a larger range) so that should be fine. Right?
-
@retropaul Looks ok, I have a similar setup (2 SSID - 2.4Ghz and 5 Ghz), albeit using a RPI 3 instead of a PI 0W. How does your
wikifile.txt
look like ? -
@mitu wikifile.txt? I don't have that file.
-
@retropaul said in Wifi Not Connecting:
wikifile.txt? I don't have that file.
Sorry, I meant
wifikeyfile.txt
. -
@mitu ahh gotcha. I have just the basic stuff in there.
ssid="BugsBunny"
psk="*********" -
@retropaul Looks ok, I was thinking you've put
@
instead of"
in your file. Without looking into system logs it's hard to say why it's not working - but without a keyboard that's not going to work. -
@mitu in the last try I did, I used the @ symbol instead of ", but it still didn't work. Is there any way to import the log info onto my computer?
-
@retropaul If you have a Linux computer available, then you could try opening the PI system partition and read it, but in this case you could also try to configure the Wifi connection directly by editing the
/etc/network/interfaces
(as in https://retropie.org.uk/docs/Wifi/#wpawpa2) -
@mitu said in Wifi Not Connecting:
@retropaul If you have a Linux computer available, then you could try opening the PI system partition and read it, but in this case you could also try to configure the Wifi connection directly by editing the
/etc/network/interfaces
(as in https://retropie.org.uk/docs/Wifi/#wpawpa2)How would I go about getting there? I'm kinda a noob.
-
@retropaul said in Wifi Not Connecting:
How would I go about getting there? I'm kinda a noob.
If you don't have a Linux system available, then I wouldn't bother - easiest way would be to get a keyboard.
The easiest way to experiment with Linux IMHO is to get an Ubuntu [1] or Fedora [2] Live image, write it to an USB stick and boot off of it, this way you'll be running a Linux system that could read your SD card properly - i.e. read the Linux partition of the RPI.
[1] - https://tutorials.ubuntu.com/tutorial/tutorial-create-a-usb-stick-on-windows
[2] - https://getfedora.org/en/workstation/download/ -
@mitu ok, I'll work on that in the morning. Thanks for the help!
-
@mitu I've worked on the stuff some and determined that I will probably screw up my computer before I get anything working. I just remembered that I forgot to tell you something. The router I'm using is WPA2-PSK(AES). Wasn't sure if that was important or not but thought it might be something.
-
@retropaul That's fine, the PI should work with this type of WPA. You might check if you have any other security related settings on the router - like MAC filtering - that might prevent the connection.
-
@mitu I checked and there didn't seem to be any extra security stuff. The raspberry Pi is in almost the corner of my house so I was wondering if maybe it's antenna isn't strong enough. Although, the pi picks up the wifi in the connect to wifi GUI.
-
@mitu Just to clarify, SSID is the name of your wifi, correct?
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.