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