I'm trying to get my usb wi-fi called "Vilros 150 Mbps wireless 802.11b/g/n nano USB adapter" to work.
$this->bbcode_second_pass_code('', '# lsusb
Bus 001 Device 004: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter')
I get this error:
$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
')
The hardware is good because I can plug it into my Arch x86_64 box and it works just fine.
The 8192cu module is loaded on my Pi.
$this->bbcode_second_pass_code('', '# lsmod
Module Size Used by
cfg80211 446651 0
8192cu 516676 0
uio_pdrv_genirq 3238 0
uio 8753 1 uio_pdrv_genirq
sch_fq_codel 7611 2
snd_bcm2835 19627 0
snd_pcm 84574 1 snd_bcm2835
snd_timer 20697 1 snd_pcm
snd 60977 3 snd_bcm2835,snd_timer,snd_pcm
bcm2708_rng 1044 0
rng_core 5666 1 bcm2708_rng
ipv6 327652 18 ')
The hardware is seen by ip:
$this->bbcode_second_pass_code('', '# ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: ifb0: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 32
link/ether e2:4e:14:91:33:aa brd ff:ff:ff:ff:ff:ff
3: ifb1: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 32
link/ether ba:ea:eb:1f:3f:52 brd ff:ff:ff:ff:ff:ff
4: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
link/ether b8:27:eb:77:8f:fa brd ff:ff:ff:ff:ff:ff
5: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 00:13:ef:90:43:27 brd ff:ff:ff:ff:ff:ff
')