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