I've installed Kali on an SD card and it boots on a Raspberry Pi. During boot, eth0 pulls an IP just fine and I can log in locally, but my problem is that wlan0 never comes up. I have four different USB wifi NICs; they all show in "lsusb" but none come up as wlan0. Right now I'm sharing the wifi from a separate computer to its ethernet port so that I can SSH into the RPi and it can get online to pull packages as necessary. I'm wondering if I'm missing some fundamental networking command in Kali or if there's something specific about the architecture of the Raspberry Pi that I'm not seeing... either way, here's what I'm seeing...
I have these network cards available (these names from the label on the card or its packaging):
1) Edimax EW-7811Un
2) TP-Link TL-WN422G
3) Alfa AWUS036H
4) Belkin F5D7050
According to lsusb, those cards have the following chipsets:
1) Edimax EW-7811Un:
Bus 001 Device 008: ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS]
2) TP-Link TL-WN422G:
Bus 001 Device 007: ID 0cf3:1006 Atheros Communications, Inc. TP-Link TL-WN322G v3 / TL-WN422G v2 802.11g [Atheros AR9271]
3) Alfa AWUS036H
Bus 001 Device 010: ID 0bda:8187 Realtek Semiconductor Corp. RTL8187 Wireless Adapter
4) Belkin F5D7050
Bus 001 Device 009: ID 050d:705c Belkin Components F5D7050 Wireless G Adapter v4000 [Zydas ZD1211B]
Output of various commands: (with all four NICs plugged in via a powered hub)
I've added wlan0 to /etc/network/interfaces:
Code:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
auto wlan0
iface wlan0 inet dhcp
Code:
root@kali:~# ifconfig -a
eth0 Link encap:Ethernet HWaddr --snip MAC addr--
inet addr:192.168.2.3 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:50288 errors:0 dropped:0 overruns:0 frame:0
TX packets:28026 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:69542265 (66.3 MiB) TX bytes:2620942 (2.4 MiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Code:
root@kali:~# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
I see the NICs, but get no error codes in:
"dmesg | tail -30"
Code:
root@kali:~# service networking restart
[warn] Running /etc/init.d/networking restart is deprecated because it may not re-enable some interfaces ... (warning).
[....] Reconfiguring network interfaces...Internet Systems Consortium DHCP Client 4.2.2
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
-- snip, removing all the eth0 DHCP stuff --
Cannot find device "wlan0"
Bind socket to interface: No such device
Failed to bring up wlan0.
done.
I've tried all sorts of things from other pages, installing "wicd" and "network-manager", installing and moving firmware-realtek, ath9k_htc, and a few others... What am I missing?