Difference between revisions of "Ip-info"

From CDOT Wiki
Jump to: navigation, search
(Readme: ip-info 0.1)
(Software Location)
Line 4: Line 4:
  
 
http://scotland.proximity.on.ca/chris/source/ip-info/0.1
 
http://scotland.proximity.on.ca/chris/source/ip-info/0.1
 +
 +
= License =
 +
 +
The software is licensed under the [http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GPL version 2] or higher.
  
 
= README =
 
= README =

Revision as of 16:20, 17 August 2012

ip-info is a simple software package for determining IP address information without using a video monitor. The IP address can be displayed as flashes on the system LED or read over the system speakers using espeak.

Software Location

http://scotland.proximity.on.ca/chris/source/ip-info/0.1

License

The software is licensed under the GPL version 2 or higher.

README

This software lets you determine your system's IP address without an attached video monitor. It was designed for use with the Raspberry Pi computer, but may be used on many other types of systems.

This package provides two scripts and two services. The scripts are:

1. ip-read :: reads the IP address over the system's speakers

This script finds the first non-loopback IPv4 address and reads it aloud using espeak.

2. ip-flash :: flashes the IP address over the system LED

This script finds the first non-loopback IPv4 address and flashes it on the system LED (/sys/class/leds/led0 by default).

  • 1 - 9 short flashes indicate the digits 1 - 9
  • 10 short flashes indicate the digit 0
  • a long flash indicates an octet separator (dot)
  • a brief pause separates digits

After ip-flash runs, the LED is reconnected to its original trigger (mmc, wireless, etc).


Each of these scripts has a corresponding systemd unit file and can be enabled to run on boot; these can be enabled with these commands:

  • systemctl enable ip-read.service
  • systemctl enable ip-flash.service

Your feedback on these scripts is welcome; please contact the author at:

   Chris Tyler <chris@tylers.info>
   ctyler on irc://irc.freenode.net/seneca