blob: d362f572a0058826c9c9829fe32ab787a9d094c7 [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
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
Charles Chaneec8a262021-10-21 15:58:27 -070088.. note::
89 E-UTRAN Cell Global Identifier (ECGI) should be used for the `CellIdentity` field
90
Hyunsun Mooncd0d42f2021-10-18 19:08:41 -070091Other Settings
Wei-Yu Chen91d90de2021-10-18 22:06:12 +080092--------------
Woojoong Kim63484012020-11-11 17:20:55 -080093
Hyunsun Mooncd0d42f2021-10-18 19:08:41 -070094Go to **TR098 > SysPara** tab and set ``fsminitd`` parameter setting to ``2``.
95Click ``Modify`` button right next to the parameter value, and ``Save`` button at the bottom.
96
97.. image:: images/enb-sercomm-syspara.png
Hyunsun Mooncd0d42f2021-10-18 19:08:41 -070098
Wei-Yu Chen91d90de2021-10-18 22:06:12 +080099Connect the Sercomm eNB to the Google SAS
100-----------------------------------------
Hyunsun Mooncd0d42f2021-10-18 19:08:41 -0700101
Wei-Yu Chen91d90de2021-10-18 22:06:12 +0800102Configure the SAS parameters by going to the **Manage > SAS Configuration**
103tab. Configure the following parameters:
Woojoong Kim63484012020-11-11 17:20:55 -0800104
Wei-Yu Chen91d90de2021-10-18 22:06:12 +0800105* Enable: checked
106* Server URL: ``https://sas.goog/v1.2/``
107* UserContactInformation: ``aether``
108* FCCID: ``P27-SCE4255W`` (It can be find on the device)
109* Category: ``A``
110* Measure Configuration: ``RECEIVED_POWER_WITHOUT_GRANT``
Woojoong Kim63484012020-11-11 17:20:55 -0800111
Wei-Yu Chen91d90de2021-10-18 22:06:12 +0800112.. image:: images/enb-sercomm-sascfg.png
Woojoong Kim63484012020-11-11 17:20:55 -0800113
Wei-Yu Chen91d90de2021-10-18 22:06:12 +0800114Make a note of the eNB's GPS coordinates, as they are used later
115
116.. note::
117 The Sercomm eNB multiplies the GPS coordinates by 1000000, and the height in
118 meters by 1000 in it's UI.
119
120Next, go to the **FAP > FAP_Security** section. This will list security
121certificates installed on the eNB, and will provide both the device Serial
122Number and the certificate subject. On the first line copy the ``Subject``
123field, which should have content similar to ``/C=TW/O=Sercomm/OU=WInnForum CBSD
124Certificate/CN=P27-SCE4255W:2009CW5000019``.
125
126.. image:: images/enb-sercomm-fapsec.png
127
128For the SAS to trust the CBSD, it must receive signed CPI data specific to the
129device. To create this data, duplicate the ``example.json`` as
130``DEVICE_SERIAL_NUMBER.json``, and update the content to match eNB's settings.
131
132The signing tool `cbrstools/cpisign.py
133<https://gerrit.opencord.org/plugins/gitiles/cbrstools/+/refs/heads/master/cpisign.py>`_
134script will sign CPI data.
135
136This script requires a CBRS CPI key (``.p12`` format) and associated password
137to be run - an example invocation::
138
139 $ python cpisign.py -k YOUR_CPI_KEY.p12 DEVICE_SERIAL_NUMBER.json
140
141It will prompt for your CPI key password when run, and will generate a signed
142file in ``output/`` folder, named with the serial number.
143
144Next, go to the **FAPService > FAPControl** tab , and in the
145**FAPService_FAPControl_LTE** section set these fields:
146
147* AdminState: checked
148
149In the **FAPService_FAPControl_LTE_X_000E8F_SAS** section, configure the
150following information in fields:
151
152* CPIEnable: checked
153* Enable: checked
154* ManufacturerPrefixEnable: checked
155* Server: <should have the SAS URL filled in>
156* CPIId: <CPI_ID_from_certificate>
157* CPIName: <CPI_name>
158* HeightType: ``AGL``
159* CPISignatureData: <generated_output_from_python_script>
160* Location: ``indoor``
161* AntennaAzimuth, AntennaDowntilt, AntennaGain, AntennaBeamwidth: same as
162 SERIAL_NUMBER.json
163
164* CertSubject: ``/C=TW/O=Sercomm/OU=WInnForum CBSD
165 Certificate/CN=P27-SCE4255W:2009CW50000...`` (from previous step)
166
167Then click ``Save``, and go to the power icon at top right and tell the eNB to restart.
168
169Once restarted, check the **State > Misc State** tab to verify that the device
170is registered with SAS.
171
172.. image:: images/enb-sercomm-sasstatus.png
173
174Verify that the eNB is correctly registered on the SAS website.
Woojoong Kim63484012020-11-11 17:20:55 -0800175
176Troubleshooting
Wei-Yu Chen91d90de2021-10-18 22:06:12 +0800177---------------
Woojoong Kim63484012020-11-11 17:20:55 -0800178
179Connectivity check
Wei-Yu Chen91d90de2021-10-18 22:06:12 +0800180""""""""""""""""""
181
Woojoong Kim63484012020-11-11 17:20:55 -0800182In order to check the connectivity, we can use the Sercomm eNB admin UI.
Wei-Yu Chen91d90de2021-10-18 22:06:12 +0800183
184Go to **Manage > IP Diagnose** tab
Woojoong Kim63484012020-11-11 17:20:55 -0800185
Hyunsun Mooncd0d42f2021-10-18 19:08:41 -0700186.. image:: images/enb-sercomm-ip-diagnose.png
187 :width: 800
Woojoong Kim63484012020-11-11 17:20:55 -0800188 :alt: Sercomm eNB UI IP Diagnose page
189
Wei-Yu Chen91d90de2021-10-18 22:06:12 +0800190In this page, check the ``ping`` menu, put an IP address to test in the text
191box, and click ``Run`` button.
192
193After a few seconds the ping results will be displayed.
194
195eNB SAS log shows failed state
196""""""""""""""""""""""""""""""
197
198Usually this is because of a configuration mismatch between the eNB config and
199CPI signature data. Check in **Manage > Log > sas.log** and look for
200information returned by the SAS.
201
202eNB SAS log disappears
203""""""""""""""""""""""
204
205When the eNB runs out of space due to log messages, the sas daemon will not
206run. Clear the log by clicking ``ClearLog`` at the bottom of the log page.
207
208eNB SAS log shows errors
209""""""""""""""""""""""""
210
211If the sas.log shows a message like ``failed to open file
212/var/conf/sas/cpi.key`` there is likely something wrong with the configuration.
213Check the following:
214
215* ``CPISignatureData`` field - data is larger than the field size, could be
216 entered twice.
217
218* Check that the location and other data that is signed by the CPI key matches
219 the data in the eNB UI.