Can't Connect to WiFi

I can’t connect to WiFi. I edited the piaware.config.txt file and tried the SSID and password with and without quotes and I still see wlan0 down every time. I don’t know what else to try.

Any special characters in password or SSID which are maybe not transferred correctly?

Are you able to reset it temporary to easier values for testing?

Thanks for the reply. The SSID is Stargate-5 and right now the password is just all lower case letters. I can connect the Pi to it with Buster, just not PiAware.

I had a similar problem after installing PiAware 3.8 in my RPi 1B with USB wifi dongle.
I’ve configured the piaware-config.txt file but it wasn’t working, then I’ve edited the file /etc/network/interfaces
This is my file:

# interfaces(5) file used by ifup(8) and ifdown(8)

# Please note that this file is written to be used with dhcpcd
# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'

# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
auto wlan0
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp

Thanks, but this doesn’t work for me.

OK, I think my problem is county code in wpa_supplicant.conf. It’s set at 00 and if I edit the file and reboot it reverts back to 00.

OK, I’m a relative newbie when it comes to linux, but I finally fixed my problem. I had to edit the /etc/default/crda file. REGDOMAIN= was blank. I added US, saved and rebooted and I am now connected to wifi and feeding FlightAware.

2 Likes

You can control the country code in wpa_supplicant.conf on a piaware sdcard image by setting the wireless-country option in piaware-config.txt

(On a sdcard image, wpa_supplicant.conf is regenerated on reboot based on the piaware-config.txt settings, which is why your changes were being lost - there is a comment at the top of the generated file that tells you your changes will be lost…)

Honestly i never had any problems if the country was not set properly

Yeah, in most cases it doesn’t matter. It only matters if the AP is using channels that aren’t the commonly used ones, where the frequency licensing requirements vary from country to country. (If no country code is set, then only the most conservative choice of allowed bands is used)

(that said, half the APs out there are configured for the country of manufacture, not the country of use, anyway…)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.