When I booted into raspbian-wheezy I am able to successfully use wpa_supplicant with my 8192cu usb wifi but when I boot into Arch Linux ARM, I cannot. I tried using both the included 8192cu driver and the dkms-8192cu package but neither works on my up to date system.
On Arch Linux ARM for RPi:
$this->bbcode_second_pass_code('', '$ sudo wpa_supplicant -i wlan0 -c /etc/wpa_supplicant/example.conf
Successfully initialized wpa_supplicant
nl80211: Driver does not support authentication/association or connect commands
wlan0: Failed to initialize driver interface')
If I look at ps aux | grep wpa there is nothing running.
If I pull out my Arch Linux ARM SD card and pop in a raspbian wheezy card I just made for testing purposes and repeat the same commands it works so the hardware seems fine.
$this->bbcode_second_pass_code('', '
$ sudo wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant/example.conf
rfkill: Cannot open RFKILL control device
ioctl[SIOCSIWAP]: Operation not permitted
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument')
Those are different warning messages that do not keep wpa_supplicant from running
$this->bbcode_second_pass_code('', '$ ps aux |grep wpa
root 2433 0.0 0.5 5656 2456 ? Ss 19:45 0:00 wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant/example.conf
')
Further, I can now connect to it with wpa_cli and connect to my router.
What can I do to get to the bottom of this? I do not want to run raspbian