Commit 9496f0d0 authored by fuzzle's avatar fuzzle

some update

parent fbd491e8
......@@ -15,11 +15,13 @@ for mac in $(cat $actfile); do
echo $mac | /usr/bin/sha256sum >> $datafile
done
#datafile=/home/freifunk/data/allclients
cat $datafile |sort|uniq > /tmp/superfoo_allmac
mv /tmp/superfoo_allmac $datafile
#all=$(wc -l $datafile)
#echo "$now from $all"
# some more special data
#cat /home/freifunk/data/allclients | wc -l > /home/freifunk/ffmap-backend/ffmap-data/everclients
cat $datafile | wc -l > /home/freifunk/ffmap-backend/ffmap-data/everclients
......@@ -24,7 +24,7 @@ cat > $output << EOL
EOL
# make dataheader=argument
echo "['time','$1','$2','$3','maxwifi','maxclient']," >> $output
echo "['time','$1','$2','$3','maxclient','maxnodes']," >> $output
# write data line by line
i=1
......
......@@ -31,12 +31,13 @@ do_start () {
modprobe batman-adv
sleep 2
ifconfig eth1 up
ifconfig eth1 mtu 8192
ifconfig eth1 mtu 1500
sleep 2
batctl if add eth1
ifconfig bat0 down
ifconfig bat0 hw ether 00:07:CA:FF:EE:00
ifconfig bat0 10.60.5.110 netmask 255.255.192.0 # netmask is /18
ifconfig bat0 add fdf0:9bb:7814:a630::007/64
ifconfig bat0 up
## disabling fastd while we dont need it - thx eth1
# fastd -c /home/freifunk/fastd.conf -d &
......
32:b9:c2:c2:86:44
62:e7:27:60:51:52
62:e7:27:60:01:de
62:e7:27:ee:05:a0
62:e6:28:ee:05:a0
62:e4:28:df:06:b0
62:e7:27:ed:e2:32
62:e4:28:53:19:da
62:e7:27:53:19:da
62:e7:27:ed:e2:3c
62:e7:27:ee:05:b4
62:e7:27:5f:fd:5a
62:e6:28:5f:fd:5a
62:e4:28:53:0e:42
62:e6:28:60:01:de
62:e6:28:60:51:52
12:49:0d:3c:3c:93
12:49:0d:3c:3c:96
12:59:d5:4b:b4:f0
16:d9:c3:e9:fc:9b
1a:55:19:eb:b1:40
1a:55:19:eb:b1:43
2e:81:56:ee:17:43
3e:ed:35:71:6b:48
3e:ed:35:71:6b:4b
4a:48:26:34:bf:b2
4a:48:26:34:bf:b3
56:3f:cb:e2:52:fb
56:3f:cb:e2:52:fe
56:d6:d4:c7:cb:bb
60:e3:27:53:0e:42
60:e3:27:53:19:da
60:e3:27:5f:fd:5a
60:e3:27:60:01:de
60:e3:27:60:51:52
60:e3:27:ee:05:a0
6a:92:31:1a:ba:28
6a:92:31:1a:ba:2b
7e:a4:1b:0a:fb:eb
86:a8:51:94:78:03
86:c5:d9:5b:e8:ca
86:c5:d9:5b:e8:cb
8a:4e:3c:95:64:23
8e:1b:27:1a:52:9b
96:44:ac:e9:15:96
a2:28:d7:04:02:5b
a6:a2:dc:cc:43:38
a6:a2:dc:cc:43:3b
c2:c9:e5:c2:ee:60
e2:0c:7a:c9:1f:20
e2:0c:7a:c9:1f:23
ec:08:6b:20:50:00
ec:08:6b:20:99:40
ec:08:6b:2b:c0:30
f4:f2:6d:3f:ac:32
f4:f2:6d:3f:b9:ac
f4:f2:6d:3f:d1:78
f4:f2:6d:3f:d6:10
f4:f2:6d:3f:d8:26
f4:f2:6d:3f:d8:d2
f4:f2:6d:3f:d8:e0
f4:f2:6d:3f:e4:94
f4:f2:6d:3f:e5:66
f4:f2:6d:6a:93:5c
62:e7:27:ee:04:58
62:e6:28:ee:04:58
62:e7:27:5a:2c:9c
62:e6:28:5a:2c:9c
62:e7:27:5a:1f:e4
62:e6:28:5a:1f:e4
62:e7:27:60:50:44
62:e6:28:60:50:44
62:e7:27:60:01:ca
62:e6:28:60:01:ca
62:e7:27:60:51:52
62:e6:28:60:51:52
62:e7:27:60:01:de
62:e6:28:60:01:de
62:e7:27:5f:fd:d2
62:e6:28:5f:fd:d2
62:e7:27:ee:05:b4
62:e7:27:5f:fd:5a
62:e6:28:5f:fd:5a
62:e7:27:ee:06:3c
62:e6:28:ee:06:3c
62:e7:27:60:02:28
62:e6:28:60:02:28
62:e7:27:60:4f:56
62:e6:28:60:4f:56
62:e7:27:60:4b:04
62:e6:28:60:4b:04
62:e7:27:60:50:40
62:e6:28:60:50:40
62:e7:27:53:1f:9e
62:e6:28:53:1f:9e
62:e7:27:53:15:26
62:e6:28:53:15:26
62:e7:27:53:09:aa
62:e6:28:53:09:aa
62:e7:27:ed:e2:2e
62:e6:28:ed:e2:2e
62:e7:27:ee:04:c6
62:e6:28:ee:04:c6
62:e7:27:5a:2a:ec
62:e6:28:5a:2a:ec
62:e7:27:ed:e2:68
62:e6:28:ed:e2:68
f6:f6:6d:3f:aa:e0
f6:f6:6d:3f:d8:26
f6:f5:6e:3f:e5:06
f6:f6:6d:3f:d7:a6
0a:36:bf:b5:d4:00
0a:36:bf:b5:d4:03
0a:76:d8:a6:f4:c0
1e:2a:90:02:cf:22
1e:c6:0e:51:8d:f8
1e:c6:0e:51:8d:fb
32:ce:d5:16:70:d0
32:ce:d5:16:70:d3
56:9e:3b:61:b2:08
56:9e:3b:61:b2:0b
56:fb:eb:ec:ba:e8
60:e3:27:53:09:aa
60:e3:27:53:15:26
60:e3:27:53:1f:9e
60:e3:27:5a:2a:ec
60:e3:27:5a:2c:9c
60:e3:27:5f:fd:d2
60:e3:27:60:01:ca
60:e3:27:60:4f:56
60:e3:27:60:50:40
60:e3:27:df:06:b0
60:e3:27:ed:e2:3c
60:e3:27:ed:e2:68
60:e3:27:ee:05:b4
60:e3:27:ee:06:3c
72:91:90:64:e2:d8
72:91:90:64:e2:db
8a:b5:72:7a:ee:10
8a:b5:72:7a:ee:13
92:a3:5c:01:6b:92
92:a3:5c:01:6b:93
92:a3:5c:01:6b:97
96:0e:0b:21:31:33
96:44:ac:e9:15:93
9e:58:5d:12:ea:2b
9e:58:5d:12:ea:2e
aa:ff:b3:47:00:d0
ae:d6:ad:a4:fc:08
ae:d6:ad:a4:fc:0b
da:bb:f2:20:3f:80
da:bb:f2:20:3f:83
de:d7:ba:f2:57:40
de:d7:ba:f2:57:43
e2:0a:72:08:ad:33
e2:0a:72:08:ad:36
e8:de:27:58:a0:e6
ea:7d:79:02:91:d2
ea:7d:79:02:91:d3
ec:08:6b:2b:a4:de
ee:39:06:82:00:03
f4:f2:6d:3f:aa:e0
f4:f2:6d:3f:d7:a6
f4:f2:6d:3f:d8:da
f4:f2:6d:3f:e7:ae
fe:e4:14:72:67:5b
62:e4:27:ee:04:90
62:e4:27:ee:05:b6
62:e7:27:ee:06:34
f6:f5:6e:3f:aa:28
f6:f3:6d:3f:ac:08
f6:f5:6e:3f:e3:a6
f6:f3:6d:3f:e6:24
f6:f3:6d:3f:e7:62
f6:f3:6d:3f:e7:64
f6:f3:6d:3f:e7:f0
02:2f:a5:e0:d3:5b
06:a1:e7:53:0f:8a
22:4a:db:59:ff:78
22:4a:db:59:ff:7b
22:4a:db:59:ff:7f
46:e6:0f:57:f9:20
46:e6:0f:57:f9:23
52:f3:2d:bc:67:58
56:b5:df:a0:b2:50
56:b5:df:a0:b2:53
5a:0e:67:40:73:a2
60:e3:27:ee:04:90
60:e3:27:ee:05:b6
60:e3:27:ee:05:de
60:e3:27:ee:06:34
62:3e:76:4e:e4:10
62:3e:76:4e:e4:13
6a:34:da:9e:83:ea
6a:34:da:9e:83:eb
8e:1c:0c:4d:74:d8
a6:a9:97:4c:a4:20
be:84:ae:3c:d2:c0
be:84:ae:3c:d2:c3
be:cd:3b:16:3f:7b
ca:c0:fe:c3:28:30
ca:c0:fe:c3:28:33
d6:32:e3:21:a9:e8
d6:32:e3:21:a9:e9
d6:32:e3:21:a9:eb
d6:32:e3:21:a9:ef
da:1c:2b:de:b0:f8
ea:71:4a:27:67:20
ea:71:4a:27:67:23
ec:08:6b:20:4e:7e
ec:08:6b:20:98:f4
ec:08:6b:20:99:60
ee:5b:2f:40:cc:f0
ee:5b:2f:40:cc:f3
f4:f2:6d:3f:aa:28
f4:f2:6d:3f:ac:08
f4:f2:6d:3f:ca:90
f4:f2:6d:3f:d2:34
f4:f2:6d:3f:d7:f0
f4:f2:6d:3f:e3:a6
f4:f2:6d:3f:e6:24
f4:f2:6d:3f:e7:62
f4:f2:6d:3f:e7:64
f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:b5:c2:c2:62:1c
30:b5:c2:c2:e2:96
32:b9:c2:c2:62:1c
32:b9:c2:c2:e2:96
46:4a:83:b3:9a:50
60:e3:27:5a:2c:2e
62:e7:27:5a:2c:2e
f6:f6:6d:3f:e5:2c
f6:f6:6d:3f:ac:ea
f6:f6:6d:3f:ab:d2
6a:4e:b6:7c:53:23
b2:cd:db:ed:7a:30
b2:cd:db:ed:7a:33
ee:4a:0d:c1:d7:a0
ee:4a:0d:c1:d7:a3
f4:f2:6d:3f:ab:d2
f4:f2:6d:3f:ac:ea
f4:f2:6d:3f:e5:2c
62:e7:27:b8:0a:cc
62:e7:27:9a:e3:7c
62:e7:27:9a:df:38
10:fe:ed:89:19:98
12:02:ed:89:19:98
14:cc:20:a6:c8:52
16:cf:21:a6:c8:52
60:e3:27:9a:df:38
60:e3:27:9a:e3:7c
60:e3:27:b8:0a:cc
62:e7:27:9a:df:38
62:e7:27:9a:e3:7c
62:e7:27:b8:0a:cc
f6:f6:6d:d4:81:c4
fa:d4:12:b3:29:ee
3a:56:25:ba:d1:58
3a:56:25:ba:d1:5b
56:f3:a2:04:4f:88
56:f3:a2:04:4f:8b
56:f3:a2:04:4f:8f
96:69:39:7b:84:48
96:69:39:7b:84:4b
a6:fc:7f:f9:89:d8
a6:fc:7f:f9:89:db
ce:43:1c:c1:67:48
ce:43:1c:c1:67:4b
d2:f5:63:7f:a2:30
d2:f5:63:7f:a2:33
d2:f5:63:7f:a2:37
f4:f2:6d:3f:ab:d8
f4:f2:6d:3f:d2:9c
f4:f2:6d:3f:d8:58
f4:f2:6d:3f:d8:72
f4:f2:6d:3f:e5:c4
f4:f2:6d:3f:e5:d6
62:e7:27:ed:e2:28
62:e7:27:ee:06:0a
62:e7:27:ed:e2:ec
62:e7:27:ed:e2:a8
62:e7:27:e7:09:20
62:e7:27:ee:06:2c
3e:31:c6:48:86:70
3e:31:c6:48:86:73
42:56:cf:d7:6f:80
60:e3:27:ed:e2:a8
60:e3:27:ed:e2:dc
60:e3:27:ee:06:0a
a2:52:8f:2f:d2:00
a2:52:8f:2f:d2:03
62:e7:27:a1:7d:c0
62:e4:28:a1:7d:c0
62:e7:27:ee:04:7a
62:e7:27:53:0e:5e
62:e4:28:53:0e:5e
62:e7:27:ee:04:9a
32:b9:c2:c2:99:ae
ea:e2:27:b7:61:fc
62:e7:27:ee:05:a8
62:e7:27:ee:02:16
f6:f6:6d:d4:89:94
62:e7:27:53:1f:c2
12:a8:e7:0e:f0:88
12:a8:e7:0e:f0:8b
2e:b4:30:ee:58:10
2e:b4:30:ee:58:13
30:b5:c2:c2:99:ae
36:11:85:26:6e:a0
36:11:85:26:6e:a3
36:d4:d6:9e:3b:b8
36:d4:d6:9e:3b:bb
60:e3:27:53:0e:5e
60:e3:27:53:1f:c2
60:e3:27:a1:7d:c0
60:e3:27:ee:02:16
60:e3:27:ee:04:7a
82:6e:b4:58:00:a0
82:6e:b4:58:00:a3
ea:18:06:fa:35:20
ea:18:06:fa:35:23
f4:f2:6d:d4:89:94
fe:18:af:75:e6:58
fe:18:af:75:e6:5b
30:b5:c2:c2:86:44
32:b9:c2:c2:86:44
aa:e1:ad:22:06:f8
aa:e1:ad:22:06:fb
......@@ -5,7 +5,7 @@
# todo sporthalle opfingen, test merzhausen
# generic one
mucki=$(echo -n $(ls |grep macs_))
mucki=$(echo -n $(ls macs_*))
# echo $(./livecounter.sh macs_walthershofener macs_loerracher macs_kaiserstuhl macs_wiesental macs_bea macs_bissier macs_besancon macs_stadthalle macs_rottweil) "(all:"$(batctl tg|grep .W.|wc -l)")"
echo $(./livecounter.sh $mucki) "(all:"$(batctl tg|grep .W.|wc -l)")"
......
......@@ -5,24 +5,19 @@
tbdir=/home/freifunk/toolbox
datadir=/home/freifunk/data
echo $($tbdir/livecounter.sh $tbdir/macs_bissier) >> $datadir/ref_bissier24 ; tail -864 $datadir/ref_bissier24 > /tmp/del23 ; mv /tmp/del23 $datadir/ref_bissier24
echo $($tbdir/livecounter.sh $tbdir/macs_walthershofener) >> $datadir/ref_walthershofener24 ; tail -864 $datadir/ref_walthershofener24 > /tmp/del23 ; mv /tmp/del23 $datadir/ref_walthershofener24
echo $($tbdir/livecounter.sh $tbdir/macs_loerracher) >> $datadir/ref_loerracher24 ; tail -864 $datadir/ref_loerracher24 > /tmp/del23 ; mv /tmp/del23 $datadir/ref_loerracher24
echo $($tbdir/livecounter.sh $tbdir/macs_kaiserstuhl) >> $datadir/ref_kaiserstuhl24 ; tail -864 $datadir/ref_kaiserstuhl24 > /tmp/del23 ; mv /tmp/del23 $datadir/ref_kaiserstuhl24
echo $($tbdir/livecounter.sh $tbdir/macs_wiesental ) >> $datadir/ref_wiesenthal24 ; tail -864 $datadir/ref_wiesenthal24 > /tmp/del23 ; mv /tmp/del23 $datadir/ref_wiesenthal24
echo $($tbdir/livecounter.sh $tbdir/macs_bea) >> $datadir/ref_bea24 ; tail -864 $datadir/ref_bea24 > /tmp/del23 ; mv /tmp/del23 $datadir/ref_bea24
echo $($tbdir/livecounter.sh $tbdir/macs_besancon) >> $datadir/ref_besancon24 ; tail -864 $datadir/ref_besancon24 > /tmp/del25 ; mv /tmp/del25 $datadir/ref_besancon24
echo $($tbdir/livecounter.sh $tbdir/macs_stadthalle) >> $datadir/ref_stadthalle24 ; tail -864 $datadir/ref_stadthalle24 > /tmp/del29 ; mv /tmp/del29 $datadir/ref_stadthalle24
echo $($tbdir/livecounter.sh $tbdir/macs_rottweil) >> $datadir/ref_rottweil24 ; tail -864 $datadir/ref_rottweil24 > /tmp/del_rottweil24 ; mv /tmp/del_rottweil24 $datadir/ref_rottweil24
echo $($tbdir/livecounter.sh $tbdir/macs_hochdorf) >> $datadir/ref_hochdorf24 ; tail -864 $datadir/ref_hochdorf24 > /tmp/delhochdorf23 ; mv /tmp/delhochdorf23 $datadir/ref_hochdorf24
cd $tbdir
for macf in $(ls macs_*); do
lonely=$(echo -n $macf|sed s/"macs_"//g)
echo $($tbdir/livecounter.sh $tbdir/$macf) >> $datadir/ref_${lonely}24
tail -864 $datadir/ref_${lonely}24 > /tmp/del_ref_${lonely}24
mv /tmp/del_ref_${lonely}24 $datadir/ref_${lonely}24
done
# make all different html
reffi='ref_hochdorf24 ref_bea24 ref_bissier24 ref_wiesenthal24 ref_kaiserstuhl24 ref_loerracher24 ref_walthershofener24 ref_besancon24 ref_stadthalle24 ref_rottweil24'
avgreffi='avg_ref_hochdorf24 avg_ref_besancon24 avg_ref_kaiserstuhl24 avg_ref_stadthalle24 avg_ref_wiesenthal24 avg_ref_bea24 avg_ref_bissier24 avg_ref_loerracher24 avg_ref_walthershofener24 avg_ref_rottweil24'
cd $datadir
reffi=$(echo -n $(ls ref_*))
avgreffi=$(echo -n $(ls avg_ref_*))
/home/freifunk/data/data_ref.sh $reffi
# ref_bea24 ref_bissier24 ref_wiesenthal24 ref_kaiserstuhl24 ref_loerracher24 ref_walthershofener24 ref_besancon24 ref_stadthalle24
/home/freifunk/data/data_ref2.sh $reffi
# ref_bea24 ref_bissier24 ref_wiesenthal24 ref_kaiserstuhl24 ref_loerracher24 ref_walthershofener24 ref_besancon24 ref_stadthalle24
/home/freifunk/data/data_ref3d.sh $reffi
# ref_bea24 ref_bissier24 ref_wiesenthal24 ref_kaiserstuhl24 ref_loerracher24 ref_walthershofener24 ref_besancon24 ref_stadthalle24
/home/freifunk/data/data_refavg.sh $avgreffi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment