Installation of NeNe-discovery documentation

This commit is contained in:
Marek Sebera 2016-10-12 10:43:32 +02:00
parent 30516af733
commit 8972a734f7
No known key found for this signature in database
GPG key ID: 014B9AA3EB9D854B
2 changed files with 7 additions and 1 deletions

View file

@ -5,6 +5,8 @@ chmod 755 /usr/local/sbin/notify-arp-neighbours.sh
cp netiface-default.py /usr/local/bin/;
chmod 755 /usr/local/bin/netiface-default.py
# Install Python netifaces , this command may be different for you
pip install netifaces
cp notify-send-as-root-MSG-permanent.sh /usr/local/bin/;
chmod 755 /usr/local/bin/notify-send-as-root-MSG-permanent.sh
@ -20,6 +22,9 @@ apt-get install arp-scan
cp arp-localnet.sh /usr/local/bin/;
chmod 755 /usr/local/bin/arp-localnet.sh
# Edit value of LOGFILE, if you want to keep logs
editor /usr/local/bin/arp-localnet.sh
cp notify-arp-neighbours /etc/network/if-up.d/
* reconnect your network and you should receive and notification about your network neighbours

View file

@ -2,6 +2,7 @@
IFACE_DEFAULT="$(/usr/local/bin/netiface-default.py)"
DATE="$(date +%Y-%m-%d--%H:%M)"
LOGFILE="/home/LEAKS/wifi/arp-scan/${DATE}-${IFACE_DEFAULT}.log"
LOGFILE="/dev/null"
#LOGFILE="/home/LEAKS/wifi/arp-scan/${DATE}-${IFACE_DEFAULT}.log"
/usr/bin/arp-scan --interface=${IFACE_DEFAULT} --localnet|tee "${LOGFILE}"