roamguide

git clone git://archive.git.mtrnord.blog/MTRNord/roamguide.git
Log | Files | Refs | README

commit 6593509b974a05f90ef7d64cb60a89954ba6444b
parent 1a80d0d4572b1e8375ae6fabaa3dd809016d4b04
Author: rubo77 <github@r.z11.de>
Date:   Wed,  3 Aug 2016 13:55:53 +0200

readme: some fixing, version bump

Diffstat:
MREADME | 14++++++++------
Mroamguide/Makefile | 2+-
2 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/README b/README @@ -31,10 +31,10 @@ to activate it you need to set enabled to '1'. option bantime_factor '2375' # on the second one for 2775ms, # and in the final 10000ms option forget_time '600' # Forget about a client after 10s - option enabled '0' # set to '1' to enable this profile + option enabled '0' # set to '1' to ensable this profile -You also need to create a cronjob calling /usr/bin/roamguide once a minute. -So for example by placing the following line in /etc/crontabs/root: +This module creates a cronjob calling /usr/bin/roamguide once a minute. +If you want to make roamguide more reactive (but also stress your device) you can add some more cron jobs with sleep timers in /usr/lib/micron.d/root: * * * * * /usr/bin/roamguide @@ -44,10 +44,12 @@ If you want to execute this with one shell call you can use: If you want to make roamguide more reactive (but also stress your device) you can add some more cron jobs with sleep timers: - ssh <router ip> 'echo "* * * * * sleep 20 & /usr/bin/roamguide" >> /etc/crontabs/root; echo done' - ssh <router ip> 'echo "* * * * * sleep 40 & /usr/bin/roamguide" >> /etc/crontabs/root; echo done' + ssh <router> 'grep -q "sleep 20" /usr/lib/micron.d/root || echo "* * * * * sleep 20 & /usr/bin/roamguide" >> /usr/lib/micron.d/root' + ssh <router> 'grep -q "sleep 40" /usr/lib/micron.d/root || echo "* * * * * sleep 40 & /usr/bin/roamguide" >> /usr/lib/micron.d/root' -This will show you the stats, where you are connected on your client: +### Testing tools + +This will show you the stats, where you are connected to on your client: watch -d -n0,5 iw dev $(ip -o -4 route show to default | awk '{print $5}') station dump diff --git a/roamguide/Makefile b/roamguide/Makefile @@ -1,7 +1,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=roamguide -PKG_VERSION:=0.0.1 +PKG_VERSION:=0.0.3 PKG_RELEASE:=$(GLUON_BRANCH) PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)