Ok, as root, I ran "ifdown wlan0" (even though it wasn't configured) and "ip addr flush dev wlan0" for wlan0/eth0. The wpa_supplicant command returns
Code: Select all
Successfully initialized wpa_supplicant
Line 3: unknown global field 'GROUP=netdev'
Line 3: Invalid configuration line 'GROUP=netdev'
Failed to read or parse configuration file '/etc/wpa_supplicant/wpa_supplicant.conf'
Based on that error, I fixed that by putting "GROUP=netdev" on the same line as "ctrl_interface=DIR=/var/run/wpa_supplicant", and then the wpa_supplicant command works (it just says "Successfully initialized wpa_supplicant" so that's working. "dhclient -v wlan0" never picks up an IP address, though. It just says "DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval <interval>" repeatedly for a few minutes, then says
Code: Select all
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
Googling around for that error turns up quite a few raspberry pi threads, but nothing relevant to this situation that I can see (several of the solutions involve something called berryboot and the settings that were selected during the installation, which I don't think applies here.
Also, the standard non-root user is in the netdev group.