All Projects → substack → whereami

substack / whereami

Licence: other
keep track of your roaming headless linux devices in the wild

Programming Languages

javascript
184084 projects - #8 most used programming language
shell
77523 projects

whereami

keep track of your roaming headless linux devices in the wild

This module tracks the IP address and wireless essid of roaming devices. Just put whereami phonehome ... in a crontab on something like a raspberry pi.

example

$ whereami server -p 5000 &
[1] 10096
$ curl http://localhost:5000
{}
$ whereami phonehome raspberry-pi http://localhost:5000
ok
$ curl http://localhost:5000
{
  "raspberry-pi": {
    "id": "raspberry-pi",
    "time": "2015-01-08.21:14:16",
    "addr": "192.168.180.151",
    "wifi": "sudomesh"
  }
}

usage

$ whereami phonehome DEVICE-ID URL
$ whereami server -p PORT

install

With npm do:

npm install -g whereami

license

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].