Page 1 of 1
[SOLVED] Can´t connect to WiFi - Pocket Pi FE
Posted: Mon May 06, 2019 3:01 am
by ekilla
Hi, my Pocket Pi doesn´t want to connect to my Wifi and I don´t get why.
I´m next to my router all the time.
I´ve reflashed the Image twice, everytime the same result.
I have to say at the beginning I´m not very familiar with retropie, since I usually use Recalbox.
After giving my WiFi password, the Pi tries to connect and just says
*Unable to connect -to network xxxxxx*
- Setup1.png (578.93 KiB) Viewed 7480 times
- Setup2.png (465.6 KiB) Viewed 7480 times
- Setup3.jpg (97.08 KiB) Viewed 7480 times
After a fresh reflash, starting with the second try to connect the Wifi it always keeps giving me a message at the beginning I should choose my country for WiFi:
- Country Message.jpg (136.26 KiB) Viewed 7480 times
I tried in I1 to set to de-de, that didn´t change anything. Still the same.
If I try to go to I4 I get an error message:
- Menu.jpg (123 KiB) Viewed 7480 times
- Error.png (422.57 KiB) Viewed 7480 times
I think it´s "can´t" at the beginning.
After pressing ok:
- Error2.png (418.85 KiB) Viewed 7480 times
I didn´t try to make a wifikeyfile.txt in the boot partition for now since I wanted to know what I´m doing wrong.
So even if I have the Pocket Pi up and running I can´t play since I can´t tranfere roms.
The USB Port of the PI isn´t accessable too, the charging/stepup modul sits in it´s way.
If anybody knows what I´m doing wrong, thank you.
Re: Can´t connect to WiFi - Pocket Pi FE
Posted: Mon May 06, 2019 9:55 am
by ncdelrio
I put my SD in another pi that I could connect to monitor and keyboard. Then in the command line I created /etc/network/interfaces file, wpa supplicant file, and wifikeyfile. I also connected that pi to ethernet, and updated the software. I could then load the SD in my pi 0 W and it connects to my wifi automatically. Hope this helps.
sudo nano /etc/network/interfaces
auto lo
iface lo inet loopback
iface eth0 inet dhcp
allow-hotplug wlan0
auto wlan0
iface wlan0 inet dhcp
wpa-ssid "NETWORK_NAME"
wpa-psk "NETWORK_PASSWORD"
/etc/wpa_supplicant/wpa_suuplicant.conf
country=US
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
# RETROPIE CONFIG START
network={
ssid="your_real_wifi_ssid"
psk="your_real_password"
}
# RETROPIE CONFIG END
wifikeyfile.txt (in boot)
ssid="NETWORK_NAME"
psk="NETWORK_PASSWORD"
Re: Can´t connect to WiFi - Pocket Pi FE
Posted: Mon May 06, 2019 9:59 am
by Ely
Hey, no need to connect it to another Pi, just use a text editor like notepad ++ or wordpad on your computer.
make a new txt file and copy / past this in:
Code: Select all
country=XXXXXXXXXXX
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
# RETROPIE CONFIG START
network={
ssid="XXXXXXXXXXXX"
psk="XXXXXXXXXXXX"
key_mgmt=WPA-PSK
pairwise=CCMP
group=CCMP
auth_alg=OPEN
}
# RETROPIE CONFIG END
Change the
XXXXXXXX with your datas:
-Country > if you are in the usa put > US, england > UK, France > FR, etc.....
-SSID > the ID of your box (wlan-805a07 on your screenshot)
-PSK > your WPA Key
save and quit > rename the file
wpa_supplicant.conf (no more .txt extension) and put this file in your SD boot partition.
Also you should put an empty file called
SSH on your SD boot partition > make an empty txt file and rename it SSH without any extension.
now put back your SD in your pi and retry to connect.
It should works right away, if not, check in the wifi options, you have one which let you import your wifi datas from the wpa_supplicant.conf file.
hope it will help you.
ps: as said by ncdelrio, you can also add a
wifikeyfile.txt in your SD boot
Re: Can´t connect to WiFi - Pocket Pi FE
Posted: Mon May 06, 2019 11:57 am
by ncdelrio
I wasn’t able to acces the network interfaces from the SD alone in my computer. And update the WPA supplicant and wifikeyfile alone did not get my WiFi operational.
Re: Can´t connect to WiFi - Pocket Pi FE
Posted: Mon May 06, 2019 12:11 pm
by ekilla
Ely wrote: ↑Mon May 06, 2019 9:59 am
make a new txt file and copy / past this in:
Fantastic, that´s it, Thank you very much. To both of you.
Re: Can´t connect to WiFi - Pocket Pi FE
Posted: Mon May 06, 2019 12:32 pm
by ekilla
Ely wrote: ↑Mon May 06, 2019 9:59 am
now put back your SD in your pi and retry to connect.
Do I need to add samba shares at first to connect with a file explorer from PC?
\\retropie or the IP Address of my pocket don´t connect, while I can connect via SSH without any problem.
Re: Can´t connect to WiFi - Pocket Pi FE
Posted: Mon May 06, 2019 2:01 pm
by Ely
Forget about samba for the moment.
you can use a free ftp program like FileZila to connect to your Pi
-host > sftp://the ip of your PI (exemple > sftp://192.168.1.8)
To be sure of your IP, in retropie options, use > Show IP
-ID > pi
-Pass > raspberry
and connect, say yes if any pop up come out and you're done.
Put your roms in /RetroPie/roms/
Re: Can´t connect to WiFi - Pocket Pi FE
Posted: Mon May 06, 2019 2:53 pm
by ekilla
Yes thanks, in between I did that with WINSCP since I couldn´t get samba working until now.
Re: Can´t connect to WiFi - Pocket Pi FE
Posted: Tue May 07, 2019 9:54 am
by ekilla
As I just read on an older thread, Samba is removed so SFTP like I did with WinSCP is the way to go.