Monitor mode in ubuntu

Discussion in 'Linux' started by sudoaptget, Mar 9, 2009.

  1. sudoaptget

    sudoaptget

    Joined:
    Feb 28, 2009
    Messages:
    4
    Likes Received:
    0
    Hi I am trying to get my aa1 wireless card into monitor mode but this is my problem It worked fine in backtrack and now that i have installed ubuntu onto my drive the same things i did in backtrack no longer work I am using sickboys kernel along with his madwifi modules. any help would be great
     
    sudoaptget, Mar 9, 2009
    #1
  2. sudoaptget

    tiprya

    Joined:
    Mar 10, 2009
    Messages:
    9
    Likes Received:
    0
    There are a couple of ways I have found to do this, with the same setup you have,

    If your currently active interface is ath0 you can manually put it into monitor mode:
    Code:
    wlanconfig ath0 destroy
    wlanconfig ath0 create wlandev wifi0 wlanmode monitor
    
    Or I have found it works the normal way if you add a new interface before destroying the old one (this also allows you to choose a channel)

    Code:
    airmon-ng start wifi 1
    airmon-ng stop ath0
    
    This gives me a new interface ath1 in monitor mode for channel 1.

    Hope this helps, YMMV, I'm a bit of a noob when it comes to this stuff (only started fiddling 4 or 5 days ago).

    Hopefully someone can clarify the situation a bit better.
     
    tiprya, Mar 10, 2009
    #2
  3. sudoaptget

    mindhack

    Joined:
    Apr 25, 2009
    Messages:
    35
    Likes Received:
    0
    Location:
    Sequim, Wa
    Assuming your using ath5k instead of madwifi

    sudo airmon-ng start wlan0 1

    will put it in monitor mode, on mon0

    so you could run airodump like this

    sudo airodump-ng mon0
     
    mindhack, May 7, 2009
    #3
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.