Aircrack-ng forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Aircrack-ng 1.7 release

Sorry Guest, you are banned from posting and sending personal messages on this forum.
This ban is not set to expire.
Pages: [1]   Go Down

Author Topic: wlan0mon is on channel 2, but the AP uses channel 5  (Read 105109 times)

no.bugs

  • Newbie
  • *
  • Offline Offline
  • Posts: 7
wlan0mon is on channel 2, but the AP uses channel 5
« on: August 17, 2018, 02:06:28 am »

While using aireplay-ng using the command
Code: [Select]
aireplay-ng --test -a 00:de:af:ca:fe:00 wlan0mon(with an actual BSSID instead of 00:de:af:ca:fe:00) the following error message is printed:
Code: [Select]
wlan0mon is on channel 2, but the AP uses channel 5
How can I fix it?

https://forums.kali.org/showthread.php?29920-ra0-is-on-channel-1-but-the-AP-uses-channel-2
https://forum.aircrack-ng.org/index.php?topic=1382.0
« Last Edit: August 17, 2018, 02:14:57 am by no.bugs »
Logged

no.bugs

  • Newbie
  • *
  • Offline Offline
  • Posts: 7
Re: wlan0mon is on channel 2, but the AP uses channel 5
« Reply #1 on: August 17, 2018, 02:09:40 am »

Use the command:

Code: [Select]
airmon-ng start wlan0mon 5
or:

Code: [Select]
iwconfig wlan0mon channel 5
Logged

misterx

  • Aircrack-ng Author
  • Administrator
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1955
  • Aircrack-ng Author
    • Aircrack-ng
Re: wlan0mon is on channel 2, but the AP uses channel 5
« Reply #2 on: August 17, 2018, 04:01:51 am »

Make sure to kill network mangers before putting in monitor mode and that no airodump-ng instance is hopping channels
Logged

aris

  • Guest
Re: wlan0mon is on channel 2, but the AP uses channel 5
« Reply #3 on: March 26, 2019, 07:53:34 pm »

What if I want to have airodump-ng hopping channels (scanning) and simultaneously aireplay-ng every BSSID?
How can that work without the error that the OP had?
Logged

misterx

  • Aircrack-ng Author
  • Administrator
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1955
  • Aircrack-ng Author
    • Aircrack-ng
Re: wlan0mon is on channel 2, but the AP uses channel 5
« Reply #4 on: March 26, 2019, 11:50:40 pm »

aris, open a new thread since it's a different issue and describe what you want to do with aireplay-ng, it has a bunch of different attacks. Regarding an issue, same solution applies to you too.

Logged

eonkid

  • Guest
Re: wlan0mon is on channel 2, but the AP uses channel 5
« Reply #5 on: August 11, 2020, 07:58:42 am »

Try out this command
sudo iwconfig wlan0 mode monitor channel (N)

in place of N put channel number you want to use
Logged
Pages: [1]   Go Up