Project

General

Profile

Meas web » History » Version 5

Anonymous, 02/19/2016 10:48 PM

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