(Q) Using Network Manager app with Kali Nethunter - General Questions and Answers

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.

Related

WiFi PPPoE Flash zip

I have created a flash zip for WiFI based PPPoE connectivity.
Purpose / Why is this needed?
Many of us have DSL / PPPoE based connection which is set to bridged mode. PC / Laptop connects to internet via PPPoE / DSL dialer using username and password.
While it is easy to do it on PC / laptop, the android still can not. Only option is keep PC on allowing internet sharing via PC (PC becomes android's gateway)
This is waste of electricity as we need to keep PC / laptop on.
So I have created a small zip which uses rp-pppoe (from WiFI PPPoE android app)
Requirements
Android version > 2.1 (tested for Android 4.3 / ARM only)
Kernel which supports PPP (most kernels do)
Android terminal emulater or similar
How to install?
Flash the attached zip
Restart android
Using your favourite editor (root permission needed) change USERNAME and PASSWORD in file /system/bin/wifipppoe to as provided by your internet service provider
How to use?
Start/activate WiFi on your android
Open android terminal emulator
Run the command: su -c wifipppoe #allow root access if prompted
Thats all!
How to disable PPPoE?
Simply stop/de-activate WiFi
Hope this helps!

[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!

[Q] Monitor mode in chrooted kali using bcmon

Hi all,
I have a Nexus 7 (2012) wifi model tablet which is said to be compatible with bcmon(https://code.google.com/p/bcmon/). I am running cyanogenmod 10.2.
So I installed the bcmon.apk and the firmware files and then enabled monitor mode through the menu but when I select airodump-ng from the next menu, the android terminal pops up and nothing is displayed. Anyway the main reason I installed bcmon is in order to use it with my chrooted kali image. I cannot use airodump-ng from my chrooted kali beacuse it seems bcmon executes some other scripts(uses a special library?) before enabling monitor mode. I think it would be awesome to have aircrack-ng working on chrooted images without external wireless usb sticks. I dont seem to find any way to do this however, so I wonder if someone has managed it yet

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 !!!!

connecting chroot container to a network

I am using a p5210 an installed kalilinux on the tab
I got the kali.img from a different site and used linuxdeploy to run it
I am conneccting to it using vnc viewer
My device (tab) is conneted to the wifi but my kalilinux (chroot container ) isnt connected to my network
non of the terminal commands posted on the net to connect to the net work for me
what do i do because without having an internet connection in the kali linux (chroot container ) i cannot download important utility's :crying:

Categories

Resources