From charlesreid1

 
(One intermediate revision by the same user not shown)
Line 21: Line 21:
(Note: libnl is a library for dealing with netlink sockets. No clue what the other two are.)
(Note: libnl is a library for dealing with netlink sockets. No clue what the other two are.)


===Remove old aircrack===
===What to do with old aircrack===


If you already have aircrack installed, remove it (or try and juggle both, it's kind of like trying to juggle chainsaws).
Not sure if you really need to remove aircrack...
 
<pre>
$ apt-get remove aircrack-ng
</pre>


===Build new aircrack===
===Build new aircrack===
Line 37: Line 33:
$ cd aircrack-ng
$ cd aircrack-ng
$ make experimental=true # <-- this builds wesside, easside, and besside
$ make experimental=true # <-- this builds wesside, easside, and besside
$ make install
$ make install experimental=true
</pre>
</pre>



Latest revision as of 04:02, 13 August 2017

Overview

I ended up having to build aircrack-ng from source on a Raspberry Pi. It was not because I'm some kind of masochist. It was because of a single goddamn equal sign.

The equal sign: https://trac.aircrack-ng.org/changeset/2854

Removed in the following Github pull request: https://github.com/aircrack-ng/aircrack-ng/pull/66

I ws seeing the wi_read(): No child process error happen pretty much whenever I ∑ould run besside-ng on the Raspberry Pi. If I was running everything by hand, I could usually keep trying, and after 3 or 4 tries, besside-ng would work like a charm. However, this way is kind of stupid.

To actually automate besside-ng, which was what I was trying to do (and ending up with failed, empty logs after multiple war-walking trips, and then with lots of anger issues), I had to apply this stinking patch, which requires the entire stinking process of compiling and building and installing on every stinking Raspberry Pi.

Prereqs

$ apt-get -y install libssl-dev pkg-config
$ apt-get -y install libnl-3-dev libnl-genl-3-200 libnl-genl-3-dev
$ apt-get -y install zlib1g-dev

(Note: libnl is a library for dealing with netlink sockets. No clue what the other two are.)

What to do with old aircrack

Not sure if you really need to remove aircrack...

Build new aircrack

Now build aircrack, then install it:

$ git clone https://github.com/aircrack-ng/aircrack-ng.git
$ cd aircrack-ng
$ make experimental=true # <-- this builds wesside, easside, and besside
$ make install experimental=true

Finally, update OUI listing with command

$ airodump-ng-oui-update

Flags