From charlesreid1

(Created page with "Building aircrack-ng from source on a Raspberry Pi. Not because I'm a masochist, but because of a single equals sign: The equals sign: https://trac.aircrack-ng.org/changeset/...")
 
No edit summary
Line 1: Line 1:
Building aircrack-ng from source on a Raspberry Pi. Not because I'm a masochist, but because of a single equals sign:
==Steps==


The equals sign: https://trac.aircrack-ng.org/changeset/2854
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.


Via github pull request: https://github.com/aircrack-ng/aircrack-ng/pull/66
The equal sign: https://trac.aircrack-ng.org/changeset/2854


This is causing the <code>wi_read(): No child process</code> error to happen pretty much whenever I run besside-ng on the Raspberry Pi. If I am running things by hand, I can bring the wifi card down and back up a couple of times, but this error happens totally sporadically and there is no possible way to automate getting besside-ng to work consistently without this stinking patch, which requires going through the entire stinking process of building the library on EVERY RASPBERRY PI
Removed in the following Github pull request: https://github.com/aircrack-ng/aircrack-ng/pull/66
 
I ws seeing the <code>wi_read(): No child process</code> 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.


<pre>
<pre>
$ apt-get -y install libssl-dev pkg-config
$ apt-get -y install libssl-dev pkg-config
$ apt-get -y install libnl-3-dev
$ apt-get -y install libnl-3-dev
$ apt-get install libnl-genl-3-200 libnl-genl-3-dev
</pre>
</pre>


Line 22: Line 27:
$ make install
$ make install
</pre>
</pre>
Finally, update OUI listing with command
<pre>
$ airodump-ng-oui-update
</pre>
==Flags==
{{PiFlag}}
{{KaliFlag}}
{{AircrackFlag}}

Revision as of 01:50, 13 August 2017

Steps

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.

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

(note: libnl is a library for dealing with netlink sockets.)

Now build aircrack, then install it:

$ git clone https://github.com/aircrack-ng/aircrack-ng.git
$ cd aircrack-ng
$ make
$ make install

Finally, update OUI listing with command

$ airodump-ng-oui-update


Flags