From charlesreid1

Line 1: Line 1:
==Steps==
==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.
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.
Line 10: Line 10:


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.
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===


<pre>
<pre>
Line 18: Line 20:


(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===
If you already have aircrack installed, remove it (or try and juggle both, it's kind of like trying to juggle chainsaws).
<pre>
$ apt-get remove aircrack-ng
</pre>
===Build new aircrack===


Now build aircrack, then install it:
Now build aircrack, then install it:
Line 24: Line 36:
$ git clone https://github.com/aircrack-ng/aircrack-ng.git
$ git clone https://github.com/aircrack-ng/aircrack-ng.git
$ cd aircrack-ng
$ cd aircrack-ng
$ make
$ make experimental=true # <-- this builds wesside, easside, and besside
$ make install
$ make install
</pre>
</pre>

Revision as of 03:47, 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.)

Remove old aircrack

If you already have aircrack installed, remove it (or try and juggle both, it's kind of like trying to juggle chainsaws).

$ apt-get remove aircrack-ng

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

Finally, update OUI listing with command

$ airodump-ng-oui-update

Flags