Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Termux #8

Open
abdelkrimkr opened this issue Mar 11, 2024 · 7 comments
Open

Support Termux #8

abdelkrimkr opened this issue Mar 11, 2024 · 7 comments
Labels
enhancement New feature or request

Comments

@abdelkrimkr
Copy link

Can this Support termux ?

@Chleba
Copy link
Owner

Chleba commented Mar 11, 2024

Hi, Thank You for Your question. I'm not sure, I did not try it but it's possible. I will try to emulate/find some android device where I can try it and let you know.

@Chleba
Copy link
Owner

Chleba commented Mar 12, 2024

Hi again @abdelkrimkr,
Unfortunately, I didn't find any working Android devices around and the docker image does not have Android runtime. Is it possible that you may try it via cargo install netscanner? For full functionality, you may need to install iw on it as well.
Let me know how it goes. Thanks.

@abdelkrimkr
Copy link
Author

Good i try it using termux with cargo but netscanner it get error so i will to try to find the problem

@Chleba
Copy link
Owner

Chleba commented Mar 12, 2024

Hi,
Can you send me that error? I may be able to help you with that :))

@abdelkrimkr
Copy link
Author

`Compiling tokio-wifiscanner v0.2.1
error: wifiscan doesn't compile for this platform yet
--> /data/data/com.termux/files/home/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-wifiscanner-0.2.1/src/sys.rs:17:1
|
17 | compile_error!("wifiscan doesn't compile for this platform yet...
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0425]: cannot find function scan in module crate::sys
--> /data/data/com.termux/files/home/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-wifiscanner-0.2.1/src/lib.rs:110:17
|
110 | crate::sys::scan().await
| ^^^^ not found in crate::sys

For more information about this error, try rustc --explain E0425.
error: could not compile tokio-wifiscanner (lib) due to 2 previous errors
warning: build failed, waiting for other jobs to finish...
error: failed to compile netscanner v0.4.1, intermediate artifacts can be found at /data/data/com.termux/files/usr/tmp/cargo-installBIOG5k.
To reuse those artifacts with a future compilation, set the environment variable CARGO_TARGET_DIR to that path.`

@Chleba
Copy link
Owner

Chleba commented Mar 12, 2024

Hi - Yes wifiscanner is an external cargo crate, but I may get rid of it because of a few other errors that I had issued.
This may take some time but I will try to update it ASAP. Please hold on and look for the next version 👀
Thanks for your patience.

@abdelkrimkr
Copy link
Author

thank you so much, I will wait for the next update. Thank you for your interest

@Chleba Chleba added the enhancement New feature or request label Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants