

The last one is you open terminal and type this command Source: Īfter you follows step by step above intructions, i am pretty sure that you has login linux in GUI. If the access point uses WPA/WPA2, you'll have to use another method to connect, found here: How do I connect to a WPA wifi network using the command line?Īlso, might I ask, is there a reason why you're trying to connect to a WiFi network through command line? Unless you're experimenting of course. The command iwconfig wlan0 essid name key password only works with access points that use WEP as encryption. If you want to type the ASCII password, you would use iwconfig wlan0 essid name key s:password. The password in the command iwconfig wlan0 essid name key password should be in hexadecimal. So, you have to put the word sudo before those commands (unless you're already logged in as root). To be able to run the commands ifconfig wlan0 up, iwconfig wlan0 essid name key password and dhclient wlan0, you need to be root. To find out the name of your wireless card, type iwconfig, and look at the row that has some information in it, not 'no wireless extensions'. To turn on your wireless card, you would enter ifconfig wlan0 up. It gives you information about your wlan0. The command ifconfig wlan0 does not turn on your wireless card. Okay, I'm going to try and answer your question, even though there is no terminal output included in your question. To connect wifi, follow below instructions : Note: The steps above need internet connection, so you need to connect your pc to wifi or LAN. # apt-get update # apt-get install xorg # startx This is step by step how to fixs or resolves problem Kali GNU/Linux 1.0.7 kali tty1 caused by lost or removed GNOME Desktop Environment
