I tried to scan for available wifi networks in my area, but
sudo iw wlan0 scan gives me
command failed: No such device (-19). Since I have no detailed knowledge about the
iw command, I also tried
sudo iw phy wlan0 scan, which gave me
command failed: No such file or directory (-2).
NOTE: The adapter works fine, I already established a connection to my router, and
iwlist is able to list available wifi networks. Yet, for some reason,
iw does not work.
(I know, I can achieve a similar output with
iwlist wlan0 scanning, but at my point, I just want this to work somehow.)
I am using the mini-wifi-adapter from adafruit with a RTl8192/8188CUS chipset.
I came across this SE-post, which says that the important kernel module is included, but not compiled. As clearly stated by that post, I tried to compile Raspbian with rtlwifi-support and did everything as told. Still, several hours later it's still the same.
iw still gives the the same error-message as before and I don't see anything about rtlwifi- or rtl8192cu-drivers in
Did I do something wrong or is there another way to make
iw work on Raspian? Thanks in advance.
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. Bus 001 Device 004: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS802.11n WLAN Adapter
uname -a gives
Linux hostname 4.1.7-v7+ #817 SMP PREEMPT Sat Sep 19 15:32:00 BST2015 armv7l GNU/Linux