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