Pau Espin Pedrol | 7e0b2dd | 2020-03-10 11:46:39 +0100 | [diff] [blame] | 1 | == Hardware Choice and Configuration |
| 2 | |
| 3 | === SysmoBTS |
| 4 | |
| 5 | To use the SysmoBTS in the osmo-gsm-tester, the following systemd services must |
| 6 | be disabled: |
| 7 | |
| 8 | ---- |
| 9 | systemctl mask osmo-nitb osmo-bts-sysmo osmo-pcu sysmobts-mgr |
| 10 | ---- |
| 11 | |
| 12 | This stops the stock setup keeping the BTS in operation and hence allows the |
| 13 | osmo-gsm-tester to install and launch its own versions of the SysmoBTS |
| 14 | software. |
| 15 | |
| 16 | ==== IP Address |
| 17 | |
| 18 | To ensure that the SysmoBTS is always reachable at a fixed known IP address, |
| 19 | configure the eth0 to use a static IP address: |
| 20 | |
| 21 | Adjust '/etc/network/interfaces' and replace the line |
| 22 | |
| 23 | ---- |
| 24 | iface eth0 inet dhcp |
| 25 | ---- |
| 26 | |
| 27 | with |
| 28 | |
| 29 | ---- |
| 30 | iface eth0 inet static |
| 31 | address 10.42.42.114 |
| 32 | netmask 255.255.255.0 |
| 33 | gateway 10.42.42.1 |
| 34 | ---- |
| 35 | |
| 36 | You may set the name server in '/etc/resolve.conf' (most likely to the IP of |
| 37 | the gateway), but this is not really needed by the osmo-gsm-tester. |
| 38 | |
| 39 | ==== Allow Core Files |
| 40 | |
| 41 | In case a binary run for the test crashes, a core file of the crash should be |
| 42 | written. This requires a limits rule. Append a line to /etc/limits like: |
| 43 | |
| 44 | ---- |
| 45 | ssh root@10.42.42.114 |
| 46 | echo "* C16384" >> /etc/limits |
| 47 | ---- |
| 48 | |
| 49 | ==== Reboot |
| 50 | |
| 51 | Reboot the BTS and make sure that the IP address for eth0 is now indeed |
| 52 | 10.42.42.114, and that no osmo* programs are running. |
| 53 | |
| 54 | ---- |
| 55 | ip a |
| 56 | ps w | grep osmo |
| 57 | ---- |
| 58 | |
| 59 | ==== SSH Access |
| 60 | |
| 61 | Make sure that the jenkins user on the main unit is able to login on the |
| 62 | sysmoBTS, possibly erasing outdated host keys after a new rootfs was loaded: |
| 63 | |
| 64 | On the main unit, for example do: |
| 65 | |
| 66 | ---- |
| 67 | su - jenkins |
| 68 | ssh root@10.42.42.114 |
| 69 | ---- |
| 70 | |
| 71 | Fix any problems until you get a login on the sysmoBTS. |
| 72 | |
| 73 | |
| 74 | [[hardware_modems]] |
| 75 | === Modems |
| 76 | |
| 77 | TODO: describe modem choices and how to run ofono |
| 78 | |
| 79 | [[hardware_trx]] |
| 80 | === osmo-bts-trx |
| 81 | |
| 82 | TODO: describe B200 family |