External wifi not working on nethunter - General Questions and Answers

Hello.
I have samsung a71 with magisk,nethunter installed i have installed wireless firmware and i did apt update and installed all the drivers however my external wifi won't show up in ifconfig or airmon-ng but it's showing in lsusb
How can i get it to work?

Related

Help with 3G USB Dongle

Hello.
I am triying to use a Huawei E173 HSPA Dongle in an APAD with Android 2.2 and kernel 2.6.32. When I insert the device it is not attached to the ttyUSB serial ports, but I can see in Terminal Emulator with the command lsusb. In Ubuntu I do sudo modprobe usbserial vendor=0xXXXX product= 0xXXXX and then the Dongle is attached to the serial ports and I can go to internet.
I was trying to do the same in android with Terminal Emulator but the problem is the module usbserial is not found. I don't have it.
I need advice in installing usbserial module in my android system. ¿do you think if I find the module file usbserial.ko compiled for 2.6.32 kernel and put it in my module folder will it work? ¿And where can I found it? ¿Anybody have it in his device?

[Q] Kali Linux via Linux Deploy w/Alfa AWUS036NHA (Atheros AR9271) USB wifi adapter?

i can't seem to find a straight answer about this. i've got kali linux installed on my samsung note 8013 and launch it via linux deploy, i access the desktop environment by connecting via VNC over SSH. i want to get my Alfa AWUS036NHA USB wifi adapter working within kali linux on it. i have the alfa connected to a powered USB hub which is connected to the tablet via a USB OTG adapter. the wifi USB adapter is recognized both in android and in kali linux when i use the "lsusb" command in a terminal window. however, it is not showing up when i do an ifconfig or iwconfig.
i have read that external wifi adapters are disabled by default, and that in order to get external wifi to work, the internal wifi needs to be disabled. however, i'm not quite sure how to do this or how to get the ath9k drivers working with packet injection, either in android or linux. i'm pretty sure this requires some kernel modifications especially if the ath9k drivers are not enabled within the kernel by default (i'm running stock rooted jellybean 4.1.2 ROM), unless there's a script that can be run on linux deploy when launching kali that can enable the ath9k drivers and the external wifi, and turn off the internal wifi. if it requires kernel modifications, do i need to recompile the kernel for both android and linux, or is the linux one enough to get it working within my kali chroot environment?
also, i was wondering if there was a way to boot into kali linux natively without having to replace my recovery - on the official kali site there's a recovery.img you can flash to boot into kali by holding down certain keys during startup, but i'd prefer to keep TWRP or clockworkmod recovery. sorry, i know that's a totally different question. thanks!
eudemonics said:
i can't seem to find a straight answer about this. i've got kali linux installed on my samsung note 8013 and launch it via linux deploy, i access the desktop environment by connecting via VNC over SSH. i want to get my Alfa AWUS036NHA USB wifi adapter working within kali linux on it. i have the alfa connected to a powered USB hub which is connected to the tablet via a USB OTG adapter. the wifi USB adapter is recognized both in android and in kali linux when i use the "lsusb" command in a terminal window. however, it is not showing up when i do an ifconfig or iwconfig.
Click to expand...
Click to collapse
Hello, any progress with that? I'm struggle with wifi and bluetooth issue couple month and nothing..
AlA777 said:
Hello, any progress with that? I'm struggle with wifi and bluetooth issue couple month and nothing..
Click to expand...
Click to collapse
you need to compile a custom kernel with the drivers/firmware and flash it
eudemonics said:
you need to compile a custom kernel with the drivers/firmware and flash it
Click to expand...
Click to collapse
Yes, already done. Thank you!

FaaastJB v2.5 Allwinner A13

I've got the FasssstJB 2.5 ROM up and running, once I got the touch screen working its been great. I've got Kali loaded via Linux Deploy and I plan on using a AWUS036H wireless for Kali.
When I plug the USB wireless in; lsusb can see the device in both android and kali however ifconfig shows nothing so I'm missing the rtl8187 drivers.
I've tried a few rtl8187.ko drivers I've found but nothing for 4.2.2
Anyone have an rtl8187.ko driver for 4.2.2 they care to share?
I'm 99.9% to my goal if I could just get this driver running
Thanks

TP-Link TL-WN722N wifi drivers for linux Nethunter .

Hi.
I want to install NetHunter on my OnePlus One phone.
Will probably flash a CM12 or 13 rom with NetHunter 2.0.
I have external adapter TP-Link-TL-WN722N, currently used for Linux kali rolling on my PC laptop. Since my OPO chip-set doesn't support monitor mode, I would like to use TP-Link-TL-WN722N.
My problem is finding the wifi drivers to install on a Android.
(Q) If you are currently using TP-Link TL-WN722N for NH or Linux Deploy, how did you download the drivers?
(Q) Is there an existing kernal to install having these drivers?
Or a set of instructions I could follow.
(Q) There is a linux package (firmware-atheros) in linux repository. Will this have the drivers?
Currently using ROM Lineage os 14.1.2, 64gb. Rooted phone with SuperSu 2.82 TWRP 3.1.1
I have an OTG host cable I tested with a mouse.
I'm fairly new at this so please explain.
Thanks.
TC.
Not working for me
@tomx2x I have the same question, the TL-WN722N doesn't want to work with the firmware-atheros package altough it should work with that. Did you manage to solve it?
Rooted, Cm13, android 6.0.1 twrp super su and flashed nethunter full 2017.10 with kernel 3.4.110. Installed firmware-atheros in terminal. Lsusb kind of shows something but not really recognising the adapter
This is a v2
Turned out that this is a v2 with r8188eu chipset.. no monitor mode
yesimxev said:
@tomx2x I have the same question, the TL-WN722N doesn't want to work with the firmware-atheros package altough it should work with that. Did you manage to solve it?
Rooted, Cm13, android 6.0.1 twrp super su and flashed nethunter full 2017.10 with kernel 3.4.110. Installed firmware-atheros in terminal. Lsusb kind of shows something but not really recognising the adapter
Click to expand...
Click to collapse
This is where I stand.
@yeseximv.
I am running TP-Link-TL-WN722N V1 but still cannot connect.
Newbie with Linux, so maybe you can assist me.
Trying Nethunteros rom.
Flashed Nethunteros successfully. Install Kali Chroot-full.
Using Bvnc app as VNC client to connect via ssh.
Firmware-atheros drivers are part of the Nethunteros kernal. Installed in /system/etc/firmware.
I am trying to connect to the internet w/o using a Network Manager app.
Here are the steps I performed.
1. Started Dbus service
2. Ifconfig Wlan0 up (Interface I am using).
3. Entered linux command: iw dev wlan1 connect “BayBreeze Hotel”
Terminal Message returned stated “connected”
TL-WN722N (wlan0 interface) starts blinking.
4. Launch Firefox.
I should see the hotel's Login page.
Received message “Problem loading page”
I know the essid “BayBreeze Hotel” is a active wireless wifi network. When not using Linux, I can launch & connect wifi (BayBreeze Hotel)on my OnePlus phone by going to settings.
There must be some commands/steps I am missing. Can you or anyone in this thread help?
If I cannot get this going, my next step will be to use Network-Manager apps.
In terms of your V2 TP-Link.
In GitHub forum there is NetHunter kernal (LKernel491.zip} I tried and was successful in Monitor mode.
Firmware is part of the kernal (no need to install firmware atheros manually).
You can go to the link I provided below, ask the Programmer (Bkr32) whether it supports V2.
My only issue using Lkernel491 patch is getting “Device Not Managed” error connecting to Network_Manager app. Tried Set*managed=true*in*/etc/NetworkManager/NetworkManager.conf.
But still unsuccessful.
Instructions to install are part of the link provided.
Here is the link:
https://github.com/offensive-security/kali-nethunter/issues/962#issuecomment-330428124
Thanks.
TC.
Got it
Newbie here too so can't help you with that, sorry. I finally got an AWUS036NEH and it all works flawlessly
tomx2x said:
@yeseximv.
I am running TP-Link-TL-WN722N V1 but still cannot connect.
Newbie with Linux, so maybe you can assist me.
Trying Nethunteros rom
...
Thanks.
TC.
Click to expand...
Click to collapse
yesimxev said:
Newbie here too so can't help you with that, sorry. I finally got an AWUS036NEH and it all works flawlessly
Click to expand...
Click to collapse
@yesimxev.
Can you provide the steps/commands you use to connect and launch the internet with AWUS036NEH wifi dongle. This may help me with my problem.
Thanks.
tomx.
I haven't used for connecting the internet, will test if works. I was interested in the monitor mode.
As before: Rooted, flashed twrp, super su, Cm13 with android 6.0.1 (stock firmware) and flashed nethunter (nightly) full 2017.10, then kernel 3.4.110. Installed firmware-atheros in terminal. Updated metapackages. Downloaded wifi metapackages, not sure if it's needed though. Then starting monitor mode works from the nethunter custom commands. Try making this config, then you can add the custom command to run after you plugged in the adapter.
https://forum.xda-developers.com/showthread.php?t=2121791
tomx2x said:
@yesimxev.
Can you provide the steps/commands you use to connect and launch the internet with AWUS036NEH wifi dongle. This may help me with my problem.
Thanks.
tomx.
Click to expand...
Click to collapse
Find drivers no problem
they are on tplink website with some manuals
but i think git is better..
have Nexus 7 .. for some reason it not detecting WN722N v3
but can see OTG (Running nethunter 2020)
so found this manual
download the driver , extract it in a folder , right click in folder and choose Open in termianl
and then enter these commands :
make clean
make all
cp realtek_blacklist.conf /lib/modprobe.d/
make install
reboot
to activate monitor mode :
ifconfig down
iwconfig mode monitor
ifconfig up
Hope it will work !!!!
shame on nethunter for not preloading drivers !!!!

(Q) Using Network Manager app with Kali Nethunter

Hi.
I need some help from a member using Network-Manager to handle their wireless wifi interfaces with Kali Nethunter.
After installing network-manager & network-manager-gnome (v1.8.2.1) did you have to change any Network Conig files to get your interfaces connected to network-manager?
How did you connect to the internet?
I cannot get the network-manager-applet enabled.
Enable network-manager is grayed out.
I've tried service network-manager start.
Clicking edit connection does not bring up any screen.
All I get is network-manager is not running from the nm-applet trey.
I understand nm-applet is disabled on boot.
After booting into kali nethunter, I plug my external interface wlan1 card (TP-Link-TL-WN722N ) to my OnePlus One Phone using otg cable.
- Start wlan1 (airmon-ng start wlan1 ) green light turns on.
- Start network manager service. Status shows “NM is running”.
Still network-manager remains disable.
Tried uninstalling/re-installing network manager.
See my 2 Screen Attachments behavior of my Network-Manager-applet.
Can go into monitor mode and perform aircrack-ng cmds with wlan1.
Atheros drivers ( AR9271ath9k, ath9k_htc) are loaded in Lib/Firmware.
But something is not working or missing.
What steps did you do after installing network manager apps?
Info:
- ROM: Lineageos 14.1 bacon Android 7.1.2 Marshmallow. Device: OnePlus One.
- Uname: Linux Nethunter 3.15. Kernel 3.4.112-lineageos-g23c699a armv71.
- Distro: Kali Linux Rolling V2017.1
- Architecture: Armhf
- CurrentDesktop: XFce V4.1,2
- Client: VNC Viewer V3.3.1 connect via localhost 127.0.0.1 to linux
-Network-Manager and Gnome v1-8-2-1 armhf
Thanks.
TC.

Categories

Resources