Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am have install Aircrack-ng from its official site. Compiling its source and installing.

And Gerix also from official site Source.

I am using AR9285 with ath9k drivers included default with Ubuntu 12.04

But on Performing injection test its says "mon is on channel -1" and i am unable to perform injection.

http://i.stack.imgur.com/e4BrK.png

share|improve this question

3 Answers 3

up vote 3 down vote accepted

On the Aircrack-ng homepage you might have missed:

Channel -1 issues

If you are receiving an error message talking about channel -1, you either have to patch your driver like explained in the wiki or get the latest version of Aircrack-ng from our subversion repository and use the option --ignore-negative-one. You can find an installation guide also in the wiki.

If you've already compiled this from SVN, try adding the --ignore-negative-one argument to your injection command.

To have Gerix do that for you, you're going to need to open the script and look for where it calls aireplay (et al).

share|improve this answer
    
Thanks it worked! –  BigSack Jun 14 '12 at 4:34

Check if your driver is compatible.

And have a look in the aircrack-ng wiki for the channel-1 issue

http://www.aircrack-ng.org/doku.php?id=compat-wireless

share|improve this answer
    
Thanks, my Device is supported out of Box. I have checked then once again. –  BigSack Jun 13 '12 at 9:55

Recently I was commissioned to teach someone how to crack wifi, the pc used to perform the wireless audit was Ubuntu 12.04. I had this same issue but was able to overcome the problem by updating the kernel from 3.2 to 3.6. This fixed the problem. I tried a patch and that was unsuccessful. Best of luck, should solve your issues.

share|improve this answer
    
Welcome to Ask Ubuntu! Can you explain (or link to information about) how to upgrade the kernel? (The best place for this would be in your answer itself--you can edit it to add this.) –  Eliah Kagan Feb 10 '13 at 23:32

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.