Results 1 to 4 of 4

Thread: How connect wlan1 to wifi?

  1. #1
    Join Date

    How connect wlan1 to wifi?

    Hello, help me: is it possible to use an external usb wifi adapter (wlan1) to connect to a wifi network in nethunter? When I connect via Kex to the Kali desktop and move the mouse to the network manager - it is not active and writes networking disabled ... I tried reinstalling it, but it did not work. Why do I need this? - When using the internal wlan0 (native android adapter), I can connect and perform the necessary research on wifi networks without problems, but I think that if you connect via an external more powerful adapter there will be more available access points over long distances), followed by nmap, metasploit , well, then you know))

  2. #2
    Join Date
    Try this:
    echo “ctrl_interface=DIR=/var/run/wpa_supplicant” > /etc/wpa_supplicant/wpa_supplicant.conf
    wpa_passphrase “your-ssid-or-network-name” >> /etc/wpa_supplicant/wpa_supplicant.conf
    wpa_supplicant -Dnl80211 -iwlan1 -c/etc/wpa_supplicant/wpa_supplicant.conf -B
    Note: Be sure to substitute your actual SSID for the obvious placeholder in the second line. Also, after running the second line, you will get a blank blinking cursor. Type your network password/encryption key at that prompt. You may optionally edit the /etc/wpa_supplicant/wpa_supplicant.conf file, and remove the lines that start with a # symbol. They are just notes, and aren?t needed to connect.

    I hope that helps.
    Last edited by aaronouthier; 2020-09-04 at 16:44. Reason: Added param to put wpa_supplicant into the background.

  3. #3
    Join Date
    Okay, so I just tried the above code on my Nexus 6p. Looks like I forgot a step.

    dhclient wlan1
    that last step will get you an IP address

  4. #4
    Join Date
    Did that work for you @kennye ?

Similar Threads

  1. Nethunter: how connect wlan1 to wifi?
    By Kennye in forum NetHunter General Questions
    Replies: 0
    Last Post: 2020-07-20, 12:45
  2. Wifi extender / router, wlan1 -> wlan0
    By petteri4422 in forum NetHunter How-Tos
    Replies: 2
    Last Post: 2018-10-22, 13:41
  3. How i use wlan1 (external wifi adapter) to connect to networks?
    By milestone in forum NetHunter General Questions
    Replies: 6
    Last Post: 2016-04-09, 19:59

Posting Permissions

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