diff --git a/README.md b/README.md index a7d23f0..654cc9b 100644 --- a/README.md +++ b/README.md @@ -1 +1,6 @@ -# bybit \ No newline at end of file +Current state of the project is as follows: + +Some bash files scripts (in /monitoring) enable to streamline iptables manipulation and (dis)allow or limitates client's use of the hotspot. The bash scripts can take as an argument a numbe rof bytes. In this case, a client is allowed to use the hotspot up to that level. +Clients are identified by their MAC address. +The hotpost (DNS, DHCP etc.) is implemented using the create_ap project. +No transaction server has been yet created. diff --git a/monitoring/control.sh b/monitoring/control.sh index b016bfb..8cce40b 100755 --- a/monitoring/control.sh +++ b/monitoring/control.sh @@ -11,7 +11,7 @@ # can deal several mac addresses using listReader.sh #TX0=/sys/class/net/wlan0/statistics/tx_bytes -TX0= /sys/class/net/ap0/statistics/tx_bytes +TX0=/sys/class/net/ap0/statistics/tx_bytes initTX0=`cat $TX0` @@ -35,7 +35,6 @@ while [ 1 = 1 ]; do sleep 0.000005 # measurement intervals done -how to know size ofa linux package #set Counters #iptables -A FORWARD -o $EXT_IF -d $IPClient