From bbd80a8929c7053e40e88fbae3f920d16f203140 Mon Sep 17 00:00:00 2001 From: Polynomialdivision Date: Fri, 17 Apr 2020 17:14:07 +0200 Subject: [PATCH] update readme and install instructions --- INSTALL.md | 41 +++++++++++++++++++++++++++++++++++------ README.md | 30 +++++++++++++++--------------- 2 files changed, 50 insertions(+), 21 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index 4cce1a0..1f2981f 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -2,19 +2,14 @@ ### Compiling DAWN -Add [bowlfeed](https://github.com/berlin-open-wireless-lab/bowl-feed.git) to feeds.conf - - src-git bowlfeed git@github.com:berlin-open-wireless-lab/bowl-feed.git - Update Feeds ./scripts/feeds update -a - + Install DAWN ./scripts/feeds install dawn - Select dawn under make menuconfig @@ -23,6 +18,40 @@ Compile make package/dawn/compile +## Compile Latest DAWN + +Clone Openwrt + + https://git.openwrt.org/openwrt/openwrt.git + +Update feeds + + ./scripts/feeds update packages + +install dawn + + ./scripts/feeds install dawn + +Now do + + make menuconfig + +Select `Advanced Configuration -> Enable package source-tree override`. + +Further, select dawn under `Network -> dawn`. + +Now you need to clone DAWN, e.g. into your home directory + + git clone https://github.com/berlin-open-wireless-lab/DAWN.git ~/DAWN + +You have to add now a symlink. In the openwrt branch do something like + + ln -s ~/DAWN/.git/ feeds/packages/net/dawn/git-src + +Now compile dawn + + make package/dawn/clean && make package/dawn/compile + ### Configure Dawn Edit settings under diff --git a/README.md b/README.md index 97edb43..5b2c63d 100644 --- a/README.md +++ b/README.md @@ -3,13 +3,6 @@ # DAWN Decentralized WiFi Controller -## Related - -|Repro |Content | -|------------------|--------------------------| -|[patches-pending](https://github.com/berlin-open-wireless-lab/patches-pending)|Pending OpenWrt Patches DAWN is depending on| -|[bowl-feed](https://github.com/berlin-open-wireless-lab/bowl-feed)|Feed for DAWN| - ## Installation See [installation](INSTALL.md). @@ -42,14 +35,21 @@ I setup the OpenWRT Router as dumb APs. |max_chan_util_val | '170' |Threshold for a bad channel utilization.| |min_probe_count | '2' |Minimum number of probe requests aftrer calculating if AP is best and sending a probe response.| |bandwidth_threshold | '6' |Threshold for the receiving bit rate indicating if a client is in an active transmission.| -|use_station_count | '1' |Use station count as metric.| -|max_station_diff | '1' |Maximal station difference that is allowed.| -|eval_probe_req | '1' |Evaluate the incoming probe requests.| -|eval_auth_req | '1' |Evaluate the incomning authentication reqeuests.| -|eval_assoc_req | '1' |Evaluate the incoming association requests.| -|deny_auth_reason | '1' |Status code for denying authentications.| -|deny_assoc_reason | '17' |Status code for denying associations.| -|use_driver_recog | '1' |Allow drivers to connect after a certain time.| +|use_station_count | '1' |Use station count as metric.| +|max_station_diff | '1' |Maximal station difference that is allowed.| +|eval_probe_req | '1' |Evaluate the incoming probe requests.| +|eval_auth_req | '1' |Evaluate the incomning authentication reqeuests.| +|eval_assoc_req | '1' |Evaluate the incoming association requests.| +|deny_auth_reason | '1' |Status code for denying authentications.| +|deny_assoc_reason | '17' |Status code for denying associations.| +|use_driver_recog | '1' |Allow drivers to connect after a certain time.| +| min_number_to_kick | '3' | How often a clients needs to be evaluated as bad before kicking. | +| chan_util_avg_period | '3' | Channel Utilization Averaging | +| set_hostapd_nr | '1' | Feed Hostapd With NR-Reports | +| op_class | '0' | 802.11k beacon request parameters | +| duration | '0' | 802.11k beacon request parameters | +| mode | '0' | 802.11k beacon request parameters | +| scan_channel | '0' | 802.11k beacon request parameters | ## ubus interface