offensive-security / kali-nethunter

The Kali NetHunter Project
https://github.com/offensive-security/kali-nethunter/wiki
3.51k stars 891 forks source link

External Wifi card not detected Nexus 7 2013 #122

Closed byt3bl33d3r closed 9 years ago

byt3bl33d3r commented 9 years ago

Hi guys! I just compiled from source and flashed my Nexus 7 2013.. everything works except for the external wireless card... I'm using the TP-LINK TL-WN722N dmesg says USB in low power mode don't know if that has anything to do with it

binkybear commented 9 years ago

@mrhand1113 - I just tried the kernel I posted for the N7 2013 running lollipop 5.1 and it flashed. I didn't check the zip file signature check (just the defaults). I'm running TWRP 2.8.6.

mrhand1113 commented 9 years ago

Ok. I believe I am running on 5.0, will update and retry On May 6, 2015 5:23 PM, "binkybear" notifications@github.com wrote:

@mrhand1113 https://github.com/mrhand1113 - I just tried the kernel I posted for the N7 2013 running lollipop 5.1 and it flashed. I didn't check the zip file signature check (just the defaults). I'm running TWRP 2.8.6.

— Reply to this email directly or view it on GitHub https://github.com/offensive-security/kali-nethunter/issues/122#issuecomment-99613635 .

mrhand1113 commented 9 years ago

@binkybear After updating to android lolipop 5.1.1 yesterday, I redownloaded net hunter and reflashed it along with the kernel you provided and I am still getting stuck with the no such device error. I tried running wifite before I flashed the modified kernel and I also had the same error. I was before on lolipop 5.0 but I now am updated to 5.1.1 and still stuck at the error.

Sent from my iPhone

On May 6, 2015, at 6:29 AM, binkybear notifications@github.com wrote:

@mrhand1113 - I will look into this error today and get back to you.

— Reply to this email directly or view it on GitHub.

binkybear commented 9 years ago

@mrhand113 - Can you get me a dmesg when you plug/unplug externel wifi/device. If you could upload it to pastebin or something similar that would be handy. I don't need a whole dmesg, just from the time you plug in device.

mrhand1113 commented 9 years ago

Sorry for my lack of knowledge, could you elaborate what you mean by a "dmesg"? On May 8, 2015 5:17 PM, "binkybear" notifications@github.com wrote:

@mrhand113 - Can you get me a dmesg when you plug/unplug externel wifi/device. If you could upload it to pastebin or something similar that would be handy. I don't need a whole dmesg, just from the time you plug in device.

— Reply to this email directly or view it on GitHub https://github.com/offensive-security/kali-nethunter/issues/122#issuecomment-100371587 .

binkybear commented 9 years ago

From terminal on device type:

dmesg > /sdcard/dmesglog.txt

It can provide error msgs.

mrhand1113 commented 9 years ago

@binkybear when I try to run the command it comes back with the following problem. I have tried running sudo with the command but end up getting "command not found" . screenshot_2015-05-09-09-46-48

midlo commented 9 years ago

I am having similar issues as above. While I am not seeing errors when I run Wifite, it does not recognize any WIFI adapters connected through the OTG cable. I can bring them up and down through a terminal via ifconfig as wlan 0 or 1 (shows as wlan0 if connected before boot and wlan1 if connected after). iwconfig will only recognize the internal wifi adapter, which I thought was interesting. Airmon-ng does not see them either. I have tried the following wifi adapters with multiple otg cables:

TL-WN821N SMCWUSB-N2 WNA1000 AWUS036H

I'm no expert, but here's what I am running...I am running a Nexus 7 2013 WIFI with 5.02 operating system and 1.2 nethunter. One thing that I should note is the root methods described on the website did not work. I was able to unlock the boot loader, but the final step would not root the phone. TWRP would load up and show a bunch of mount errors. It seems that several people with this device had the same issues and ultimately used a different image loaded through the ADB terminal to get it up before installing nethunter from a zip. Could be nothing, or could be part of the problem with the wifi cards. Also, the Nexus reboots when the wifi adapter is removed, regardless of it's ifconfig state. Bringing it down (ifconfig wlan1 down) first does not matter. I did notice that the android will bring it back up and connect to saved networks with it even after I brought it down with ifconfig.

Nethunter is a great product. Hopefully we'll figure out how to get wifi working with the Nexus 7 2013. It's the perfect size and speed for this platform. Looking forward to using it on wfi audits.

-midlo

HTCnexus7 commented 9 years ago

HI

i have a nexus 7 2012 have Kali linux nethunter 1.21 nakasi kitkat modified boot nakasi 4.4.4_KTU84P.img TWRP 2.8.6.0 grouper Factory package nakasi ktu84p

But i can not start up wlan1 its not recognized in kalihunter using tplin722n checked otg checked usb stick any one can help

binkybear commented 9 years ago

@HTCnexus7 - Can you go into settings > about and tell me the name of the kernel version. (If it says google that a problem)

HTCnexus7 commented 9 years ago

3.1.10-gle42d16 android-build@vpbs1.mtv.corp.google.com #1 Tryed to install elementalX with twrp but nothing changed

binkybear commented 9 years ago

Thats google's kernel so you should try reflashing the kernel. You can download an older/working kernel here: http://photonicgeek.me/NetHunter/Kernels/grouper-tilapia/Kernel-groupertilapia-kitkat-12042014.zip

Go into recovery and just install the zip file and it should be fine.

Also, i'm closing this issue for the 2013 wifi not working as it seems to have gotten out of hand/scope.

mental-boy commented 7 years ago

I flashed pwnie express and I face same problem can you reupload your kernel because all old links are dead

baheejtp123 commented 7 years ago

i unpacked boot.img now where to edit to detect external usb wifi adapter for nethunter. im using galaxy s7 edge (sm-g935f) note 8 port.plz help @binkybear i tried SuperKernel-TW70-s8port , but not detecting twrp recovery showing invalid zip format! error...

sezusatish commented 5 years ago

hi
i am using Device : Nexus 7 2013 (flo) WIFI (cm13) i try to building own nethunter base on this linke https://github.com/offensive-security/kali-nethunter/wiki/Building-Nethunter Including the kernel full using this commend : root@kali:~/kali-nethunter/nethunter-installer# python build.py -d flocm -m -su --rootfs full and able to make zip file and installed and all is working good but external wifi card TP-Link WN722N v1 is detected by NetHunter and working good for max 120 min only if I put device in sleep mode, next time onwards external WiFi card is not detected i am using the same card in kali os and i working good even i tryed with alfa card also use otg pen driver and mouse also working good , i tryed to check in lsusb it now shown or iwconfig not able to see any attached max people are having issues, can any one assist to find any solutions is it kernel issues or this nexus device is not support for external wifi card I check /etc/system/firmware having dump of firmware