Header Banner
Null Byte Logo
Null Byte
wonderhowto.mark.png
Cyber Weapons Lab Forum Metasploit Basics Facebook Hacks Password Cracking Top Wi-Fi Adapters Wi-Fi Hacking Linux Basics Mr. Robot Hacks Hack Like a Pro Forensics Recon Social Engineering Networking Basics Antivirus Evasion Spy Tactics MitM Advice from a Hacker

How to Fix the Channel -1 Glitch in Airodump on the Latest Kernel

Dec 14, 2011 11:02 PM

Ever since kernel 2.6.xx in Linux, a lot of the internet kernel modules for wireless interfaces became broken when accessing monitor mode. What happens commonly (to myself included) is a forced channel that your card sits on. No good! For users of airodump and the aircrack-ng suite, the software has become unusable.

In order for us to assess the strength of wireless networks again, we are going to need to perform a few fixes, which can be a bit confusing for a lot of you users new to the hacking world. So, let's take your first step into patching software and get our wireless cards cracking again.

Requirements

  • Aircrack
  • Linux
  • A wireless card stuck in channel -1

Verify the Issue

Text in bold is a terminal command.

Let's reproduce this "little" issue. Throw your wireless card into monitor mode and run the airodump program.

  • sudo ifconfig wlan0 down
  • sudo ifconfig wlan0 mode monitor
  • sudo ifconfig wlan0 up
  • sudo airmon-ng start

You should see in the top-right that you are stuck in channel -1. This is an impossible number for a channel. To fix this, we need to apply a patch to it, but for convenience sake, instead of installing the package from source and patching the files manually, let's take advantage of an awesome package from the AUR!

Install the "compat-wireless-patched" Package

Follow along with me in this video for installing the package and selecting our appropriate driver. If you require knowing your chipset or driver, just grep for it in your system.

  • lspci | grep net

Instructions

  1. yaourt -S compat-wireless-patched
  2. Edit the PKGBUILD file on the line shown in the video and replace the driver name with the appropriate one that you require.
  3. After the installation, a reboot may be necessary.

Follow and Chat with Null Byte!

Image via Corelan

The next big software update for iPhone is coming sometime in April and will include a Food section in Apple News+, an easy-to-miss new Ambient Music app, Priority Notifications thanks to Apple Intelligence, and updates to apps like Mail, Photos, Podcasts, and Safari. See what else is coming to your iPhone with the iOS 18.4 update.

Related Articles

Comments

No Comments Exist

Be the first, drop a comment!