Hello, Hope this will be simple! I'm a Linux/Debian veteran, but my knowledge of wifi is woefully lacking - normally it just works when I set up wpa_supplicant.conf or I can quickly google my way to sanity. So far, no dice this time. Anyway, just got my first Raspberry Pi for feeding. Got it booting w/ the adsbx_buster.1.0 image (version 1.0.6 Sept 8th 2020) with no problems, but the wifi isn't doing anything. So far I: - Missed the step to create an initial /boot/wpa_supplicant.conf, so I manually edited /etc/wpa_supplicant/wpa_supplicant.conf - Tried the raspi-config tool which only edited the above file as I had already done manually - Tried re-flashing the image and created the intiial wpa_supplicant.conf - Tried iwlist wlan0 scan and can see networks, so the wifi adapter is confirmed to be functional I have not seen anything in the system logs pertaining to wlan0 (specifically worth mentioning is /var/log/messages shows nothing, which is where my other Linux machines typically puts such info). I can provide additional information on request, but not sure at the moment what would be needed. Any advice is appreciated! Thank you for reading.
sudo wpa_cli -i wlan0 scan .... wait a bit .... scan_results That should show you if that is working? Have you correctly set the country in wpa_supplicant.conf? Posting that configuration file .. might be helpful.
As I mentioned, I tried the command "iwlist wlan0 scan" and it is able to find my network, so I know it's physically working.... And sorry, I don't know why I didn't post my config but it is as follows (names have been changed to protect the innocent): Code: ctrl_interface=/var/run/wpa_supplicant update_config=1 country=US network={ ssid="MySSID" psk="MyPassword" }
So the Raspbian how-to shows this line (not sure if it's relevant): ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev In regards to the network section, there can be issue with quotes being converted to start / end quotes but i suppose that shouldn't happen if you are using a keyboard connected to the pi (typical OS X thing). Other thing are issues with certain special characters i think. Anyhow ... let's try this: sudo wpa_cli -i wlan0 log_level debug reconfigure Post the output after a minute.
So it looks like changing that ctrl_interface line you mentioned may have gotten me somewhere. Before that, it was showing many lines like this (when running with log_level debug as you instructed): Code: <3>CTRL-EVENT-NETWORK-NOT-FOUND <3>CTRL-EVENT-SCAN-STARTED <3>CTRL-EVENT-SCAN-RESULTS <4>Failed to initiate sched scan After fixing that I just get these like normal: Code: <3>CTRL-EVENT-SCAN-RESULTS And it's definitely seeing my network when I check the scan_results, however, still no joy on connecting. Still not seeing anything wlan/wpa_supplicant related in the system logs. Code: systemctl wpa_supplicant status shows that indeed wpa_supplicant is starting without errors. Just never seems to do anything after that. Also, I did notice my keyboard layout was set to EN-UK, so I've sorted that now, but don't think it caused any problem in the config...seems like I'd get an error, if so.
Well if you correctly input your SSID and it's in the scan results you should also get this: Trying to associate with SSID "myssid" If you don't get that your network block doesn't work for some reason. As i said some non alphanumeric characters can cause issues .... i'd just avoid those.
O. M. G. I just realized the problem. I am so sorry to have wasted your time. A few weeks ago, I went full tilt on my security - bought a pfsense firewall and setup a MAC whitelist on my wifi router. Completely forgot about it. All is well after adding wlan0's mac address. Gimme a donation link and I'll buy you a beer or two
Some more info on ADS-B stuff ... quite a bit of it running on the adsbx image: https://github.com/wiedehopf/adsb-wiki/wiki/Raspbian-Lite:-ADS-B-receiver Well ... at least you finally got to the part that showed the log. wpa_supplicant ... has somewhat non-existant logging which is kinda surprising.