connecting chroot container to a network - General Questions and Answers

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:

Related

Internet in Titchy Linux

Hi. I am try using Titchy Linux but I can't make a usb connection with ubuntu 11.04. I found a tutorial in internet, but it doesn't work I wrote some in /etc/network/interfaces and on computer terminal but it is difficult to me
orzech2111 said:
Hi. I am try using Titchy Linux but I can't make a usb connection with ubuntu 11.04. I found a tutorial in internet, but it doesn't work I wrote some in /etc/network/interfaces and on computer terminal but it is difficult to me
Click to expand...
Click to collapse
what kernel are you using?
http://www.linuxtogo.org/~htcpxa/htcuniversal/images/Qtopia/ . Here is haret with zimage in one .exe, and start from loopback partition. I found tutorial on polish forum: http://pdaclub.pl/forum/universal/linux-na-universalu-czyli-jak-si281-uwolni263-od-ms/ . Now I'm trying with usb network, but on screen is only USB reset

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

(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