-1

I just started using Kali Linux. I can't download any git clones or any drivers, and I have determined this is likely because I am not connected to the Internet. I booted Kali Linux from a USB. When I type 'iwconfig' wlan0 does not appear.

How do I connect to a wireless network on Kali Linux?

closed as too broad by Rui F Ribeiro, dirkt, Jeff Schaller May 22 at 11:28

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    Kali is known to have troubles with many WLAN drivers. The simplest solution, in particular for inexperienced users, is not to use Kali, but instead use a proper Linux distro that will work out of the box (Kali is Debian based, so e.g. another Debian-based one like Ubuntu). You'll have all the hacking tools Kali has, but none of the trouble. Kali is not "what the experts use", not matter what you read on some forums. Kali is designed for penetration testing. – dirkt May 22 at 9:06
3

Use the same troubleshooting you would use with Debian 9; run ip -a and look for the real name of the wireless port, because wlan0 is not a likely port name for Debian going on six years now: See the answer at Why is my wlan device being renamed? for an explanation. iwconfig is also depreciated, being replaced with iw.

Run iw dev PORTNAME link for information about the wlan interface.

Run iw PORTNAME connect foo to connect to wireless LAN foo, unless WPA or WPA2 security is in use, then use wpa-supplicant.

  • Thank you for the response! Where exactly is the name of the port, though? I tried 'ip -a' and all I got were a bunch of words I don't understand. What exactly am I looking for here? Thank you! – Matthew May 22 at 0:25
  • Matthew, if you don't understand the output of ip -a then Kaii is not for you yet. Use Ubuntu instead which is much more user friendly. – K7AAY May 22 at 15:18

Not the answer you're looking for? Browse other questions tagged or ask your own question.