Skip to content

uoaerg/wavemon

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

Don't include linux/if.h to avoid the following build failure:

In file included from iw_if.h:31:0,
                 from conf.c:19:
/home/buildroot/autobuild/instance-3/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/linux/if.h: At top level:
/home/buildroot/autobuild/instance-3/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/linux/if.h:143:8: error: redefinition of 'struct ifmap'
 struct ifmap {
        ^
In file included from iw_if.h:26:0,
                 from conf.c:19:
/home/buildroot/autobuild/instance-3/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/net/if.h:111:8: note: originally defined here
 struct ifmap
        ^

Fixes:
 - http://autobuild.buildroot.org/results/a6ee162cf04b70b144b54e1ca4b7b2421071c50c

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
4ac1482

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

wavemon screenshot

Synopsis

wavemon is a wireless device monitoring application that allows you to watch signal and noise levels, packet statistics, device configuration and network parameters of your wireless network hardware. It should work (though with varying features) with all devices supported by the Linux kernel.

See the man page for an in-depth description of operation and configuration.

Where to obtain

Apart from debian/ubuntu packages (apt-cache search wavemon) and slackbuild scripts for wavemon, this repository contains the full source code.

Dependencies

Minimally the following are required:

  • the pkg-config package,
  • netlink libnl-cli-3-dev at least version 3.2 (pulls in libnl-3-dev, libnl-genl-3-dev),
  • ncurses development files (libncursesw6, libtinfo6, libncurses-dev).

On Debian/Ubuntu, this can be done using

apt-get -y install pkg-config libncursesw6 libtinfo6 libncurses-dev libnl-cli-3-dev

Please note the "w" in libncursesw6, which stands for the wide-character variant of ncurses. This is required for proper rendering on UTF-8 terminals.

How to build

wavemon uses autoconf, so that in most cases you can simply run

./configure && make && sudo make install

to build and install the package. Type make uninstall if not happy.

Using custom CFLAGS

Pass additional CFLAGS to configure, like this:

CFLAGS="-O2 -pipe" ./configure

Passing CFLAGS to make is not encouraged, since that will replace the settings found by configure.

Installation with privileges

To grant users access to restricted networking operations (scanning), use

sudo make install-suid-root

Resetting autoconf state

If you have changed some of the autoconf files or use a git version, run

./config/bootstrap

(This requires a recent installation of autotools.)