Aircrack suite + Ubuntu 11.10 problems with monitor mode channel

Aircrack suite + Ubuntu 11.10 problems with monitor mode channel

 

Recently I have been playing around with the aircrack suite and in particular the aireplay-ng tool. This tool may be used for ARP replay attacks, however it requires that the monitor mode interface is able to switch channels to the channel of the target device / access point. For some reason my monitor interface was stuck in channel -1. So to fix this I found a forum post on Ubuntu Forums which solves this problem: http://ubuntuforums.org/showpost.php?p=10550806&postcount=6

You can apply this to the wlan interface to put it directly into monitor mode and avoid using the airmon-ng tool altogether if you wish. You may also be able to apply this to the mon0 interface created by the airmon-ng tool as well, however I have not tried it yet.

The bulk of the problem is just the order in which monitor mode and channel are enabled, it must follow the order as follows:
ifconfig $IFACE down
iwconfig $IFACE mode managed
ifconfig $IFACE up
iwconfig $IFACE channel $@
ifconfig $IFACE down
iwconfig $IFACE mode monitor
ifconfig $IFACE up

Hope this solves some problems…

 

Recent Articles

Second Times a Charm?

Second Times a Charm?

April 10, 2013

After what seems like eternity, I have completed my second (and a half?)...

hostmonster-unix-2011-300x209

Hostmonster auto update IP address of subdomain

December 18, 2012

With my Hostmonster account, I host this website with my...

world_map

Blog stats

October 23, 2012

This blog has been running for quite a few years now and I got thinking...

 
Including Blogs in Tenure & Promotion

Including Blogs in Tenure & Promotion

October 23, 2012

Inspired by this blog post:...

46e33798ed2111e19b6422000a1e95d8_7

Recent Computer Related Events

September 19, 2012

The last few months have been crazy. I've had a couple of job...

icc2012

IEEE ICC 2012 – Ottawa

June 20, 2012

Last week I presented a paper at IEEE ICC, and since its been a while...