Results 1 to 3 of 3

Thread: How do I get Nethunter to work with a wifi adapter?

  1. #1
    Join Date
    2023-Feb
    Posts
    2

    Question How do I get Nethunter to work with a wifi adapter?

    Hello to all of you who came here!
    I have a problem that I've been looking for a solution to for a long time.....
    I have a Pocofone f1 phone with kernel 4.9.186-perf-g10af704. I have nethunter installed on it. I also have a Tp-Link TL-WN722N V2 wifi adapter. On my laptop with kali installed this adapter works great! But when I connect to nethunter it shows up in lsusb but does not show up in iwconfig. I realized that the problem is with the drivers, but I don't know how to put them on my phone.
    I tried putting the Wireless Firmware for Nethunter module on Magisk but it didn't work
    Thanks in advance to everyone who will respond and help me find a solution!

  2. #2
    Join Date
    2021-May
    Location
    UK
    Posts
    782
    Needs firmware and drivers I expect;

    https://sstectutorials.net/how-to-us...on-kali-linux/

    The only other issue I've seen is when a USB adapter has 2 modes and needs 'switching'

    (fix wifi usb adapters with virtual ?CD? not showing up)

    sudo apt install usb-modeswitch usb-modeswitch-data

    lsusb

    Bus 004 Device 002: ID 0e8d:7612 MediaTek Inc. MT7612U 802.11a/b/g/n/ac Wireless Adapter

    find your adapter in list, ID is 2 x 4 digit codes, these are the -v (vendor) and -p (product) ID codes, change -v {your device} and -p {device model} after the switch as the below;

    sudo usb_modeswitch -K -W -v 0cf3 -p 9271 (realtek)

    sudo usb_modeswitch -K -W -v 0e8d -p 7612 (comfast/mediatek)

  3. #3
    Join Date
    2022-Oct
    Posts
    2
    StandardEject=1
    Look for default devices
    found USB ID 1d6b: 0003
    found USB ID obda:8176
    vendor ID matched
    product ID matched
    found USB ID 1d6b : 0002
    Found devices in default mode (1)
    Access
    device 002 on bus 001
    Get the current device conf iguration ...
    Current configuration number is 1
    Use interface number 0
    with class 255
    Error :
    can't use storage command in MessageContent with interface 0; interface class is 255, expected 8. Abort

Similar Threads

  1. How can I get TLWN725N wifi usb adapter work on Kali NetHunter
    By Aminata in forum Installing NetHunter
    Replies: 0
    Last Post: 2022-01-14, 17:41
  2. How can I get tp link wn725n wifi usb adapter work on Net Hunter
    By Aminata in forum NetHunter General Questions
    Replies: 0
    Last Post: 2022-01-13, 16:25
  3. Can't figure out why wifi adapter doesn't work
    By danT in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2020-05-17, 22:24
  4. How to get TP-Link TL-WN721N USB WiFi Adapter to work on Kali Linux
    By ajay12131 in forum TroubleShooting Archive
    Replies: 1
    Last Post: 2015-11-19, 04:19
  5. I need help in buying a cheap wifi adapter for my wifite to work
    By MrSteve in forum NetHunter General Questions
    Replies: 1
    Last Post: 2015-09-24, 20:07

Tags for this Thread

Posting Permissions

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