Ask Your Question
0

802.11 w/ airmon-ng monitor mode - channel setting for 6 GHz?

asked 2021-03-04 22:29:38 +0000

timg11 gravatar image

updated 2021-03-05 14:36:58 +0000

I'm running Wireshark 3.4.2 on Ubuntu 20.10 with 5.11 kernel. The Wi-Fi NIC is Intel AX-210 with iwlwifi driver for AX-210: iwlwifi-ty-59.601f3a66.0.tgz

I'm using airmon-ng in monitor mode. I can capture management frames, but I cannot set the channel properly.

The usage for airmon-ng is

usage: airmon-ng <start|stop> <interface> [channel]

where the channel is a channel number, not a frequency.

That works fine for 2.4 and 5 GHz bands. However the new 6 GHz band defines a numbering scheme that is overlaps with lower bands. The channels are from channel 1 at 5955 MHz to channel 233 at 7115 MHz.

How is airmon-ng configured to use the 6 GHz band?

in monitor mode, iwconfig:

wlp2s0mon  IEEE 802.11  Mode:Monitor  Frequency:2.457 GHz  Tx-Power=-2147483648 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:on

in monitor mode, iwlist reports:

$ iwlist wlp2s0mon frequency
wlp2s0mon  32 channels in total; available frequencies :
          Channel 01 : 2.412 GHz
          Channel 02 : 2.417 GHz
          Channel 03 : 2.422 GHz
          Channel 04 : 2.427 GHz
          Channel 05 : 2.432 GHz
          Channel 06 : 2.437 GHz
          Channel 07 : 2.442 GHz
          Channel 08 : 2.447 GHz
          Channel 09 : 2.452 GHz
          Channel 10 : 2.457 GHz
          Channel 11 : 2.462 GHz
          Channel 12 : 2.467 GHz
          Channel 13 : 2.472 GHz
          Channel 36 : 5.18 GHz
          Channel 40 : 5.2 GHz
          Channel 44 : 5.22 GHz
          Channel 48 : 5.24 GHz
          Channel 52 : 5.26 GHz
          Channel 56 : 5.28 GHz
          Channel 60 : 5.3 GHz
          Channel 64 : 5.32 GHz
          Channel 100 : 5.5 GHz
          Channel 104 : 5.52 GHz
          Channel 108 : 5.54 GHz
          Channel 112 : 5.56 GHz
          Channel 116 : 5.58 GHz
          Channel 120 : 5.6 GHz
          Channel 124 : 5.62 GHz
          Channel 128 : 5.64 GHz
          Channel 132 : 5.66 GHz
          Channel 136 : 5.68 GHz
          Channel 140 : 5.7 GHz
          Current Frequency:2.457 GHz (Channel 10)

After returning to managed mode:

wlp2s0    IEEE 802.11  ESSID:"WiFi-6E-Test"  
          Mode:Managed  Frequency:6.215 GHz  Access Point: F0:2F:74:7C:79:78   
          Bit Rate=1.2009 Gb/s   Tx-Power=22 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:on
          Link Quality=70/70  Signal level=-38 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:15   Missed beacon:0

iwlist reports:

$ iwlist wlp2s0 channel
wlp2s0    32 channels in total; available frequencies :
          Channel 01 : 2.412 GHz
          Channel 02 : 2.417 GHz
          Channel 03 : 2.422 GHz
          Channel 04 : 2.427 GHz
          Channel 05 : 2.432 GHz
          Channel 06 : 2.437 GHz
          Channel 07 : 2.442 GHz
          Channel 08 : 2.447 GHz
          Channel 09 : 2.452 GHz
          Channel 10 : 2.457 GHz
          Channel 11 : 2.462 GHz
          Channel 12 : 2.467 GHz
          Channel 13 : 2.472 GHz
          Channel 36 : 5.18 GHz
          Channel 40 : 5.2 GHz
          Channel 44 : 5 ...
(more)
edit retag flag offensive close merge delete

Comments

What does

iw list

Show?

Bob Jones gravatar imageBob Jones ( 2021-03-05 00:50:38 +0000 )edit

Edited in original post

timg11 gravatar imagetimg11 ( 2021-03-05 14:34:03 +0000 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-03-05 14:59:49 +0000

timg11 gravatar image

updated 2021-03-06 19:10:41 +0000

Although the documentation at https://www.aircrack-ng.org/doku.php?... does not mention it, it is possible to set the frequency in MHz.

sudo airmon-ng wlan0 6215

will cause 6 GHz channel 53 to be set.

Thanks to ZeroChaos at github.com/aircrack-ng for pointing this out.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2021-03-04 22:29:38 +0000

Seen: 4,581 times

Last updated: Mar 06 '21