PF_RING on buildroot
Davide Viti <[email protected]> Sat, 14 Sep 2019 16:14:29 +0200
| Newsgroups | gmane.linux.ntop.devel |
|---|---|
| Message-ID | <CAKpAL0mvFiMXd6EvEFZkpwagMSyxC-r7YdY=HZHRVzGhk2HFPA@mail.gmail.com> |
--===============2024946971729531675==
Content-Type: multipart/alternative; boundary="000000000000cbbe1e059283fd64"
--000000000000cbbe1e059283fd64
Content-Type: text/plain; charset="UTF-8"
Hi all,
around mid 2018 I worked on a patch for allowing pf_ring to be built
on buildroot: tha patch was included in 7.4.0 and I'd like to share
possible uses.
Buildroot (https://buildroot.org/) is a very well-maintained and
active project which supports lots of different boards and
architectures: I'll explain how to build a minimal image, containing
pf_ring and userland applications, that can be run on a beaglebone
black board; it's trivial to do the same for raspberry-pi or other
systems.
I've created a github fork of buildroot: let's start with cloning the
project and switching to the pf_ring branch, based on latest buildroot
(2019.08) and pf_ring 7.4.0-stable
git clone [email protected]:zinosat/buildroot.git
git checkout 2019.08-pfring
Now we need to configure for the beaglebone black
make bbb_pfring_defconfig
Finally, build the images
time make
The result can be found in output/images. To copy the image file to
the sdcard use dd:
$ dd if=output/images/sdcard.img of=/dev/XXX
That's it.
I can provide a pre-build image: it's 14Mb gzipped and I don't know
where to upload it
regards,
Davide
--000000000000cbbe1e059283fd64
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr">Hi all,<br>around mid 2018 I worked on a patch for allowin=
g pf_ring to be built<br>on buildroot: tha patch was included in 7.4.0 and =
I'd like to share<br>possible uses.<br><br>Buildroot (<a href=3D"https:=
//buildroot.org/" target=3D"_blank">https://buildroot.org/</a>) is a very w=
ell-maintained and<br>active project which supports lots of different board=
s and<br>architectures: I'll explain how to build a minimal image, cont=
aining<br>pf_ring and userland applications, that can be run on a beaglebon=
e<br>black board; it's trivial to do the same for raspberry-pi or other=
<br>systems.<br><br>I've created a github fork of buildroot: let's =
start with cloning the<br>project and switching to the pf_ring branch, base=
d on latest buildroot<br>(2019.08) and pf_ring 7.4.0-stable<br><br>=C2=A0 =
=C2=A0 git clone [email protected]:zinosat/buildroot.git<br>=C2=A0 =C2=A0 git =
checkout 2019.08-pfring<br><br>Now we need to configure for the beaglebone =
black<br><br>=C2=A0 =C2=A0 make bbb_pfring_defconfig<br><br>Finally, build =
the images<br><br>=C2=A0 =C2=A0 time make<br><br>The result can be found in=
output/images. To copy the image file to<br>the sdcard use dd:<br><br>$ dd=
if=3Doutput/images/sdcard.img of=3D/dev/XXX<br><br>That's it.<br><br>I=
can provide a pre-build image: it's 14Mb gzipped and I don't know<=
br>where to upload it<br><br>regards,<br><br>Davide</div>
--000000000000cbbe1e059283fd64--
--===============2024946971729531675==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev
--===============2024946971729531675==--