[Aircrack-ng] Fixed channel mon0: -1, Why and How to Change it?

If you are using Kali Linux 1.0.6, you may refer to this site. If you are using other Linux distribution with kernel 3.x.x latest, you may refer to this site

I have ever had this condition when upgrading Ubuntu Lucid to Ubuntu Maverick. (never happen when I use Backtrack). This condition happen because, there are still some bugs in Maverick. So we have to patch it first.

Using this command:

sudo airmon-ng start wlan0 [channel]

changing the channel from 1 to 10. Always ends up on fixed channel mon0: -1. So, i can’t do the injection. Being frustrated, I asked from forum to forum to find the solution. But still, no one knows how to solve the problem. Until I joined French Forum (with my limited capability of speaking French :lol). I found this solution below.

Here are the commands:

wget http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2010-10-16.tar.bz2
tar -jxf compat-wireless-2010-10-16.tar.bz2
cd compat-wireless-2010-10-16
wget http://patches.aircrack-ng.org/mac80211.compat08082009.wl_frag+ack_v1.patch
patch -p1 < mac80211.compat08082009.wl_frag+ack_v1.patch
wget http://patches.aircrack-ng.org/channel-negative-one-maxim.patch
patch ./net/wireless/chan.c channel-negative-one-maxim.patch
gedit scripts/update-initramfs
#*** FIND LINE 13: KLIB=/lib/modules/2.6.31-wl/build
#*** REPLACE WITH: KLIB=/lib/modules/$(uname -r)/build
make
sudo make install
sudo make unload
sudo modprobe iwl3945

Because my wlan card interface is Intel Wireless Pro A/B/G 3945, so that what i typed after modprobe. If you are not sure and don’t know the interface you have, alternatively, you can change

sudo modprobe [interface] ---> sudo reboot

good luck guys… :)

About these ads

7 comments on “[Aircrack-ng] Fixed channel mon0: -1, Why and How to Change it?

  1. farizy4n says:

    Does it Work on ath9k?

  2. Guihgo says:

    You can make a video ??

  3. Hannyeinsoe says:

    Thank you very much really thank but I want to know more about of hacking you can help me ?

    • @hannyeinsoe: first of all, i’m not a hacker or cracker, white hat black hat grey hat etc. And in fact IT isn’t my field of work either. It’s just i like to learn IT a bit autodidacally. So, i’m not much of help. But i will answer your questions if i know, or maybe show you the source or whom you can learn from ;)

  4. Hannyeinsoe says:

    wget http://patches.aircrack-ng.org/mac80211.compat08082009.wl_frag+ack_v1.patch
    –2011-12-30 21:01:01– http://patches.aircrack-ng.org/mac80211.compat08082009.wl_frag+ack_v1.patch
    Resolving patches.aircrack-ng.org… 213.186.33.2, 2001:41d0:1:1b00:213:186:33:2
    Connecting to patches.aircrack-ng.org|213.186.33.2|:80… connected.
    HTTP request sent, awaiting response… 403 Forbidden
    2011-12-30 21:01:03 ERROR 403: Forbidden.

    ံHow can i do that error?

  5. Hannyeinsoe says:

    Thank you sorry for my question

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s