Unable to connect wifi using rpi3 native wifi module.
-
I have WPA-PSK [TKIP] + WPA2-PSK [AES] password protected wifi, however I try to connect to wifi it errors out stating Unable to connect to network
Any help please ?
-
@eddyman1us sometimes it times out before it can refresh with your configs. Did you try rebooting after connecting the wifi?
-
Please can you provide some more information - https://retropie.org.uk/forum/topic/3/read-this-first
Are you using the Wifi configuration tool in RetroPie-Setup ? Does it show your network, you put in the password and then it fails ? Please detail the process etc.
-
Hi @herb_fargus it fails connect to the wifi in first place so reboot is for no avail.
@BuZz yes the errors out using the reropie-setup wifi configuration tool, I think I have an idea why this is happening.
You see my wifi network is "c:\virus.exe" (yea seriously to avoid people from wardriving) which has escape char like ""
The wifi config tool shows the network name as "c:virus.exe", without the "" char, maybe it's incorrectly trying to connect to wrong network ?p.s. where are the config files stored ? not the retroarch but rather retropie/os related configs like wifi, number of controllers paired etc ?
Couldnt find the paths in wiki.Rest of the details are below:
Pi Model: model 3
RetroPie Version Used: 3.8.1
Built From: sd image
USB Devices connected: wireless usb keyboard
Controller used: bluetooth gasia controller
Error messages received: Unable to connect to wifi netowkrm
Guide used: na
File: wifi.sh
Emulator: na
Attachment of config files: not known
How to replicate the problem: create a wifi network with ssid name "c:\virus.exe", attempt connecting to wifi using Retropie-Setup wifi config tool >> fail !
-
@buzz and @herb_fargus I figured out the wifi config file and as speculated
the etc/wpa_supplicant/wpa_supplicant.conf is treating "" char as line break, i am not good with bash any ideas how we can incorprate escaping of special characters in wifi.sh ?pi@retropie:~ $ sudo cat /etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1RETROPIE CONFIG START
network={
ssid="c:
irus.exe"
psk="******"
scan_ssid=1
}RETROPIE CONFIG END
-
@eddyman1us I can look at the quoting/escaping. In the meantime you can always adjust the essid. Cheers
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.