---
name: "athchans"
section: "8"
platform: "linux"
package: "madwifi-tools"
version: "1:0.9.4+r3685.20080531+dfsg-1"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/athchans"
---

# athchans(8)

define channel range of madwifi devices

## NAME

**athchans** - define channel range of madwifi devices

## SYNOPSIS

**athchans** \[-i device\] channel\_range

## DESCRIPTION

Athchans constrains the set of channels used when scanning for access points, peers in an IBSS network, or looking for unoccupied channels when operating as an access point.

The set of channels is specified as a range of the form x-y. Channel numbers  must be in the range 1 to 255 and be permissible according to the operating characteristics of the device.

## OPTIONS

- **-i device**

  The madwifi device to apply the settings to. If no device is specified, **athchans** defaults to wifi0.

- **channel\_range**

  Range of channel constraint applied to the specified device. The range must be specified in the form of **x-y** and be within 1 to 255.

## EXAMPLES

**athchans 5-9** Restrict wifi0 to channels in the range of 5 to 9.

- **athchans -i wifi1 1-3**

  Restrict wifi1 to channels in the range of 1 to 3.

- [**athctrl**(8)](/athctrl/8.md), [**athkey**(8)](/athkey/8.md), [**athstats**(8)](/athstats/8.md)

  ## SEE ALSO

## AUTHOR

This manual page was written by Kel Modderman \<kelrin@tpg.com.au\> and was based upon previous text written by Eric S. Raymond and Thorsten von Eicken.
