[Q] Is posible to connect a USB wifi to use backtrack5 in acer iconia a500 - Acer Iconia A500

Is there any way to enable USB port using backtrack 5 (I used vnc, android terminal to get this backtrack working) to connect a USB wireless adapter to my iconia A500 and use backtrack 5 complete features?

probably not
If you are using the stock rom and kernel, then no. Linux in a chrooted environment uses the already-installed Android kernel to run, not a separate kernel, and the kernel modules for most USB devices including wireless cards are not included in the stock kernel.
I haven't used a non-stock kernel (yet), so I don't know if there are any non-stock rom/kernel combos that include additional kernel modules.

Thanks
nalf38 said:
If you are using the stock rom and kernel, then no. Linux in a chrooted environment uses the already-installed Android kernel to run, not a separate kernel, and the kernel modules for most USB devices including wireless cards are not included in the stock kernel.
I haven't used a non-stock kernel (yet), so I don't know if there are any non-stock rom/kernel combos that include additional kernel modules.
Click to expand...
Click to collapse
Thanks for the answer let me know if you find the way to it.

Bk8 said:
Thanks for the answer let me know if you find the way to it.
Click to expand...
Click to collapse
you mean a usb wifi dongle.....do you mean to use the "pentesting" tools in backtrack since most android phones lack monitor mode?
if so then yes but the work around isn't pretty and i wouldn't even try if your chrooting backtrack 5 and not dual booting it natively
ill type up the terminal codes if you really want them no guarantee that it will work when your not booting it natively and that it won't have compatibility issues
XD

Yes please type the codes
gears177 said:
you mean a usb wifi dongle.....do you mean to use the "pentesting" tools in backtrack since most android phones lack monitor mode?
if so then yes but the work around isn't pretty and i wouldn't even try if your chrooting backtrack 5 and not dual booting it natively
ill type up the terminal codes if you really want them no guarantee that it will work when your not booting it natively and that it won't have compatibility issues
XD
Click to expand...
Click to collapse
Yes I want to use pentesting tools with a usb wifi dongle, and please type the terminal codes I would like to test them. Thank you

Related

[Q] ADDING RNDIS module for DROID x to enable wired tethering

I am trying to compile rndis gadget module to load on a DX or D2. If this works we can get wired tethering enabled on DX and D2 for computer with rndis host support.
Motorola's implementation of RNDIS is usbnet (motorola network inteface) which has driver's for windows but not for linux. The phones virtual usb ethernet can be made to show up on a windows machine by using the command on a rooted phone.
#echo 1 > /sys/class/usb_composite/usbnet/enable
With the right drivers from motorola, a virtual ethernet interface shows up on the windows machine with ip address range 192.168.16.x. If the routing tables on the phone are modified, we have wired tethering on windows machines only.
I downloaded the froyo kernel for the droidx but when i try to load the f_rndis.ko file i compiled, i get kernel tainted on dmesg. Anyone willing to help me with this?
sound great but W A Y beyond me
You will succeed...
are you succeed?
Does this have anything to do with the tun.ko filea? I think I may have seen someone elae working on something similar. Sorry if I'm way off!
Sent from my DROIDX using XDA App
gowthamj said:
I am trying to compile rndis gadget module to load on a DX or D2.
Click to expand...
Click to collapse
Gowthami
Any new developments with this? Did you or anyone ever get it to work?
I tried to do this myself and ran into issues. Granted it was the first time I ever attempted a "make" so I'm not sure I have much to add but this:
arch\arm\configs\sholes_defconfig was used as the config to make the tun.ko VPN module.
PleaseStirMe
Hi,
I just do it, compiling module to enable the /dev/usb0 to show up ! But It doesn't work; They add a module that unify usb ether,adb and mtp without include rndis support. Furthermore this is not a module so can't remove it from the kernel to load the good module.
Any ideas?

Missing fuse and "on the go" on Simplestreak 1.3

Dear all,
I have been using Streakdroid 1.9.1 since it was launched because fuse support was compiled in the kernel. Hence, I was able to use sshfs and mount remote folders on my dell streak via ssh. Before, I was using simplestreak 1.2 but, even after compiling fuse.ko and successfully loading it, I never succeeded using sshfs.
Now that simplestreak 1.3 seems to be stable (although it is still in testing status), I decided to go back to this rom, because it is much faster. Sure enough, this new rom is much more smooth but, unfortunately, fuse is not included in the kernel....
In addition, the usb "on the go" option is also disabled in the kernel, but not in djsteve's streakdroid 1.9.1. This option would permit us to mount external usb devices or use usb keyboards. Although this is still not possible in a straightforward way (we need to physically modify the cable), Bizlink promises to provide a modified cable soon (let's see).
Would it be possible to include these two options in the kernel?
Many thanks and my best congratulations to the developers of both roms!
Solved
Hi all,
I could compile the fuse module in the djsteve's kernel. Now, running simplestreak 1.3, I can load the module without problems and use sshfs to mount folders remotely via ssh.

