An open API service indexing awesome lists of open source software.

https://github.com/quackduck/chanch

macOS WiFi channel changer
https://github.com/quackduck/chanch

airport channel macos wifi wifi-channel

Last synced: 28 days ago
JSON representation

macOS WiFi channel changer

Awesome Lists containing this project

README

          

# Chanch - Full control of channel and channel width on macOS

Install with `brew install quackduck/tap/chanch` or build from source with `swift build` in the root directory.

```
Chanch is a WiFi channel changer for macOS allowing complete control over channel
number and channel width

USAGE: chanch --status
chanch [--80 | --40 | --20]

ARGUMENTS:
The WiFi channel number to change to

OPTIONS:
--80/--40/--20 Channel width in MHz.
(Usually 80 for the 5GHz band and 20 for the 2GHz band)
--status Just print the current channel, don't change it.
-h, --help Show help information.
```

Chanch is useful when packet sniffing (for example, with [wif](https://github.com/quackduck/wif)). To discover channels to listen on, you can use the airport utility to run a network scan: `/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -s`

Why not just use `airport`, you ask? Essentially, it's because `airport` doesn't allow changing the channel width, so when you switch from a 2.4 GHz band channel to a 5 GHz band channel, you may still have the narrower 20 MHz width instead of the expected 80 MHz width. Here's a demo of this:

image