A small Linux daemon written in Ruby sends you a notification when a new device is connected to your network. It is not practical to call nmap every time just to see who is online on your network and it is not good to install a heavy application to just see who is online also most of this application doesn't notify you when someone new is online.
You should first have Ruby installed on your computer with Gem.
- You can install it directly from RubyGems
$ gem install networkwatcherd
- Or download the releases from releases
$ gem install networkwatcherd.gem
$ networkwatcherd -h
Usage: networkwatcherd [options]
-t, --timeout timeout Notification timeout (Default 50 second)
-d, --number-of-devices devices Number of addresses to ping (Default 254 )
-s, --sleep sleep Time between each devices checking (Default 300 s)
-p, --ip-pattern ippattern (Default 192.168.1)
-v, --version Current version
-h, --help Displays Help
You can add it to your startup applications.
$ networkwatcherd -d 24 -t 10 &
- Add option
-n [MESSAGE_HEADER] [OPTIONAL_ICON]
to control the notifications behaviour. - Make
--no-daemon
option to just run the application and retrive the current online IPs - Get the devices OS type besides their IPs on the network see this
- Add function to write
old_ip_list
to a file to use it in further development as I want to make this application lighter and faster by calling it after a certaim time interval instead of making it run and sleep. - Make Arch Linux and Debian/Ubuntu package (Snappy is ok.)