Backtrack 5 running on N7100

So I installed backtrack 5 successfully on my Note II running ARHD 14 and Perseus kernel, but I have a little problem. I can partially run airmon-ng but the internal wifi adapter can not be used in monitor mode so I want to find out how I can make a WN722n adapter to work using OTG adapter.
Backtrack seems to recognise the adapter as shown by the lsusb command. So I think is driver related the missing part to make it work. Any idea where I can find and how I can install the appropriate driver to work?
Anyone have an idea?
Hi,
can you please send me the post or the HOWTO you used to install BT5 on note 2 ?
THX
skinny said:
Hi,
can you please send me the post or the HOWTO you used to install BT5 on note 2 ?
THX
Click to expand...
Click to collapse
Look for app called "linux installer" in google play store .
Ookami999 said:
Backtrack seems to recognise the adapter as shown by the lsusb command. So I think is driver related the missing part to make it work. Any idea where I can find and how I can install the appropriate driver to work?
Click to expand...
Click to collapse
All linux OSs that has been ported to android, are not quite perfect. They are still in beta. So some things may not work. If I will find solution how to fix that. I'll post it here as soon as possible.
Ookami999 said:
So I installed backtrack 5 successfully on my Note II running ARHD 14 and Perseus kernel, but I have a little problem. I can partially run airmon-ng but the internal wifi adapter can not be used in monitor mode so I want to find out how I can make a WN722n adapter to work using OTG adapter.
Backtrack seems to recognise the adapter as shown by the lsusb command. So I think is driver related the missing part to make it work. Any idea where I can find and how I can install the appropriate driver to work?
Click to expand...
Click to collapse
while i can not help you out, i would just like to say that having bt5 running on that bad boy just sound awesome.
are we talking command line or GUI ?
i would love to see a video if you find the time.
While i have no idea where to ask, i don't think this is the right place. i am not sure it will be helpful in any way but there was a lot of work put into porting BT for the original Xoom, and as i remember, it was also using an adapter to set monitor mode. you could maybe ask it as a general question and not device specific, and get some useful information that way. i will look into it when i finally get my Note II.
http://forum.xda-developers.com/showthread.php?t=2006372

Any S7 Edge kernel with Updated Xpad Linux Kernel Driver for the Xbox One Controller?

