Skip to content
This repository has been archived by the owner on Mar 11, 2018. It is now read-only.

Besside-ng: Added automatic channel detection of 2GHz and 5GHz channels #111

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

moonrk
Copy link

@moonrk moonrk commented Apr 30, 2017

The channels in besside-ng were hardcoded from 1 to 11 unless using the -c option to lock to a specific channel.

I've made the necessary changes to detect the channels that the wifi adapter supports automatically, including 5GHz channels. The scanning process will thus be able to scan channels 1-14, 36-64, 100-144, 149-161 and 165 if they are supported.

This also fixes issue #106.

Tested on Alfa AWUS036NHA and Alfa AWUS036AC wifi adapters.

@strasharo
Copy link

Awesome, this works, just tested it on AWUS036H. Thanks a lot @moonrk .
@Mister-X- , can we have this merged, please? :)

@Mister-X-
Copy link
Contributor

It's nice to have it in bessides-ng but that needs to be global, in osdep, so airodump-ng can query it. And split it in 2 parts, 2.4GHz and 5GHz.

Other tools also need to be able to query which channels are available (to validate them), so a third function to check that in osdep would be useful.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants