cnping

Minimal Graphical Ping Tool
git clone https://git.sinitax.com/cnlohr/cnping
Log | Files | Refs | Submodules | README | LICENSE | sfeed.txt

commit 070b2ec278a41960ac503cec9d475ec5f8a49fc6
parent c415b254ca88c089c19ccac8dfaa92db3f48f9d4
Author: Charles Lohr <charles@cnlohr.com>
Date:   Sun, 12 Jun 2016 01:00:31 -0400

update cnping's readme

Diffstat:
MMakefile | 6+++++-
MREADME.md | 16++++++++++++++++
2 files changed, 21 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -17,7 +17,11 @@ cnping-mousey : cnping-mousey.o DrawFunctions.o XDriver.o os_generic.o ping.o searchnet : os_generic.o ping.o searchnet.o gcc $(CFLAGS) -o $@ $^ -lpthread - + +linuxinstall : cnping + sudo cp cnping /usr/local/bin/ + sudo chmod +s /usr/local/bin/cnping + clean : rm -rf *.o *~ cnping cnping.exe diff --git a/README.md b/README.md @@ -13,3 +13,19 @@ Usage: cnping [host] [period] [extra size] [y-axis scaling] Picture: <IMG SRC=cnping.png> + +To build on ubuntu, please run: + +``` +sudo apt install libxinerama-dev libxext-dev libx11-dev build-essential +make linuxinstall +``` + +'linuxinstall' builds the tool and copies it to your usr/local/bin folder, and sets the sticky bit allowing it to run as though it were root, allowing it to create raw sockets. + +``` + sudo cp cnping /usr/local/bin/ + sudo chmod +s /usr/local/bin/cnping +``` + +