Jump to content

Need help with nethunter and mk7ac


Recommended Posts

Can you run “ifconfig”? Is it listed there?

Link to comment
Share on other sites

Dose ifconfig give you output? Can you post it here?

Link to comment
Share on other sites

19 hours ago, JDM said:

Dose ifconfig give you output? Can you post it here?

Heres the complete output:

──(root㉿kali)-[/]
└─# ifconfig
dummy0: flags=195<UP,BROADCAST,RUNNING,NOARP>  mtu 1500
        inet6 fe80::58c6:ccff:fe52:d0b9  prefixlen 64  scopeid 0x20<link>
        ether 5a:c6:cc:52:d0:b9  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 149  bytes 23831 (23.2 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 56  bytes 4530 (4.4 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 56  bytes 4530 (4.4 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

p2p0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 82:9e:ca:e1:e9:53  txqueuelen 3000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

rmnet_ipa0: flags=65<UP,RUNNING>  mtu 9216
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 1000  (UNSPEC)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.60  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fdbc:7359:23df:0:78f7:3ff:fe4f:afbf  prefixlen 64  scopeid 0x0<global>
        inet6 fdbc:7359:23df:0:43c:e5c2:8af4:264b  prefixlen 64  scopeid 0x0<global>
        inet6 2a02:a03f:eb0a:6000:43c:e5c2:8af4:264b  prefixlen 64  scopeid 0x0<global>
        inet6 fe80::78f7:3ff:fe4f:afbf  prefixlen 64  scopeid 0x20<link>
        inet6 2a02:a03f:eb0a:6000:78f7:3ff:fe4f:afbf  prefixlen 64  scopeid 0x0<global>
        ether 7a:f7:03:4f:af:bf  txqueuelen 3000  (Ethernet)
        RX packets 20091  bytes 15803632 (15.0 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 9776  bytes 2920224 (2.7 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


┌──(root㉿kali)-[/]
└─# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 002: ID 0e8d:7612 MediaTek Inc. MT7612U 802.11a/b/g/n/ac Wireless Adapter

Link to comment
Share on other sites

1 hour ago, dark_pyrro said:

Those commands shouldn't throw back an empty response. If an mt76 based adapter is attached to a Kali PC, you should get output. What's the output of lsusb on the Kali PC when you have the adapter connected?

I didn’t know that you had to connect the adapter to the pc while running the commands, now they indeed throw a response
 

Link to comment
Share on other sites

2 minutes ago, Weggos2000 said:

I didn’t know that you had to connect the adapter to the pc while running the commands, now they indeed throw a response
 

Still doesn’t give me a response on the phone though

Link to comment
Share on other sites

3 hours ago, Weggos2000 said:

I didn’t know that you had to connect the adapter to the pc while running the commands, now they indeed throw a response
 

Nope, didn't mean PC. You didn't ask about a PC. I think that dark_pyrro was confused.

To explain what you did, the lsmod command lists kernel modules. We have just confirmed that the mt76x2.ko kernel module is not present on the phone. Essentially, you have a driver issue. You will not be able to use the adapter without compiling a custom kernel.

  • Like 1
Link to comment
Share on other sites

On 7/3/2024 at 3:25 PM, DramaKing said:

Nope, didn't mean PC. You didn't ask about a PC. I think that dark_pyrro was confused.

To explain what you did, the lsmod command lists kernel modules. We have just confirmed that the mt76x2.ko kernel module is not present on the phone. Essentially, you have a driver issue. You will not be able to use the adapter without compiling a custom kernel.

The kernel that I am using should have the driver, but I don’t know where I can see which ones I have and which ones I don’t. And he wasn’t confused, I answered earlier that it threw back an empty response on both the pc and phone. But it does work on the pc. Then he explained that you need to have it plugged in to get a response. He wasn’t confused, I was.

Link to comment
Share on other sites

10 hours ago, Weggos2000 said:

The kernel that I am using should have the driver, but I don’t know where I can see which ones I have and which ones I don’t. And he wasn’t confused, I answered earlier that it threw back an empty response on both the pc and phone. But it does work on the pc. Then he explained that you need to have it plugged in to get a response. He wasn’t confused, I was.

lsmod lists kernel modules. And I'd double-check the compatibility. Kali lists the following features for the latest version of Android for that phone: BT_RFCOMM, HID-4, Injection, QCACLD, RTL8812AU.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...