After looking for a while how to use the newer X1 controller on Android, I came across this thread and this guy says the xpad.c should get replaced by this https://github.com/paroj/xpad
Example for if the page gets removed:
It is possible to use the controller via USB OTG, but your device MUST be rooted and it may be difficult.
First of all check your X1 controller DeviceId, on Windows you can do it through Device Manager: Device Manager -> Xbox Controller -> Properties -> Details -> Hardware Ids
VID should be 0x45e
PID will be either 0x2d1 or 0x2dd
Easy method for older controllers (0x2d1)
If you are running a ROM based on Linux kernel 3.18, then the controller will work out of the box! So you might want to flash a new ROM/Kernel if it's very important to you... This is probably the easiest solution.
Otherwise, You can probably make the controller work with the "USBBT Joystick Center GOLD" application which you can get here. Just follow this Youtube video and it SHOULD work if you're lucky
Hard method for newer controllers (0x2dd)
If the above didn't work or you have the new controller, and you're not shy about recompiling the Android kernel, you can:
A. Download the Android kernel sources for you device (see instructions h-ttps://source.android.com/source/building-kernels.html)
B. In the kernel sources, replace the file xpad.c under /drivers/input/joystick/ with the newest sources from here: h-ttps://github.com/paroj/xpad
C. Rebuild the whole kernel and replace your boot image, or just build xpad as a kernel module and load it using insmod from the adb shell
GOOD LUCK!
Click to expand...
Click to collapse
Anyone who could help me with this? I'm using the latest Jesse Kernel and have no experience building a kernel: http://forum.xda-developers.com/s7-edge/development/kernel-jesse-kernel-s7-edge-t3389528

[Help] I need install Wireless Dongle driver on Huawei nove 2i with [RTL88x2BU]

Ask for help I want to install Wireless Dongle driver on android device. I have a driver file. But I can't install it. I want a simple guide step by step on linux
I have a picture preview. Have driver file Please check it for me About how I can install as easily as possible. Thank you very much
My devices
huawei nova 2i android 8.0 (Oreo)
android box CS918 Rockchip android 4.4 (KitKat)
Equipment is not the same But I think the driver installation method should be the same.
Driver Link + Guide [RTL88x2BU_WiFi_linux_v5.2.4.4]
https://www.mediafire.com/file/94b5wkvj41g1bla/RTL88x2BU_WiFi_linux_v5.2.4.4.rar/file
surathus said:
Ask for help I want to install Wireless Dongle driver on android device. I have a driver file. But I can't install it. I want a simple guide step by step on linux
I have a picture preview. Have driver file Please check it for me About how I can install as easily as possible. Thank you very much
My devices
huawei nova 2i android 8.0 (Oreo)
android box CS918 Rockchip android 4.4 (KitKat)
Equipment is not the same But I think the driver installation method should be the same.
Driver Link + Guide [RTL88x2BU_WiFi_linux_v5.2.4.4]
https://www.mediafire.com/file/94b5wkvj41g1bla/RTL88x2BU_WiFi_linux_v5.2.4.4.rar/file
Click to expand...
Click to collapse
You'd need to add support to kernel if you want to use the dongle on your phone over OTG.
There is a experimental entry in Kconfig for Realtek devices which have not been tested, enabling that might work. Else you will have to add support yourself.
Either way you'll need to compile your own kernel for it.
Have you tested by simply inserting OTG and dongle and see what happens?
Since phone has wifi already (I guess) it might not work if internal is interfering with external.
ante0 said:
You'd need to add support to kernel if you want to use the dongle on your phone over OTG.
There is a experimental entry in Kconfig for Realtek devices which have not been tested, enabling that might work. Else you will have to add support yourself.
Either way you'll need to compile your own kernel for it.
Have you tested by simply inserting OTG and dongle and see what happens?
Since phone has wifi already (I guess) it might not work if internal is interfering with external.
Click to expand...
Click to collapse
Thanks for the info
repeatedly
Who can get the files that I posted? Can be created as a driver Thank you very much
surathus said:
Who can get the files that I posted? Can be created as a driver Thank you very much
Click to expand...
Click to collapse
I had to add that driver to several linux kernels that i use on my machines (Ubuntu and OpenElec).
Never tested on my Mate 10 Pro, or any other Android device.
However, adding that to the kernel would require some work and i'm not even sure it works fine on android.
Here's a link to my github - > https://github.com/pretoriano80/RTL8822BU
Pretoriano80 said:
I had to add that driver to several linux kernels that i use on my machines (Ubuntu and OpenElec).
Never tested on my Mate 10 Pro, or any other Android device.
However, adding that to the kernel would require some work and i'm not even sure it works fine on android.
Here's a link to my github - > https://github.com/pretoriano80/RTL8822BU
Click to expand...
Click to collapse
thank alot for your help..
...Oh, I forgot to say that My device The model name really is named Realtek 8811CU Wireless Lan 802.11ac USB NIC.
I use the 8811CU driver installed on linux. It can connect and use normally. But the driver that came with the device The name is back. This model is RTL88x2BU. Will it work as well with the links you recommend?
surathus said:
thank alot for your help..
...Oh, I forgot to say that My device The model name really is named Realtek 8811CU Wireless Lan 802.11ac USB NIC.
I use the 8811CU driver installed on linux. It can connect and use normally. But the driver that came with the device The name is back. This model is RTL88x2BU. Will it work as well with the links you recommend?
Click to expand...
Click to collapse
Then probably this - > https://github.com/brektrou/rtl8821CU <- should work for your device.
Pretoriano80 said:
Then probably this - > https://github.com/brektrou/rtl8821CU <- should work for your device.
Click to expand...
Click to collapse
What do I have to do? help guide step-by-step That can help teach me
Right now it works great on linux & windows 10 but can not running on adroid devices.
surathus said:
What do I have to do? help guide step-by-step That can help teach me
Right now it works great on linux & windows 10 but can not running on adroid devices.
Click to expand...
Click to collapse
There is no easy way to do that. First you will have to check if your kernel has support for that Realtek driver and it it does, enable it (as ante0 said).
If it doesn't have support for that driver, then first compile the kernel from sources (without any modification to the source) and check if your device will boot, if it doesn't, then you can stop here and forget about adding that driver to the kernel.
If it does boot with the compiled kernel, then you will have to add the driver to the source code and here, again, there's no guarantee it will work. (compilation might fail or simply, the kernel builds just fine but the driver won't work... like i said, there's no easy way for this).
In my opinion, you better start searching on GitHub for an android kernel that already has support for that driver, but you will also have to check the kernel version (if it matches yours, then you have higher chances to port it for your device's kernel).
Best option : Buy a Wi-Fi adapter that have in-kernel support already.
Pretoriano80 said:
There is no easy way to do that. First you will have to check if your kernel has support for that Realtek driver and it it does, enable it (as ante0 said).
If it doesn't have support for that driver, then first compile the kernel from sources (without any modification to the source) and check if your device will boot, if it doesn't, then you can stop here and forget about adding that driver to the kernel.
If it does boot with the compiled kernel, then you will have to add the driver to the source code and here, again, there's no guarantee it will work. (compilation might fail or simply, the kernel builds just fine but the driver won't work... like i said, there's no easy way for this).
In my opinion, you better start searching on GitHub for an android kernel that already has support for that driver, but you will also have to check the kernel version (if it matches yours, then you have higher chances to port it for your device's kernel).
Best option : Buy a Wi-Fi adapter that have in-kernel support already.
Click to expand...
Click to collapse
Thanks again

Categories

Resources