blob: 80cd9f71a1e4e843f80f7923b1750457d8c6cd79 [file] [log] [blame]
Hung-Wei Chiu77c969e2020-10-23 18:13:07 +00001..
2 SPDX-FileCopyrightText: © 2020 Open Networking Foundation <support@opennetworking.org>
3 SPDX-License-Identifier: Apache-2.0
4
Hung-Wei Chiu77c969e2020-10-23 18:13:07 +00005eNB Installation
6================
Wei-Yu Chen91d90de2021-10-18 22:06:12 +08007
8This section describes how to install and configure the Sercomm eNB which is
9the default eNB device in Aether.
Woojoong Kim63484012020-11-11 17:20:55 -080010
Woojoong Kim6bfbf8a2020-11-25 15:32:15 -080011.. _enb-installation:
12
Woojoong Kim63484012020-11-11 17:20:55 -080013Preliminaries
Wei-Yu Chen91d90de2021-10-18 22:06:12 +080014-------------
15
Hyunsun Mooncd0d42f2021-10-18 19:08:41 -070016Prepare the following devices:
Woojoong Kim63484012020-11-11 17:20:55 -080017
Woojoong Kim63484012020-11-11 17:20:55 -080018* Sercomm eNB
Wei-Yu Chen91d90de2021-10-18 22:06:12 +080019* GPS Antenna
Hyunsun Mooncd0d42f2021-10-18 19:08:41 -070020* 10GbE SFP+ to 1/10GbE copper media converter
Wei-Yu Chen91d90de2021-10-18 22:06:12 +080021* PoE+ Injector
Hyunsun Mooncd0d42f2021-10-18 19:08:41 -070022* Workstation to remotely access and configure the eNB
Woojoong Kim63484012020-11-11 17:20:55 -080023
Hyunsun Mooncd0d42f2021-10-18 19:08:41 -070024Collect the following information:
Woojoong Kim63484012020-11-11 17:20:55 -080025
Hyunsun Mooncd0d42f2021-10-18 19:08:41 -070026* eNB IP address
Wei-Yu Chen91d90de2021-10-18 22:06:12 +080027* MME IP address (10.168.0.6 by default for Aether Central)
Woojoong Kim63484012020-11-11 17:20:55 -080028* TAC
29* Cell ID
30
Hyunsun Mooncd0d42f2021-10-18 19:08:41 -070031.. warning::
Hyunsun Mooncd0d42f2021-10-18 19:08:41 -070032 ``Cell ID`` and ``TAC`` are critical parameters and the values must
33 be assigned the by OPs team.
Woojoong Kim63484012020-11-11 17:20:55 -080034
Hyunsun Mooncd0d42f2021-10-18 19:08:41 -070035Connect the eNB
Wei-Yu Chen91d90de2021-10-18 22:06:12 +080036---------------
Woojoong Kim63484012020-11-11 17:20:55 -080037
Wei-Yu Chen91d90de2021-10-18 22:06:12 +080038The Sercomm eNB has two Ethernet ports (``WAN`` and ``LAN``), one power port,
39and one GPS port. The ``WAN`` port support Power over Ethernet (PoE+).
40
41Connect a GPS Antenna to the eNB and place is in a location where it has
42visibility to the open sky, such as a window or skylight.
43
44Connect the eNB to the fabric switch through a media converter and PoE+
45Injector to the ``WAN`` port of the eNB, then it will automatically get
46pre-configured IP address using DHCP.
47
48Verify that you can access the web-based configuration(``https://<eNB IP>``)
49from your workstation. If the eNB address is not directly reachable, use the
50management server as a jump host - this can be done using ssh::
51
52 ssh user@jumphost -L 8443:<eNB IP>:443
53
54then visiting ``https://localhost:8443``
Woojoong Kim63484012020-11-11 17:20:55 -080055
Hyunsun Mooncd0d42f2021-10-18 19:08:41 -070056The default credentials for the Sercomm eNB are:
Woojoong Kim63484012020-11-11 17:20:55 -080057
Hyunsun Mooncd0d42f2021-10-18 19:08:41 -070058* Username: ``sc_femto``
Wei-Yu Chen91d90de2021-10-18 22:06:12 +080059* Password: ``scHt3pp`` (may also be ``sc_femto``)
Woojoong Kim63484012020-11-11 17:20:55 -080060
Hyunsun Mooncd0d42f2021-10-18 19:08:41 -070061.. image:: images/enb-sercomm-home.png
Woojoong Kim63484012020-11-11 17:20:55 -080062
63LTE configuration
Wei-Yu Chen91d90de2021-10-18 22:06:12 +080064-----------------
Woojoong Kim63484012020-11-11 17:20:55 -080065
Hyunsun Mooncd0d42f2021-10-18 19:08:41 -070066Go to **Manage > LTE Basic Settings** tab and change the parameters as shown below.
Wei-Yu Chen91d90de2021-10-18 22:06:12 +080067
Hyunsun Mooncd0d42f2021-10-18 19:08:41 -070068Click ``Save`` at the bottom after making the changes.
69
70.. image:: images/enb-sercomm-lte.png
Woojoong Kim63484012020-11-11 17:20:55 -080071 :alt: Sercomm eNB UI LTE configuration page
72
Wei-Yu Chen91d90de2021-10-18 22:06:12 +080073* Carrier Number: ``2``
74* Carrier Aggregation: ``unchecked``
75* BandWidth: ``20``
76* FrequencyBand: ``48,48``
77* EARFCN: ``55440,55640``
78* CellIdentity: ``assigned Cell ID``
79* PCI: ``100,101``
80* TxPower: ``20``
81* Tunnel Type: ``IPv4``
82* MME IP Address: ``10.168.0.6``
83* TAC: ``assigned TAC``
84* PLMNID: ``315010``
85* Sync Source: ``FREE_RUNNING``
86* Enable CWMP: ``unchecked``
Woojoong Kim63484012020-11-11 17:20:55 -080087
Hyunsun Mooncd0d42f2021-10-18 19:08:41 -070088Other Settings
Wei-Yu Chen91d90de2021-10-18 22:06:12 +080089--------------
Woojoong Kim63484012020-11-11 17:20:55 -080090
Hyunsun Mooncd0d42f2021-10-18 19:08:41 -070091Go to **TR098 > SysPara** tab and set ``fsminitd`` parameter setting to ``2``.
92Click ``Modify`` button right next to the parameter value, and ``Save`` button at the bottom.
93
94.. image:: images/enb-sercomm-syspara.png
Hyunsun Mooncd0d42f2021-10-18 19:08:41 -070095
Wei-Yu Chen91d90de2021-10-18 22:06:12 +080096Connect the Sercomm eNB to the Google SAS
97-----------------------------------------
Hyunsun Mooncd0d42f2021-10-18 19:08:41 -070098
Wei-Yu Chen91d90de2021-10-18 22:06:12 +080099Configure the SAS parameters by going to the **Manage > SAS Configuration**
100tab. Configure the following parameters:
Woojoong Kim63484012020-11-11 17:20:55 -0800101
Wei-Yu Chen91d90de2021-10-18 22:06:12 +0800102* Enable: checked
103* Server URL: ``https://sas.goog/v1.2/``
104* UserContactInformation: ``aether``
105* FCCID: ``P27-SCE4255W`` (It can be find on the device)
106* Category: ``A``
107* Measure Configuration: ``RECEIVED_POWER_WITHOUT_GRANT``
Woojoong Kim63484012020-11-11 17:20:55 -0800108
Wei-Yu Chen91d90de2021-10-18 22:06:12 +0800109.. image:: images/enb-sercomm-sascfg.png
Woojoong Kim63484012020-11-11 17:20:55 -0800110
Wei-Yu Chen91d90de2021-10-18 22:06:12 +0800111Make a note of the eNB's GPS coordinates, as they are used later
112
113.. note::
114 The Sercomm eNB multiplies the GPS coordinates by 1000000, and the height in
115 meters by 1000 in it's UI.
116
117Next, go to the **FAP > FAP_Security** section. This will list security
118certificates installed on the eNB, and will provide both the device Serial
119Number and the certificate subject. On the first line copy the ``Subject``
120field, which should have content similar to ``/C=TW/O=Sercomm/OU=WInnForum CBSD
121Certificate/CN=P27-SCE4255W:2009CW5000019``.
122
123.. image:: images/enb-sercomm-fapsec.png
124
125For the SAS to trust the CBSD, it must receive signed CPI data specific to the
126device. To create this data, duplicate the ``example.json`` as
127``DEVICE_SERIAL_NUMBER.json``, and update the content to match eNB's settings.
128
129The signing tool `cbrstools/cpisign.py
130<https://gerrit.opencord.org/plugins/gitiles/cbrstools/+/refs/heads/master/cpisign.py>`_
131script will sign CPI data.
132
133This script requires a CBRS CPI key (``.p12`` format) and associated password
134to be run - an example invocation::
135
136 $ python cpisign.py -k YOUR_CPI_KEY.p12 DEVICE_SERIAL_NUMBER.json
137
138It will prompt for your CPI key password when run, and will generate a signed
139file in ``output/`` folder, named with the serial number.
140
141Next, go to the **FAPService > FAPControl** tab , and in the
142**FAPService_FAPControl_LTE** section set these fields:
143
144* AdminState: checked
145
146In the **FAPService_FAPControl_LTE_X_000E8F_SAS** section, configure the
147following information in fields:
148
149* CPIEnable: checked
150* Enable: checked
151* ManufacturerPrefixEnable: checked
152* Server: <should have the SAS URL filled in>
153* CPIId: <CPI_ID_from_certificate>
154* CPIName: <CPI_name>
155* HeightType: ``AGL``
156* CPISignatureData: <generated_output_from_python_script>
157* Location: ``indoor``
158* AntennaAzimuth, AntennaDowntilt, AntennaGain, AntennaBeamwidth: same as
159 SERIAL_NUMBER.json
160
161* CertSubject: ``/C=TW/O=Sercomm/OU=WInnForum CBSD
162 Certificate/CN=P27-SCE4255W:2009CW50000...`` (from previous step)
163
164Then click ``Save``, and go to the power icon at top right and tell the eNB to restart.
165
166Once restarted, check the **State > Misc State** tab to verify that the device
167is registered with SAS.
168
169.. image:: images/enb-sercomm-sasstatus.png
170
171Verify that the eNB is correctly registered on the SAS website.
Woojoong Kim63484012020-11-11 17:20:55 -0800172
173Troubleshooting
Wei-Yu Chen91d90de2021-10-18 22:06:12 +0800174---------------
Woojoong Kim63484012020-11-11 17:20:55 -0800175
176Connectivity check
Wei-Yu Chen91d90de2021-10-18 22:06:12 +0800177""""""""""""""""""
178
Woojoong Kim63484012020-11-11 17:20:55 -0800179In order to check the connectivity, we can use the Sercomm eNB admin UI.
Wei-Yu Chen91d90de2021-10-18 22:06:12 +0800180
181Go to **Manage > IP Diagnose** tab
Woojoong Kim63484012020-11-11 17:20:55 -0800182
Hyunsun Mooncd0d42f2021-10-18 19:08:41 -0700183.. image:: images/enb-sercomm-ip-diagnose.png
184 :width: 800
Woojoong Kim63484012020-11-11 17:20:55 -0800185 :alt: Sercomm eNB UI IP Diagnose page
186
Wei-Yu Chen91d90de2021-10-18 22:06:12 +0800187In this page, check the ``ping`` menu, put an IP address to test in the text
188box, and click ``Run`` button.
189
190After a few seconds the ping results will be displayed.
191
192eNB SAS log shows failed state
193""""""""""""""""""""""""""""""
194
195Usually this is because of a configuration mismatch between the eNB config and
196CPI signature data. Check in **Manage > Log > sas.log** and look for
197information returned by the SAS.
198
199eNB SAS log disappears
200""""""""""""""""""""""
201
202When the eNB runs out of space due to log messages, the sas daemon will not
203run. Clear the log by clicking ``ClearLog`` at the bottom of the log page.
204
205eNB SAS log shows errors
206""""""""""""""""""""""""
207
208If the sas.log shows a message like ``failed to open file
209/var/conf/sas/cpi.key`` there is likely something wrong with the configuration.
210Check the following:
211
212* ``CPISignatureData`` field - data is larger than the field size, could be
213 entered twice.
214
215* Check that the location and other data that is signed by the CPI key matches
216 the data in the eNB UI.