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

Enhancement Request: Add Interface Selection for Wi-Fi Scanning #35

Open
prokyle123 opened this issue Nov 13, 2024 · 2 comments
Open

Enhancement Request: Add Interface Selection for Wi-Fi Scanning #35

prokyle123 opened this issue Nov 13, 2024 · 2 comments
Assignees

Comments

@prokyle123
Copy link

  • Description**
    The current plugin scans any Wi-Fi adapter that has an IP but gets stuck on the first one it finds, often leading it to select the wrong interface. In my setup, I use a Wi-Fi USB adapter on wlan1 as an SSH backbone to maintain a constant connection and leave wlan0 for scanning. However, the plugin keeps scanning wlan1, preventing wlan0 from being used for its intended purpose.

Proposed Enhancement
Enhance the plugin to allow explicit interface selection or improve its logic to avoid adapters with active IP connections, ensuring that the correct interface is used for scanning.

Suggested Solutions

  1. Interface Selection Option
    • Add a parameter (e.g., --interface wlan0) or a configuration setting to specify which interface to use for scanning.

Interface Exclusion Option**

  • Add a feature to exclude specific interfaces (e.g., wlan1) from scanning. This would focus the plugin on wlan0, ensuring it performs as intended.

Impact
This enhancement would provide greater flexibility for setups using multiple adapters, ensuring that dedicated network roles are respected.

Environment

  • Plugin Version: [MainBranch
  • System: [As Required]
  • Network Setup:
    • wlan1: Used for SSH backbone connection
    • wlan0: Reserved for Wi-Fi scanning

Additional Notes
Please let me know if further details or logs are needed. Thank you for considering this improvement!

@infinition
Copy link
Owner

I will try to fix it thanks for the feedback

@prokyle123
Copy link
Author

Thank you! if you need any help im happy to help.

@infinition infinition self-assigned this Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants