Aircrack-ng linpus

Discussion in 'Acer Aspire One' started by maxtors, Jan 5, 2009.

  1. maxtors

    maxtors

    Joined:
    Jan 5, 2009
    Messages:
    6
    Likes Received:
    0
    Hi there.

    I am wondering if someone could make a step by step how-to of how to get the aircrack-ng suite fully functional on the AA1 (110 version with linpus lite)

    If i install the suite from yum, first of all, airmon-ng won't sett my card to monitor mode, which is sort of the essential part of using the suite ^^

    i have not tested any ther functionality any furter since i cant get pased this spot.
     
    maxtors, Jan 5, 2009
    #1
  2. maxtors

    maxtors

    Joined:
    Jan 5, 2009
    Messages:
    6
    Likes Received:
    0
    just some more info for you:

    Code:
    [user@localhost ~]$ sudo airmon-ng
    Wireless tools not found
    
     
    maxtors, Jan 5, 2009
    #2
  3. maxtors

    davefarthing

    Joined:
    Sep 27, 2008
    Messages:
    3
    Likes Received:
    0
    Hi,

    The message is caused by the location that the package manager installs the various part of the aircrack suite to.
    for some reason sudo doesn't see the same paths for commands as the root user.

    in order to get it to work i on mine i have to 'su -' and log in as root first , then all works fine.

    As for monitor mode, you need to recompile a patched set of drivers for the wifi card. see here:- http://www.aircrack-ng.org/doku.php?id=madwifi-ng
    3 tips:-
    1) Backup first, i managed to leave myself with no WIFI connectivity the first time i did this.
    2) Before starting the instructions be sure to be logged in as root ( 'su -' )
    3) Perform the 'wget' and 'svn' commands first as the 'ifconfig' lines take your wifi connection down, hence no internet.

    Hope that helps

    .Dave
     
    davefarthing, Jan 5, 2009
    #3
  4. maxtors

    maxtors

    Joined:
    Jan 5, 2009
    Messages:
    6
    Likes Received:
    0
    thanks, im backing up mu system now, then giving it a go ;)

    do you know if there are any other problems with any of the other programs in the aircrack-ng suite?

    i managed to get my card in monitor mode, and got airodump up and going...


    Code:
    #!/bin/sh
    #[email protected]
    #
    
    # The stop function
    stop() {
        ifconfig ath0 down
        wlanconfig ath0 destroy
        wlanconfig ath0 create wlandev wifi0 wlanmode managed
        ifconfig ath0 up
    }
    
    # The start function
    start() {
        ifconfig ath0 down
        wlanconfig ath0 destroy
        wlanconfig ath0 create wlandev wifi0 wlanmode monitor
        ifconfig ath0 up
    }
    
    
    # Main if statment to see what user wants
    if [ "$1" = "start" ]; then
        start
    elif [ "$1" = "stop" ]; then
        stop
    else
        echo "usage = monitor start / stop"
    fi
    
    i made a small script and put it in /usr/bin and run it from su... works good ;)
     
    maxtors, Jan 5, 2009
    #4
  5. maxtors

    daldred

    Joined:
    Aug 25, 2008
    Messages:
    887
    Likes Received:
    0
    sudo inherits the $PATH system variable from the user who runs sudo. su, on the other hand, opens a new shell as root, so gets root's $PATH.
     
    daldred, Jan 5, 2009
    #5
  6. maxtors

    ratbon

    Joined:
    Dec 28, 2008
    Messages:
    3
    Likes Received:
    0
    i've managed to get all this working using the same techinique too... only problem is I'm not able to inject so can only crack when network traffic is heavy.

    have you managed to get injection working on your setup?
     
    ratbon, Jan 5, 2009
    #6
  7. maxtors

    maxtors

    Joined:
    Jan 5, 2009
    Messages:
    6
    Likes Received:
    0
    i am about to update the madwifi driver ^^ i'll post with som updates on my progress :) if i get it to work then i'll write a little guide perhaps :p
     
    maxtors, Jan 5, 2009
    #7
  8. maxtors

    maxtors

    Joined:
    Jan 5, 2009
    Messages:
    6
    Likes Received:
    0
    well, im stuck... could you explain more detaild how you did this?
    i get to the "make" part of the madwifi patchand get this:
    Code:
    [root@localhost madwifi-ng]# make
    /bin/sh: line 0: cd: /lib/modules/2.6.23.9lw/build: No such file or directory
    Makefile.inc:66: *** /lib/modules/2.6.23.9lw/build is missing, please set KERNELPATH.  Stop.
    
     
    maxtors, Jan 5, 2009
    #8
  9. maxtors

    marcob8986

    Joined:
    Sep 11, 2008
    Messages:
    10
    Likes Received:
    0
    i cannot install svn,there's the error message:
    Code:
        Error: Missing Dependency: libgnutls.so.13(GNUTLS_1_3) is needed by package libpurple
        Error: Missing Dependency: libgnutls.so.13 is needed by package libpurple
        Error: notification-daemon-xfce conflicts with notify-daemon
        Error: Missing Dependency: libgnutls.so.13 is needed by package vlc-core
        Error: Missing Dependency: libpython2.5.so.1.0 is needed by package pdvdlinux
        Error: Missing Dependency: libgnutls.so.13(GNUTLS_1_3) is needed by package vlc-core
        Error: Missing Dependency: libpython2.5.so.1.0 is needed by package pcmlinux
    
    what i have to do?
     
    marcob8986, Jan 6, 2009
    #9
  10. maxtors

    ratbon

    Joined:
    Dec 28, 2008
    Messages:
    3
    Likes Received:
    0
    I hit this too and got round it by downloading the kernel source into the following directory:

    /usr/src/kernels/2.6.26.6-49.fc8-i68

    and created the following links:

    /usr/src/linux-2.6.23.9 -> kernels/2.6.26.6-49.fc8-i68

    /lib/modules/2.6.23.9lw/build -> /usr/src/linux-2.6.23.9
    /lib/modules/2.6.23.9lw/source -> /usr/src/linux-2.6.23.9


    Hope that's of some help.
     
    ratbon, Jan 6, 2009
    #10
  11. maxtors

    carlosfunk

    Joined:
    Jan 29, 2009
    Messages:
    4
    Likes Received:
    0
    carlosfunk, Jan 30, 2009
    #11
  12. maxtors

    carlosfunk

    Joined:
    Jan 29, 2009
    Messages:
    4
    Likes Received:
    0
    Check out this post its pretty detailed
    viewtopic.php?f=39&t=8236&p=64459&hilit=madwifi#p64459

     
    carlosfunk, Jan 30, 2009
    #12
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.