Deprecated manual install for FreeBSD

This commit is contained in:
Pavel Odintsov 2017-12-03 21:47:13 +00:00 committed by GitHub
parent 4b51f2aa1f
commit 05cee2201e
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,36 +1 @@
FreeBSD 9, 10, 11 and Dragonfly BSD 4.0
Stable version 1.1.3 is already in [official FreeBSD ports](https://freshports.org/net-mgmt/fastnetmon/) but if you want to hack it or install development version, please use this script.
Please install wget:
```bash
pkg install -y wget perl5
```
Install stable 1.1.3 version:
```bash
wget --no-check-certificate https://raw.githubusercontent.com/pavel-odintsov/fastnetmon/master/src/fastnetmon_install.pl -Ofastnetmon_install.pl
sudo perl fastnetmon_install.pl
```
Install development version:
```
wget --no-check-certificate https://raw.githubusercontent.com/pavel-odintsov/fastnetmon/master/src/fastnetmon_install.pl -Ofastnetmon_install.pl
sudo perl fastnetmon_install.pl --use-git-master
```
And please switch capture interface to promisc mode.
Add into /etc/rc.conf following line (for applying this option at boot time):
```bash
ifconfig_ix1="up promisc"
```
And switch it with ifconfig for already running system:
```bash
ifconfig ix1 promisc
```
Please put your networks in CIDR format here: /usr/local/etc/networks_list.
For netmap support you may need compile kernel manually with this [manual](BUILDING_FREEBSD_KERNEL_FOR_NETMAP.md).
Since release 1.1.2 FastNetMon was added into official FreeBSD ports. Please use version from [ports](https://freshports.org/net-mgmt/fastnetmon/) instead.