Skip to content

Little script for my raspberry pi to email me when a new machine connects to my wifi

Notifications You must be signed in to change notification settings

mccannm11/network-alert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

network-alert

Build Status

A little python script script to send alert emails when a new computer connects to your network.

Install

apt-get install python-dev
git clone https://github.com:mccannm11/network-alert.git
cd network-alert
python setup.py test
python setup.py install

Run

You need to be root! nalert {learn, alert, known, unknown, clear}

Commands

  • learn: saves the mac addresses found on our network to file.
  • alert: sends you an email if unknown devices are found. Also performs a learn.
  • known: lists known devices.
  • unknown: lists unknown devices if any.
  • all: lists all devices currently on the network.

Run tests

python setup.py test

Cron

You're going to want to set up a cron to run this every x minutes!

About

Little script for my raspberry pi to email me when a new machine connects to my wifi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages