dockapps/wmifinfo
Doug Torrance 342325db8e wmifinfo: Use extern when declaring global variables in header file.
Avoids a FTBFS when compiling with -fno-common, which will be default in
GCC 10.
2020-04-17 17:57:38 +01:00
..
bitmaps Strip off version numbers from dir name 2012-02-12 22:50:31 +00:00
Changelog Update mailing list links to new Google Groups. 2018-05-14 23:34:53 +01:00
Makefile wmifinfo: Bump to version 0.10. 2014-12-09 11:17:56 +00:00
nwn.c wmifinfo: Fix -Wformat compiler warnings. 2014-12-09 11:17:56 +00:00
nwn.h Strip off version numbers from dir name 2012-02-12 22:50:31 +00:00
README Remove trailing whitespace. 2014-10-05 19:18:49 +01:00
wmifinfo.1 wmifinfo: Add manpage. 2014-12-09 11:17:56 +00:00
wmifinfo.c wmifinfo: Add valid timeval. 2014-12-09 11:17:56 +00:00
xutils.c wmifinfo: Use extern when declaring global variables in header file. 2020-04-17 17:57:38 +01:00
xutils.h wmifinfo: Use extern when declaring global variables in header file. 2020-04-17 17:57:38 +01:00

INFO

  name        : wmifinfo
  author      : Ico Doornekamp
  email       : wmifinfo@zevv.nl


DESCRIPTION

  wmifinfo is a simple applet showing basic network info for all available
  interfaces. It shows IP address, netmask, gateway and MAC address. A bit
  like ifconfig.

  Runs on Linux and OpenBSD (for now)

  Left-button click moves to the next interface, right-button click calls
  ifup/ifdown scripts. These can be set with the -u and -d options. The
  '%s' variable is replaced with the interface name.

  example :

  $ wmifinfo -i ppp0 -u "/sbin/ifup %s" -d "/sbin/ifdown %s"

  (ifup/ifdown or the wmifinfo binaries should be suid root for this
  to work)

  Led color    Meaning
  -------------------------------------------------------------------
  red          interface is down
  yellow       ifup/ifdown script is busy
  dark green   interface is up, no traffic
  light green  interface is up, and sending or receiving





INSTALLING

  - If you have a NoWiresNeeded 1148 or Swallow NIC, set ENABLE_NWN_SUPPORT
    to 'y' in the makefile to enable wlan signal indication for this type of
    network adapter.

  - make

  - make install



USAGE

  usage: wmifinfo [-lh] [-i interface]
    -d <cmd>         Command to exec for iface-down
    -i <interface>   Start with given interface, if available
    -l               LCD display mode
    -h               Print this help
    -u <cmd>         Command to exec for iface-up
    -v               Show version info and exit


KNOWN BUGS

  - The link quality readout of the poldhu/swallow cards is slow and may be
    unreliable, due to the way this is implemented in the firmware and
    driver.  (Bas?)


THANKS

  - Peter Stromberg for adding OpenBSD support
  - Ben Stern for endian-correctness and old-libc support patches
  - Michael G. Henderson's wmWeather for some example dockapp code.



COPYRIGHT

  Copyright (c) 2004 Ico Doornekamp <ico@pruts.nl>

  This program is free software; you can redistribute it and/or modify it
  under the terms of the GNU General Public License as published by the
  Free Software Foundation; either version 2 of the License, or (at your
  option) any later version.

  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  See the GNU General Public License for more details.

  You should have received a copy of the GNU General Public License along
  with this program; if not, write to the Free Software Foundation, Inc.,
  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.