BLIT/NeNe-discovery
Marek Sebera cd22a6bac5
Made notify-arp-neighbours non-blocking
- Speeds up computer startup (no waiting for interfaces to get up)
- Does not block network join with arp discovery
2016-11-10 16:44:32 +01:00
..
arp-localnet.sh Installation of NeNe-discovery documentation 2016-10-12 12:02:04 +02:00
dbus-find-session.sh initial BLIT commit 2016-09-16 03:03:49 +02:00
netiface-default.py initial BLIT commit 2016-09-16 03:03:49 +02:00
notify-arp-neighbours Made notify-arp-neighbours non-blocking 2016-11-10 16:44:32 +01:00
notify-arp-neighbours.sh initial BLIT commit 2016-09-16 03:03:49 +02:00
notify-send-as-root-MSG-permanent.sh initial BLIT commit 2016-09-16 03:03:49 +02:00
README.md Installation of NeNe-discovery documentation 2016-10-12 12:02:04 +02:00

Instalation

cp notify-arp-neighbours.sh /usr/local/sbin/; 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

  • change value of NOTIFY_USER variable to username of the user to send notification to editor /usr/local/bin/notify-send-as-root-MSG-permanent.sh

cp dbus-find-session.sh /usr/local/bin/; chmod 755 /usr/local/bin/dbus-find-session.sh

  • install arp-scan 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