Results 1 to 5 of 5

Thread: Connecting to AP through command line

  1. Connecting to AP through command line

    Heya Guys & Gals,

    I am trying to connect by wireless to my test AP using the command line.

    Now that last time I even mucked around with command line connections was in BT4 I think,
    however I think I must be suffering from severe lapse in memory as nothing I do seems to work..


    I was trying to get wpa_supplicant to connect from command line using same methods as I did in BT4
    but that failed miserably.
    When trying with wpa_supplicant, I tried different drivers, killing all other wpa_supplicant instances
    stopping/starting networking & NetworkManager. No joy.

    So then tried to do a simple connect to test AP without encryption, thinking that connection to an
    OPN network from command line should be easy (which it should) but failing miserably at that too..

    Now I could go through each trialed failure individually, however I would first like to know whether someone
    has already connected purely through command line (either WPA/WPA2/WEP/OPN) and what steps
    were taken prior to getting the connection.

    By the way I am running Kali with latest updates/upgrades, on a VM (using VBox) with a WUSB54GC adapter.


    There is no problem with making any connections with NetworkManager, but I am working on a script
    and I would like the option to connect within the script, hence my query..


    Thanks in advance to whoever takes the time to answer !

  2. #2
    Join Date
    2013-Jun
    Posts
    9

  3. Hey 0pt1k !

    Thanks for the reply ! I had searched but not getting that link in results, search-fu upgrade time

  4. #4
    Join Date
    2013-Jun
    Posts
    9
    yeah same, i couldn't find it either when searched
    i just had to relearn this myself coz had my old arch
    and ubuntu notes only, so took them down for kali

    0pt1k

  5. #5

    Post maybe this helps

    book: backtrack 5 wireless penetration testing page 97. book is free to download on the net.

    for open netword try:
    # ifconfig wlan0 up
    # iwconfig wlan0 essid "ssidtoconnectto"

    for WEP protected network

    # ifconfig wlan0 up
    # iwconfig wlan0 essid "ssidtoconnectto" key (insertwepkey)

    for WPA protected network you need to create a configuration file (page 97)
    Last edited by leevai; 2013-08-03 at 11:06.

Similar Threads

  1. Rebooting from command line
    By Make Kali Great Again in forum TroubleShooting Archive
    Replies: 2
    Last Post: 2017-04-19, 16:08
  2. Replies: 0
    Last Post: 2014-03-27, 20:48

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •