When I try and use OpenVPN for android or FinchVPN, it will randomly say FATAL ERROR - Unknown Command, TUN adapter not installed correctly. I've tried Reflashing stock ROM, no difference... Tun.ko installer doesn't support the SM-G920V.
Related
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?
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!
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
Hello everybody! Noobing the shoozle out of my:
OnePlus One, model A0001 / 64GB currently with: Android 6.0.1 / Cyanogen OS version: 13.1.2-ZNH2KAS3P0-bacon / CyanogenMod API level: Elderberry(5) (just FYI, not sure if helpful)
Kernel version: 3.4.112-cyanogenmod-g8fbc62e
Unlocked, rooted with BaconRootToolkit/ TWRP ROM, downloaded latest ver -3.0.2-0 via official App, from Play Store
Kali images from: build.nethunter.com/nightly, as offensive-security's kali-nethunter wiki on github says (no external links for noobs, sorry )
apt-get updated, upgraded and dist-upgraded via KALI terminal
The first issue is with the OTG, not powering the USB WiFi adapter properly... with the regular USB-OTG adapter, lsusb WORKS, and returns proper info about 3 different adapters (Alfa Awus036h, TP-link WN725N and WN722N), BUT does not power them. No indicator lights get lit whatsoever 0mA status from lsusb -v
I bought a powered USB-OTG hub, that appears to not charge my phone, when plugged in two different chargers AND a powerbank. Still lsusb -v returns: 100mA current for the hub.
I tried plugging an A4Tech receiver for kbd+mouse, both work fine, with the tplink WN725N plugged in the second USB socket. lsusb shows the hub, the receiver and the WN725N data... Both regular and hub OTG's work fine with mouse+kbd, read and write data to USB Memsticks. Regular OTG transfers files to a computer and charges the phone.
I noticed that when in Android, the WiFi is turned off, ifconfig omits wlan0 and p2p0, that is the phone's main WiFi adapter.
So I thought that manually loading (insmod) the rtl drivers would start the OTG wlan.... Thus coming to the second issue:
The kernel is without LKM support - no modprobe, lsmod returns:
Code:
libkmod: ERROR: ../libkmod/libkmod-module.c: 1655 kmod_module_new_from_loaded: could not open /proc/modules: no such file or directory
Error: could not get list of modules: No such file or directory
When "apt-get install linux-headers-$(uname -r)" is typed, returns:
Code:
E: Unable to locate package 'linux-headers-3.4.112-cyanogenmod-g8fbc62e'
E: Couldn't find any package by glob 'linux-headers-3.4.112-cyanogenmod-g8fbc62e'
E: Couldn't find any package by regex 'linux-headers-3.4.112-cyanogenmod-g8fbc62e'
"apt-cache search linux-headers" returns some options for version linux-headers-4.9.0-kali1-all-armhf (the only armHF, others are armmp)
I cannot find a way to recompile my kernel and enable Loadable Kernel Modules support. Would you say this would be necessary for the external WiFi to work?
Do you know if there is any way out of this mess, as I am really tired fighting a "Our preferred device"-release issues??? Overall I'd love it if I could run external antenna
I am kind of new around.... In forums - in general, so I kindly ask for understanding. If any screenshots/pics/additional info is required - I'll make sure I update this thread. Not sure if I could've posted this thread in XDA assist, so I did it here.
EDIT: everything went fine when I tried third, different USB - WiFi adapter. Works properly. Still no LKMs.
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 !!!!