EXALAB / AnLinux-App

AnLinux allow you to run Linux on Android without root access.
Apache License 2.0
1.61k stars 237 forks source link

How to connet usb to termux linux #272

Open thewachdog opened 3 years ago

thewachdog commented 3 years ago

It is not an error or bug or issue but i have a question:

I have a usb wireless adapter and i want to connect it to the kali linux installed on my termux. I installed using the instructions given in the AnLinux . I want to connect it because my phone wifi chipset is not powerful enough to do pentesting. I searched abt it on google and this repo issues and nothing is related to me. Pls help me...

I tried to use lsusb in termux kali linux but got some error

root@localhost:~# lsusb unable to initialize libusb: -99

But i cant run lsusb on termux( root needed )

My phone specs: Redmi 4 (4gb/64gb) (unrooted)

Pls help to connect my wireless adapter to termux kali linux :(

MasterXD0 commented 3 years ago

Iam suffering from that problem

chrismade commented 2 years ago

I have the same issue - my phone is a LeEco S2 (X52X) on Android 9 (running a LineageOS Variant called /e/OS 0.19-20211027142976 if that matters) - the repro of that problem should be fairly simple: I have AnLinux (with Ubuntu) and Termux installed, everything works as expected - e.g. I can install packages - but projects from github like rtl_443 and compile and install these - then I installed package usbutils to get "lsusb" - then I type "lsusb" expected to get a list of discovered USB devices - instead I get this error -99 as already described by @thewachdog

btw - command "top" does not work either - just an observation - but it seems some /sys or /proc are not available