Finding the right Wifi-Stick for Aircrack-ng on the OnePlus One - Android General

First of all, i'm not sure if i'm posting in the right section as i'm new to this forum.
I basically want to find a wifi stick, that supports using it together with aircrack-ng (The Kali Nethunter for the OnePlus One)
My Setup:
A OnePlus One
Multiboot
Dirty Unicorns (For being able to multiboot as CyanogenMod's Kernel doesnt support multiboot)
CyanogenMod 12.1 (Last Nightly or smth.)
Kali Nethunter
USB-OTG cable
So really the only thing that's missing is the stick.
I've only used Keyboards and Mouses with the OTG cable before, and it worked just plug'n'play. Would be awesome if i would find a stick that just works out of the box with little preconfiguration, but it's probably not that easy.
=> My two questions are:
(More important) WHAT stick is the perfect one (Does anyone have a working one thats easy to set up)?
(I'll figure it out myself somehow i hope, if i have a stick)HOW do i set up the stick? (I mean what drivers to flash, etc.)

virusscript24 said:
First of all, i'm not sure if i'm posting in the right section as i'm new to this forum.
I basically want to find a wifi stick, that supports using it together with aircrack-ng (The Kali Nethunter for the OnePlus One)
My Setup:
A OnePlus One
Multiboot
Dirty Unicorns (For being able to multiboot as CyanogenMod's Kernel doesnt support multiboot)
CyanogenMod 12.1 (Last Nightly or smth.)
Kali Nethunter
USB-OTG cable
So really the only thing that's missing is the stick.
I've only used Keyboards and Mouses with the OTG cable before, and it worked just plug'n'play. Would be awesome if i would find a stick that just works out of the box with little preconfiguration, but it's probably not that easy.
=> My two questions are:
(More important) WHAT stick is the perfect one (Does anyone have a working one thats easy to set up)?
(I'll figure it out myself somehow i hope, if i have a stick)HOW do i set up the stick? (I mean what drivers to flash, etc.)
Click to expand...
Click to collapse
Old thread, yes i know, but just got my Oneplus. PnP compatible dongle is TL-WN722N. Once plugged, airmon-ng will detect it. ifconfig wlan1 up before hand. Drivers are all intact to the current NetHunter. Just plug and play through OTG.
Ps. Same goes for a linux OS, kali 2.0. Nexus 7 tablet. Whatever, chipset is Atheros and it's plug and play. Just don't go get a chipset that's ATH10K or you'll be slitting your wrist as that is still a work in progress.

Related

Debian, adb, and virtual box.

Alright, decided to install debian in a virtual box so I could play with the kernel over the weekend. Usb debugging, adb functioning in Windows, Usb mounted in virtual box, however adb doesn't detect it. Ideas?
Did you download the Android SDK for Linux? link
Yeah. Hence me saying adb didn't detect it.
I think you need to enable usb passthrough or whatever you call. That may be in the addons pack that come with Sun Virtual Box
USB capturing is enabled, and both the USB port [0100] and HTC Android Phone (on port [0100]) are both captured.
abcdfv said:
Alright, decided to install debian in a virtual box so I could play with the kernel over the weekend. Usb debugging, adb functioning in Windows, Usb mounted in virtual box, however adb doesn't detect it. Ideas?
Click to expand...
Click to collapse
Before you pull too much hair out, you REALLY need to make sure you have a really recent kernel. I had that exactly problem on Centos 5.3 and upgrade that box to fedora 12 or 13 whatever the latest one.
Have you tried installing Ubuntu using WUBI? It doesn't actually install it... it just puts the files on your Windows partition, and adds an entry for Ubuntu to the bootloader. That might be easier than trying to work out problems with Virtual Box.
This is my mom's computer, so I'm doing VB. Otherwise I'd just through Sabayon back on and dualboot, which is what I plan on doing when i get back to my computer.
I've seen VirtualBox act flaky about passing a USB device over to the hosted OS properly, especially USB-class devices.
Perhaps you could try uninstalling the device as detected by windows and then allowing it to be re-detected before you retry passing it to the VB. Might not work at all, but I have had to 'wrestle' some devices into properly passing-through to the VirtualBox-Hosted OS on more than one occasion.
Good luck either way!
Since this is my last day here, I think I'm just going to wait until I get back to my PC.
I appreciate everyone's help though.

[Q] USB WWAN - How To On Wifi Xoom?

Hello, I Know there are correct wifi usb dongles drivers in Tiamat Kernels, i have tried everything possible to get the Mobile Settings option in the Wireless setting of android with no luck, Can anybody point me to the correct procedures on how to do it? btw i have tried the methods of doing that on Acer and Asus and it didn't work, i had to flash new kernels to boot again in some cases. Thanks
Why those drivers are present but nobody want to write dialer script and instruction?
Launchpad kernel for Xoom!
Alright, Forget about Tiamat kernel, i have Team Tiamat Moray Rom on my Wifi only Xoom with the launchpad kernel from this post :
http://www.xoomforums.com/forum/lau...nel-launchpad-1-2-2-new-6-11-11-3-1-only.html
you will find in the addons (WWAN USB Addon) which is used on the launchpad to show the Mobile Menu and enable tethering as the kernel should have everything required, so why when i use it on the Xoom it doesn't work? BTW i have also disabled the Zero-CD option on the USB stick to make sure it reads as a modem when connected to usb port, i made sure that my 3g stick is compatible with the operation.
Its really interesting when i see 153 views and only one reply
You can try this http://forum.xda-developers.com/showthread.php?t=1118639
And I will try with CDMA modem I found one non-english article.
But just yesterday I got trouble with OTG connections, all devices are with error:
usb 2-1: new low speed USB device using tegra-ehci and address 6
usb 2-1: device not accepting address 6, error -71
hub 2-1: unable to enumerate device on port 1
It was working last night. Wtf? Do you know how to fix this? I tried to restart tablet with no luck, otg cable not working anymore.
Update 1: Nevermind, cable was broken. Fixed.
Update 2: I tried that method on link I gave you - zore result, reflashed.
P.S: Just tried your launchpad kernel - too bad that 3.1 only. I'm using Rogue now. By the way usb_wwan can be installed everywhere.
I found also this universal installer for Huawei modems attached below.
Dunno how to "dance" with this. After installing just nothing happend or I doing wrong.
thanks for you effort, OTG cables are horrible, most of the time when you get failures its caused by cables or adapters anyway,
i downloaded the attached archive and pushed all modules to my Xoom with MORAY Rom and Odachi Kernel, rebooted and nothing happened too no Mobile Settings menu, will keep trying and keep you posted
Actually I'm not sure if there should appear some menu. After this you have to see in dmesg you modem to be recognized like GSM converter but I don't. So it looks like option.ko isn't loaded. Maybe this file has to be in defferent place instead of /system/lib on Xoom? I also tried to put it in /system/lib/modules/ , also nothing happend after.
Maybe it works on older versions of ROMs? I'm using 3.2.2 stock rooted with rogue kernel + usb_wwan
Maybe, i have tried it with many roms, even the 3.1 but no luck, i think Team Tiamat would be the right ppl who would clarify everything to us, i have tried setting the kernel to launch all the modules on boot but nothing happened,we need somebody experienced in those things to help us out
Hmm... as you see there is nobody who want to help with this. Because they have 3G models or expencive portable hotspots and nobody need this.
Anyway. Did you try to put option.ko and usb_wwan.ko in system/library/modules folder and right after that set up "modules on boot"? Restart tablet, connect modem and see in dmesg. I don't have this option in my rom, so try to do that.
:s
I've tried placing the modules and loading them on boot, but it didn't work too, its not about money, actually i have 3G portable wifi router and my other android devices have the built-in wifi hotspot ,but its about doing the thing...its about the concept, why it's not working while we have everything in place, thats the weird thing, i think we will have to wait until somebody feels sorry for us then decide to help us! :s
Problem definitely in /system/build.prop it should be edited somehow, according to manual for A500 tablet.
Neolo said:
I found also this universal installer for Huawei modems attached below.
Dunno how to "dance" with this. After installing just nothing happend or I doing wrong.
Click to expand...
Click to collapse
hi, where to put this module pack? i mean how to install?
How to connect manually using Huawei 3G dongle:
You need:
- rooted xoom with Tiamat kernel (or any other which has usb_wwan.ko and option.ko attached)
- 3g dongle
1. Backup files from /etc/ppp in case when this solution don't work
2. Download attached zip and extract to /etc/ppp
3. edit /etc/ppp/gprs-connect-chat in line
Code:
'' AT+CGDCONT=1,"IP","internet"
replace 'internet' with APN name for your network
4. Now run terminal (Terminal Emulator) and type
Code:
su
stop ril-daemon
insmod /system/lib/modules/usb_wwan.ko
insmod /system/lib/modules/option.ko
pppd call gprs
Now you should have working connection (Xoom doesn't show this, but if you run browser it should work).
For me it works on Verizon Xoom with Huawei e1750, but i'm living in area where only edge is avaliable, so this is very slow connection - i need to check connection speed in other location this weekend.
For Xoom Wifi owners: this should also work for you, but with small change - after inserting modules you should check on dmesg which port(s) is using your dongle and change port number in first line of /etc/ppp/peers/gprs . It's probably /dev/ttyUSB0 but you must check.
Porzeczek said:
How to connect manually using Huawei 3G dongle:
You need:
- rooted xoom with Tiamat kernel (or any other which has usb_wwan.ko and option.ko attached)
- 3g dongle
1. Backup files from /etc/ppp in case when this solution don't work
2. Download attached zip and extract to /etc/ppp
3. edit /etc/ppp/gprs-connect-chat in line
Code:
'' AT+CGDCONT=1,"IP","internet"
replace 'internet' with APN name for your network
4. Now run terminal (Terminal Emulator) and type
Code:
su
stop ril-daemon
insmod /system/lib/modules/usb_wwan.ko
insmod /system/lib/modules/option.ko
pppd call gprs
Now you should have working connection (Xoom doesn't show this, but if you run browser it should work).
For me it works on Verizon Xoom with Huawei e1750, but i'm living in area where only edge is avaliable, so this is very slow connection - i need to check connection speed in other location this weekend.
For Xoom Wifi owners: this should also work for you, but with small change - after inserting modules you should check on dmesg which port(s) is using your dongle and change port number in first line of /etc/ppp/peers/gprs . It's probably /dev/ttyUSB0 but you must check.
Click to expand...
Click to collapse
bro,
how can we connect any other company's usb modem? it is same as huawei modem or new driver files to be downloaded?
raihankabir_1 said:
bro,
how can we connect any other company's usb modem? it is same as huawei modem or new driver files to be downloaded?
Click to expand...
Click to collapse
What modem you have?
Porzeczek said:
What modem you have?
Click to expand...
Click to collapse
i was successful with huawei 3g modem according to the tutorial. i have an wimax usb modem and i didnt find any tutorial related to wimax usb modem on xoom
raihankabir_1 said:
i was successful with huawei 3g modem according to the tutorial. i have an wimax usb modem and i didnt find any tutorial related to wimax usb modem on xoom
Click to expand...
Click to collapse
Ask google for linux support for this wimax modem. If it works on linux it also should work in android. And most of linux tutorials are saying which driver is needed.
I also have different modem need to use, because gprs is slow and expencive.
I have Cmotech U300 (Dual mode - WiMax + CDMA Rev.A) branded for Sprint. Have no idea where to get a driver for xoom.
Looks like my modem is working under Linux, http://jebus.nu/tech-corner/sprint-u300 Dut generally I have no idea how to make it for Xoom.
My Huawei is recognized well. I set APN name, but what about APN username and password. Where are setted?
Are there any updated ppp files for the xoom on jelly bean as it does not seem to work with my one....... Also try something called "ppp widget" which seems to be easier to do but still its not worked for me on my xoom...... HELP

[Q] [A700][Port?]Native Ubuntu Port on A700?

Hey guys!
I bought the A700 a few months ago and now I stumbled upon this link in our forum. It's a port of Ubuntu on the A500 running natively with Wifi. Touchscreen runs out of the box, ARM Support is now supported natively by kernel 3.7.
The following things I need to mention:
-rootfs must be on the external sdcard as a ext2/3/4 partition
-sdcard can still be used when partitioned as FAT32/ext
-if internal wifi does not work out of the box, you can connect any wireless usb dongle via usb-host
My question to the devs here would be:
Is it too hard to port this to our A700 as it nearly is the same as the A500?
I hope this wasn't posted beforehand and was answered, but I'd like to support such kind of project so I can use Linux on my device natively.
As nobody answers the question...
After rooting, it'd be possible to use Ubuntu/Debian/Arch Linux via chroot. But I couldn't find links whether media applications , especially sound, is working. The possibility to use Linux fully on my tablet pleases me, but I rather have it boot natively, but for this we need some things I found in the Asus Transformer TF700 Forums(which is one of the first tablets to get dual boot Android/Linux):
-unlocked bootloader (that's quite a major fact in porting linux to our devices. I'm no dev, I can program a little in java but that's it.)
-devs willing to build armhf Linux from source or use Ubuntu armhf /Debian armhf versions(I'd prefer Ubuntu or Debian as both are quite the same but Unity would be better to use on touchscreens)
-compile the tegra drivers in this package (wouldn't be too hard if one package already existed, people could install it after installation for HWA)
-rootfs on sdcards (since Android is still on NAND and it'd be cool to dualboot, but still, the lack of an unlocked bootloader is hardening the entire process
I don't know if it'll work, but if we write an petition to ACER to unlock their bootloader, maybe they could send as a tool like ASUS did?
Or does such a tool already exist? I only know of rooting tools but none to unlock bootloaders (which could explain why you can easily brick your Iconia A700 , i think)
If somebody is willing to help/provide ideas to this project, I could do some work and ask devs who work also on the Linux Kernel to help us out. But we also need a volunteer to lend them their device. But first, and that's priority nr.1: we need to unlock bootloader as fast as possible.
Ninja Edit: Found out that the bootloader is already unlocked, so we just need an .img that boots from sdcard so the Iconia sees it.
So, I played around with chroot+boot scripts to boot linux "virtually" on the A700.
Wouldn't it be possible to leave the ubuntu.img on the sdcard, but get the bootscript on the NAND/internal memory, so it could execute while booting?
I don't know how to accomplish this, but there'd be a way to execute it to run natively. Ubuntu via chroot with keyboard/mouse via USB OTG and HUB works without sound working yet, but it's just a matter of time.
I really hope that more people start helping/providing info on this matter , just to provide more ideas to this project.

[REQ] USB ext WIFI Dongles driver modules into 4.3/4.4 kernel

Hi! I was wondering if it was possible (it probably is) to merge ralink drivers into some i9300 kernel to make an eventual USB external Wifi adapter. More in detail, the modules i think would be mostly useful are the RT2080 ones, even i need specifically the rt3070 one. I saw that this was already done on Nexus7 devices, and wanted to ask if some dev could do this or some tips on how to do it by myself. Thank you
Sent from my GT-I9300 using xda app-developers app
nebular said:
Hi! I was wondering if it was possible (it probably is) to merge ralink drivers into some i9300 kernel to make an eventual USB external Wifi adapter. More in detail, the modules i think would be mostly useful are the RT2080 ones, even i need specifically the rt3070 one. I saw that this was already done on Nexus7 devices, and wanted to ask if some dev could do this or some tips on how to do it by myself. Thank you
EDIT 22/03
So i found out the xda-dev app Module Loader. Injected rt3070sta.ko module and successfully mounted my Zyxel NWD2105 Wifi dongle. But it seems phone doesnt care. I m on Slimkat 4.4 v3.8 on i9300. The question is: how do i now become able to use the dongle?
Click to expand...
Click to collapse
nebular said:
nebular said:
Hi! I was wondering if it was possible (it probably is) to merge ralink drivers into some i9300 kernel to make an eventual USB external Wifi adapter. More in detail, the modules i think would be mostly useful are the RT2080 ones, even i need specifically the rt3070 one. I saw that this was already done on Nexus7 devices, and wanted to ask if some dev could do this or some tips on how to do it by myself. Thank you
EDIT 22/03
So i found out the xda-dev app Module Loader. Injected rt3070sta.ko module and successfully mounted my Zyxel NWD2105 Wifi dongle. But it seems phone doesnt care. I m on Slimkat 4.4 v3.8 on i9300. The question is: how do i now become able to use the dongle?
Click to expand...
Click to collapse
You must boot from a linux distrubiton such as backtrack. But there is no native way that i know for doing that. Although there is one solution that you run linux background and connect to it by vnc viewer. Take a look at this
Click to expand...
Click to collapse
I built a few kernels for 4.3 and 4.4 with these modules, but the problem is once I built the kernel I lost the ability to mount the ext4 SD to be available within android. Only adb can see it.
What do you see in lsusb, or dmesg when you plug it in?
simply nothing. my rt3070 device is not even recognized by phone (i9300 with 4.4.4 Slimkat) after inserting specific .ko modules

Problem with my TL-WN722N V 1.10 on Nexus 5 6.0.1 plugged with OTG

Hello,
I have the 1.10 model of the TL-WN722N plugged in with a standard OTG adapter and it doesn't work.!
I installed Nethunter via the TWRP method by installing the image file in recovery mode, after unlocking the OEM via windows with adb.
I have version 6.0.1 of Android on Nexus 5 and I connect the key with a standard OTG adapter.
Currently I have done a lot of research and I can't figure out how to fix the problem.
I also try to install applications that manage and enable the OTG.
Here are screenshots of the commands I tried and with the version of my Android.
sorry i can't put an external link
The biggest problem is that the modules do not install, I have already tested some kernel and none install the modules so we get the problem cited above.
sorry i can't put an external link
I have spent whole days looking for a solution, looking at forum pages and I don't understand.
I managed to understand that there is a bone for the phone + the kernel and the full kali pack (tell me if I'm wrong).
But I don't know why the modules don't want to install.
The phone works very well in OTG.
I tested with several OTG cables and it works perfectly with a USB key.
I'm on Nexus 5 with original android 6.0.1 in marshmallow and I'm trying to connect a TL-WN722N 1.10 to the phone.
In short I hope you can help me because I am surpassing, I am completely neophyte but that fascinates me.
Sorry for the translation, I'm French.
Here is the name to my gitlab issue:
"Problem with my TL-WN722N V 1.10 on Nexus 5 6.0.1 plugged with OTG"
I tested the kernel that I was offered and it doesn't work.
Especially since I can't understand in what order I should install each file and if I should "reboot" between each "install".
Thank you for taking the time to read this block and I hope you can help me.
If any info is missing, tell me.
Thank you
A +
andurilmike
andurilmike said:
Hello,
I have the 1.10 model of the TL-WN722N plugged in with a standard OTG adapter and it doesn't work.!
I installed Nethunter via the TWRP method by installing the image file in recovery mode, after unlocking the OEM via windows with adb.
I have version 6.0.1 of Android on Nexus 5 and I connect the key with a standard OTG adapter.
Currently I have done a lot of research and I can't figure out how to fix the problem.
I also try to install applications that manage and enable the OTG.
Here are screenshots of the commands I tried and with the version of my Android.
sorry i can't put an external link
The biggest problem is that the modules do not install, I have already tested some kernel and none install the modules so we get the problem cited above.
sorry i can't put an external link
I have spent whole days looking for a solution, looking at forum pages and I don't understand.
I managed to understand that there is a bone for the phone + the kernel and the full kali pack (tell me if I'm wrong).
But I don't know why the modules don't want to install.
The phone works very well in OTG.
I tested with several OTG cables and it works perfectly with a USB key.
I'm on Nexus 5 with original android 6.0.1 in marshmallow and I'm trying to connect a TL-WN722N 1.10 to the phone.
In short I hope you can help me because I am surpassing, I am completely neophyte but that fascinates me.
Sorry for the translation, I'm French.
Here is the name to my gitlab issue:
"Problem with my TL-WN722N V 1.10 on Nexus 5 6.0.1 plugged with OTG"
I tested the kernel that I was offered and it doesn't work.
Especially since I can't understand in what order I should install each file and if I should "reboot" between each "install".
Thank you for taking the time to read this block and I hope you can help me.
If any info is missing, tell me.
Thank you
A +
andurilmike
Click to expand...
Click to collapse
You didn't mean the whole time the 6.1 factory image, or did you?
It was to 90 % over the thread of Lineage the talk.
Anyhow, anything which you got linked by the fellow user and me, were apart from the official image from Offensive's site, solely for Lineage meant.
Before I forget, here the newly build chroot, with all the new apps, wallpaper, boot animation from the nightlys:
https://mega.nz/#!9MZ3nAKJ!oQFguK9vltGN5TNjxcfZmQvM2xg3_EzNWTz5roBN-Hk
What do you not understand about the flash procedure in particular?
PS
As re4son wrote does the hammerhead kernel not install any modules.
I don't know what you flashed before though.
What did happen with Lineage+Opengapps+root+installer+kernel(or together, as my previous upload..?
I haven't the best experiences with Lineage, but it depends.
May I ask if you had time to take a look from the rom I linked you at the beginning?
It's the most reliable, although a bit outdated rom named NetHunter OS.
https://gist.github.com/binkybear/8f0f4eee292d5263372f47c3c3edd08e
Post your questions as detailed as possible..so let's wrap it up.
469/5000
A miracle happened there and installing nethunteros-nethunter-hammerhead-cm-14.1-hammerhead and then kalifs-armhf-full.tar.xz for the chroot and it works well.
The only problem is that when I try to install packages:
E: unable to locate kali-linux nethunter package
E: unable to locate kali-linux package
E: unable to locate kali linux-all package
But other than that, everything works.
Victory.
Thank you all for your patience and your advice.
andurilmike said:
469/5000
A miracle happened there and installing nethunteros-nethunter-hammerhead-cm-14.1-hammerhead and then kalifs-armhf-full.tar.xz for the chroot and it works well.
The only problem is that when I try to install packages:
E: unable to locate kali-linux nethunter package
E: unable to locate kali-linux package
E: unable to locate kali linux-all package
But other than that, everything works.
Victory.
Thank you all for your patience and your advice.
Click to expand...
Click to collapse
No need to thank me.. I am glad, that you were able to get it to work finally, after that number of failed attempts..
I went with the NetHunterOS rom version, which I linked you in gitlab
https://build.nethunter.com/nethunt.../LOS-hammerhead-14.1-20170102-nethunteros.zip
SuperSU has already been integrated in this variation as well.
After you flash the obligatory OpenGapps version for the same Android version and architecture 7.1 [arm], you are basically good to go.
I prefer the package size 'pico' - but this goes after your personal liking.
In my experiences is it better to use the "older" kalifs filesizes and not the newer ones with ~ 1,3 GB -- it seems to break somehow the rom/kernel if you use the newer ones
https://build.nethunter.com/kalifs/kalifs-20171118/kalifs-armhf-full.tar.xz
I don't know if you can use the internal wifi chipset, as well as a external adapter for wireless pentesting with the version wich you choose, but this is possible with the one I linked yesterday and again above.
A problem is that
(sudo) apt-get (dist-)upgrade
Click to expand...
Click to collapse
and seemingly further package upgrades are breaking the rom.
Although theoretically should you be able to install stuff.
Did you try it over the terminal, or just the NetHunter.apk?
Best regards l
Thank you.
I use an external wifi antenna, the TL-WN722N v 1.10 in USB OTG.
I tried to install metapackages via nethunter.apk
Nethunter cannot detect a HID interface.
Duckhunter HID does not work.
Thank you
A +
andurilmike said:
Thank you.
I use an external wifi antenna, the TL-WN722N v 1.10 in USB OTG.
I tried to install metapackages via nethunter.apk
Nethunter cannot detect a HID interface.
Duckhunter HID does not work.
Thank you
A +
Click to expand...
Click to collapse
Yeah, I just meant with the mentioned rom/setup, are you able to use the internal Wifi chipset (Broadcom4339) in monitor mode and could forgo the external adapter.
HID should work as well.
No, I cannot use the internal wifi card in monitor mode or the HID device.
I don't understand why?
Thank you

Categories

Resources