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/...")
 
 
(5 intermediate revisions by the same user not shown)
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:
==Overview==


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


<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 libnl-genl-3-200 libnl-genl-3-dev
$ apt-get -y install zlib1g-dev
</pre>
</pre>


(note: libnl is a library for dealing with netlink sockets.)
(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:
Now build aircrack, then install it:
Line 19: Line 32:
$ 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 experimental=true
</pre>
 
Finally, update OUI listing with command
 
<pre>
$ airodump-ng-oui-update
</pre>
</pre>
==Flags==
{{PiFlag}}
{{KaliFlag}}
{{AircrackFlag}}

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