I have been trying to figure this out for almost a year know and i cant, so help would really be appreciated. I have a Raspberry pi 1, im running Kali 4.1.19. My wifi adapter is a TP-link 725n (8188EUS). i KNOW that the driver is already installed because the light is flashing on my wireless card, but whenever i do iw wlan0 info , it says no such device, and whenever i do ifconfig it shows up. If i just do iwconfig it also shows up. when i do ifup wlan0, it says unknown interface. also it shows up when i do iwconfig wlan0.

lsusb :
root@kali:~# lsusb
Bus 001 Device 004: ID 0bda:8179 Realtek Semiconductor Corp. RTL8188EUS 802.11n Wireless Network Adapter
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. SMC9512/9514 USB Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@kali:~#

iwconfig wlan0 :
root@kali:~# iwconfig wlan0
wlan0 unassociated Nickname:"<WIFI@REALTEK>"
Mode:Managed Frequency=2.412 GHz Access Point: Not-Associated
Sensitivity:0/0
Retryff RTS thrff Fragment thrff
Encryption keyff
Power Managementff
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

root@kali:~#
ifconfig :
root@kali:~# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.8 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::3b5f:fad0:6b19:4e7f prefixlen 64 scopeid 0x20<link>
ether b8:27:eb:d8:85:d3 txqueuelen 1000 (Ethernet)
RX packets 652 bytes 50633 (49.4 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 442 bytes 58164 (56.8 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Local Loopback)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

wlan0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether c0:4a:00:08:0f:6f txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

iw dev:
root@kali:~# iw dev
root@kali:~#

(Nothing shows up).

iw wlan0 info:
root@kali:~# iw wlan0 info
command failed: No such device (-19)
root@kali:~#



Any help would be very appreciated, as this has become quite frustrating.
-Thanks
Bobby