Project

General

Profile

Meas web » History » Version 6

csaba, 02/19/2016 10:48 PM

1 6 csaba
Not finished yet!
2 1 csaba
3
== Web version of the OpenBSC meas_vis utility ==
4 2 csaba
5
This tool will allow you to display and browse the measurement reports of OpenBSC on a web based interface.
6
7
https://github.com/fairwaves/meas_web
8
9
How to install and configure the meas_web utlility:
10
11
Get the code:
12
13
git clone https://github.com/fairwaves/meas_web.git
14
15
Install dependencies:
16
17
1. Install websocketd:
18
19
https://github.com/joewalnes/websocketd/releases/
20
21
In this example we are going to use a 64bit version:
22
23
wget https://github.com/joewalnes/websocketd/releases/download/v0.2.11/websocketd-0.2.11_amd64.deb
24
25
sudo dpkg -i websocketd-0.2.11_amd64.deb
26
27
2. Install runit:
28
29
sudo apt-get install runit
30 3 csaba
31
32
3. Configure runit:
33
34 4 csaba
Copy the content of the meas_web/etc folder to your /etc folder:
35
36
cd meas_web
37
38
sudo cp -avr etc /
39
40 5 csaba
4. Make sure the "meas_vis" utility is compiled:
41
42
Go to the utility folder of your openbsc source:
43
44
cd openbsc/openbsc/src/utils
45
46
If you can't find a meas_vis binary, please run:
47
48
sudo apt-get install libcdk5-dev
49
50
sudo make meas_vis
51
52
Now you need to have the binary version of meas_vis in openbsc/openbsc/src/utils
53
54
Because meas_json is not yet part of the master, you need to download and compile it:
55
56
wget http://cgit.osmocom.org/openbsc/plain/openbsc/src/utils/meas_json.c?h=achemeris/meas_json
57
58
mv meas_json.c\?h\=achemeris%2Fmeas_json meas_jscn.c
59
60
61
5. Add the following line at the bottom of your openbsc.conf:
62 3 csaba
63
mncc-int
64
 meas-feed destination 127.0.0.1 8888
Add picture from clipboard (Maximum size: 48.8 MB)