blob: 534d2e210634aea01b240b6af4352f67b09f645a [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::
Charles Chaneec8a262021-10-21 15:58:27 -070032 ``Cell ID`` and ``TAC`` are critical parameters that need to be globally unique.
33 Please get the assigned value from 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
Hyunsun Moon8de7fa72021-10-25 16:00:11 -070063Upgrade Firmware
64----------------
65
66Download the latest firmware to your workstation.
67
68From the eNB configuration page,
69go to **Manage > Firmware Management**, click **Choose File** button, select the downloaded firmware,
70and click **Upload** button. Reboot the eNB if it does not automatically.
71
72.. image:: images/enb-sercomm-firmware-upgrade.png
73
74After the reboot, confirm the ``Software version`` from the **State > State** menu.
75
Woojoong Kim63484012020-11-11 17:20:55 -080076LTE configuration
Wei-Yu Chen91d90de2021-10-18 22:06:12 +080077-----------------
Woojoong Kim63484012020-11-11 17:20:55 -080078
Hyunsun Mooncd0d42f2021-10-18 19:08:41 -070079Go to **Manage > LTE Basic Settings** tab and change the parameters as shown below.
Wei-Yu Chen91d90de2021-10-18 22:06:12 +080080
Hyunsun Mooncd0d42f2021-10-18 19:08:41 -070081Click ``Save`` at the bottom after making the changes.
82
83.. image:: images/enb-sercomm-lte.png
Woojoong Kim63484012020-11-11 17:20:55 -080084 :alt: Sercomm eNB UI LTE configuration page
85
Wei-Yu Chen91d90de2021-10-18 22:06:12 +080086* Carrier Number: ``2``
87* Carrier Aggregation: ``unchecked``
88* BandWidth: ``20``
89* FrequencyBand: ``48,48``
90* EARFCN: ``55440,55640``
91* CellIdentity: ``assigned Cell ID``
92* PCI: ``100,101``
93* TxPower: ``20``
94* Tunnel Type: ``IPv4``
95* MME IP Address: ``10.168.0.6``
96* TAC: ``assigned TAC``
97* PLMNID: ``315010``
98* Sync Source: ``FREE_RUNNING``
99* Enable CWMP: ``unchecked``
Woojoong Kim63484012020-11-11 17:20:55 -0800100
Charles Chaneec8a262021-10-21 15:58:27 -0700101.. note::
102 E-UTRAN Cell Global Identifier (ECGI) should be used for the `CellIdentity` field
103
Hyunsun Mooncd0d42f2021-10-18 19:08:41 -0700104Other Settings
Wei-Yu Chen91d90de2021-10-18 22:06:12 +0800105--------------
Woojoong Kim63484012020-11-11 17:20:55 -0800106
Hyunsun Mooncd0d42f2021-10-18 19:08:41 -0700107Go to **TR098 > SysPara** tab and set ``fsminitd`` parameter setting to ``2``.
108Click ``Modify`` button right next to the parameter value, and ``Save`` button at the bottom.
109
110.. image:: images/enb-sercomm-syspara.png
Hyunsun Mooncd0d42f2021-10-18 19:08:41 -0700111
Wei-Yu Chen91d90de2021-10-18 22:06:12 +0800112Connect the Sercomm eNB to the Google SAS
113-----------------------------------------
Hyunsun Mooncd0d42f2021-10-18 19:08:41 -0700114
Wei-Yu Chen91d90de2021-10-18 22:06:12 +0800115Configure the SAS parameters by going to the **Manage > SAS Configuration**
116tab. Configure the following parameters:
Woojoong Kim63484012020-11-11 17:20:55 -0800117
Wei-Yu Chen91d90de2021-10-18 22:06:12 +0800118* Enable: checked
119* Server URL: ``https://sas.goog/v1.2/``
120* UserContactInformation: ``aether``
121* FCCID: ``P27-SCE4255W`` (It can be find on the device)
122* Category: ``A``
123* Measure Configuration: ``RECEIVED_POWER_WITHOUT_GRANT``
Woojoong Kim63484012020-11-11 17:20:55 -0800124
Wei-Yu Chen91d90de2021-10-18 22:06:12 +0800125.. image:: images/enb-sercomm-sascfg.png
Woojoong Kim63484012020-11-11 17:20:55 -0800126
Wei-Yu Chen91d90de2021-10-18 22:06:12 +0800127Make a note of the eNB's GPS coordinates, as they are used later
128
129.. note::
130 The Sercomm eNB multiplies the GPS coordinates by 1000000, and the height in
131 meters by 1000 in it's UI.
132
133Next, go to the **FAP > FAP_Security** section. This will list security
134certificates installed on the eNB, and will provide both the device Serial
135Number and the certificate subject. On the first line copy the ``Subject``
136field, which should have content similar to ``/C=TW/O=Sercomm/OU=WInnForum CBSD
137Certificate/CN=P27-SCE4255W:2009CW5000019``.
138
139.. image:: images/enb-sercomm-fapsec.png
140
141For the SAS to trust the CBSD, it must receive signed CPI data specific to the
142device. To create this data, duplicate the ``example.json`` as
143``DEVICE_SERIAL_NUMBER.json``, and update the content to match eNB's settings.
144
145The signing tool `cbrstools/cpisign.py
146<https://gerrit.opencord.org/plugins/gitiles/cbrstools/+/refs/heads/master/cpisign.py>`_
147script will sign CPI data.
148
149This script requires a CBRS CPI key (``.p12`` format) and associated password
150to be run - an example invocation::
151
152 $ python cpisign.py -k YOUR_CPI_KEY.p12 DEVICE_SERIAL_NUMBER.json
153
154It will prompt for your CPI key password when run, and will generate a signed
155file in ``output/`` folder, named with the serial number.
156
157Next, go to the **FAPService > FAPControl** tab , and in the
158**FAPService_FAPControl_LTE** section set these fields:
159
160* AdminState: checked
161
162In the **FAPService_FAPControl_LTE_X_000E8F_SAS** section, configure the
163following information in fields:
164
165* CPIEnable: checked
166* Enable: checked
167* ManufacturerPrefixEnable: checked
168* Server: <should have the SAS URL filled in>
169* CPIId: <CPI_ID_from_certificate>
170* CPIName: <CPI_name>
171* HeightType: ``AGL``
172* CPISignatureData: <generated_output_from_python_script>
173* Location: ``indoor``
174* AntennaAzimuth, AntennaDowntilt, AntennaGain, AntennaBeamwidth: same as
175 SERIAL_NUMBER.json
176
177* CertSubject: ``/C=TW/O=Sercomm/OU=WInnForum CBSD
178 Certificate/CN=P27-SCE4255W:2009CW50000...`` (from previous step)
179
180Then click ``Save``, and go to the power icon at top right and tell the eNB to restart.
181
182Once restarted, check the **State > Misc State** tab to verify that the device
183is registered with SAS.
184
185.. image:: images/enb-sercomm-sasstatus.png
186
187Verify that the eNB is correctly registered on the SAS website.
Woojoong Kim63484012020-11-11 17:20:55 -0800188
189Troubleshooting
Wei-Yu Chen91d90de2021-10-18 22:06:12 +0800190---------------
Woojoong Kim63484012020-11-11 17:20:55 -0800191
192Connectivity check
Wei-Yu Chen91d90de2021-10-18 22:06:12 +0800193""""""""""""""""""
194
Woojoong Kim63484012020-11-11 17:20:55 -0800195In order to check the connectivity, we can use the Sercomm eNB admin UI.
Wei-Yu Chen91d90de2021-10-18 22:06:12 +0800196
197Go to **Manage > IP Diagnose** tab
Woojoong Kim63484012020-11-11 17:20:55 -0800198
Hyunsun Mooncd0d42f2021-10-18 19:08:41 -0700199.. image:: images/enb-sercomm-ip-diagnose.png
Woojoong Kim63484012020-11-11 17:20:55 -0800200 :alt: Sercomm eNB UI IP Diagnose page
201
Wei-Yu Chen91d90de2021-10-18 22:06:12 +0800202In this page, check the ``ping`` menu, put an IP address to test in the text
203box, and click ``Run`` button.
204
205After a few seconds the ping results will be displayed.
206
207eNB SAS log shows failed state
208""""""""""""""""""""""""""""""
209
210Usually this is because of a configuration mismatch between the eNB config and
211CPI signature data. Check in **Manage > Log > sas.log** and look for
212information returned by the SAS.
213
214eNB SAS log disappears
215""""""""""""""""""""""
216
217When the eNB runs out of space due to log messages, the sas daemon will not
218run. Clear the log by clicking ``ClearLog`` at the bottom of the log page.
219
220eNB SAS log shows errors
221""""""""""""""""""""""""
222
223If the sas.log shows a message like ``failed to open file
224/var/conf/sas/cpi.key`` there is likely something wrong with the configuration.
225Check the following:
226
227* ``CPISignatureData`` field - data is larger than the field size, could be
228 entered twice.
229
230* Check that the location and other data that is signed by the CPI key matches
231 the data in the eNB UI.