Skip to content

muflone/nimn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

New in my net Build Status

Description: Find new devices in my network.

Copyright: 2018 Fabio Castelli (Muflone) <muflone(at)vbsimple.net>

License: GPL-2+

Source code: https://github.com/muflone/nimn

Documentation: http://www.muflone.com/nimn/

System Requirements

  • Python 2.x or 3.x
  • XDG library for Python
  • Distutils library for Python (usually shipped with Python distribution)

External tools:

  • ping with NET RAW capabilities (see below)
  • arping with NET RAW capabilities (see below)

Installation

A distutils installation script is available to install from the sources.

To install in your system please use:

cd /path/to/folder
python2 setup.py install

To install the files in another path instead of the standard /usr prefix use:

cd /path/to/folder
python2 setup.py install --root NEW_PATH

Usage

If the application is not installed please use:

cd /path/to/folder
python2 nimn.py

If the application was installed simply use the nimn command.

NET RAW capabilities

Under GNU/Linux the ping and arping external tools need to have CAP_NET_RAW capabilities which can be accomplished using:

setcap 'cap_net_raw+ep' PATH_TO_TOOL

If the binary tools are under /usr/bin for example you can use:

setcap 'cap_net_raw+ep' /usr/bin/ping
setcap 'cap_net_raw+ep' /usr/bin/arping