I too have this problem with my USB wifi that uses this driver:
$this->bbcode_second_pass_code('', '
# wpa_supplicant -B -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
')
So the solution is to use the dkms-8192cu package? Is it possible that we can have this driver included in the kernel package? It has been 10 minutes now of installing this package, and the CPU is @ 100 % building the driver.
$this->bbcode_second_pass_code('', '# pacman -S dkms-8192cu
resolving dependencies...
looking for conflicting packages...
Packages (3) dkms-2.2.0.3-15 linux-raspberrypi-headers-3.18.9-2 dkms-8192cu-v4.0.2_9000.20130911-2
Total Download Size: 6.64 MiB
Total Installed Size: 44.01 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages ...
dkms-2.2.0.3-15-any 48.3 KiB 0.00B/s 00:00 [############################################] 100%
(3/3) checking keys in keyring [############################################] 100%
(3/3) checking package integrity [############################################] 100%
(3/3) loading package files [############################################] 100%
(3/3) checking for file conflicts [############################################] 100%
(3/3) checking available disk space [############################################] 100%
(1/3) installing dkms [############################################] 100%
Optional dependencies for dkms
linux-headers: build modules against Arch kernel
linux-lts-headers: build modules against LTS Arch kernel
(2/3) installing linux-raspberrypi-headers [############################################] 100%
(3/3) installing dkms-8192cu [############################################] 100%
Creating symlink /var/lib/dkms/8192cu/v4.0.2_9000.20130911/source ->
/usr/src/8192cu-v4.0.2_9000.20130911
DKMS: add completed.
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area.......
cd /var/lib/dkms/8192cu/v4.0.2_9000.20130911/build; make ARCH=arm modules.......................................................................................................................................................................................................................')
Seems like many users could benefit if this was a pre-built package.
EDIT: The solution was not in the driver, but
downgrading by building myself version 1.0 of wpa_supplicant. Thank you graysky for the solution.