---
title: Installation of Basics Station
description: Installation of Basics Station for connecting Tektelic Gateways to Third Party Network Servers such as AWS IoT Core, TTN, Loriot ect...
---

[Skip to content](https://knowledgehub.tektelic.com/installation-of-basics-station#main-content)

English

Show submenu for translations

![](https://knowledgehub.tektelic.com/hubfs/logo%20Tektelik.svg)

Open main navigation

Close main navigation

- English
  
  Show submenu for translations
- [Contact us](https://supporthub.tektelic.com/tickets-view)

[Contact us](https://supporthub.tektelic.com/tickets-view?hsLang=en)

 Search Documentation

- There are no suggestions because the search field is empty.

1. [Knowledge Hub](https://knowledgehub.tektelic.com/?hsLang=en)
2. [Third-Party Network Servers](https://knowledgehub.tektelic.com/third-party-network-servers?hsLang=en)

# Installation of Basics Station

This guide will cover the installation of the LoRa Basics Station on Tektelic gateways as well as the transfer of the necessary certificates for connection to Third-Party network servers such as TTN, AWS IoT Core ect..

This article assumes the following pre-requisites have been met:

1. Gateway is registered on an LoRaWAN Network Server - please refer to AWS IoT Core and TTN gateway onboard guide.
2. Certificates are all generated and opened on a text editor.
3. A working SSH connection to the gateway has been established.

Please SSH to the gateway and run the following commands. Lines that start with "#" are comments, not commands, do not paste these lines into the SSH console.

### Step 1. Disable Tektelic LNS:

If you intend to connect to a Third-Party LoRaWAN network server using the LoRa Basics Station, the first step is to disable the gateway's connection to the Tektelic network server. To do so, please run the commands seen below from your gateway's command line:

`sudo ls`

`# Input your admin password, then paste all the commands below:`

`cd /home/admin;`

`curl -k 74.3.134.37:32370//config/script_for_bstn.zip --output bstn.zip;`

`sudo unzip bstn.zip;`

`sudo rm bstn.zip;`

`sudo chmod a+x *.sh;sudo chmod a+x *.py;`

`sudo ./toggle_ns_oam.sh;`

 

Once the shell script is running, please input "2" into the command line, and then paste the following into the command line:

`ssl://lorawan-oam.tektelic.com:8883`

### Step 2. Install Tektelic BSTN

Before installing the LoRa Basics Station, please run the following command to find the BSP version running on your gateway:

`system_version`

Please looking for the release line, that is the BSP. Once you know the BSP version of your gateway, please run the following commands to authenticate your login as a superuser (sudo), so that you can run the scripts found in the appendix at the bottom of this page:

`sudo ls`

`# Input your admin password`

 

Once this has been done, paste the commands that correspond to your gateway model and BSP version found in the appendix at the bottom of this page.

 

### Step 3. Transfer Basic Station Certificates to the Gateway

After the installation of the LoRa Basics Station has been completed, please use the following shell script to transfer the certificates to the gateway. This shell script is downloaded when running the commands from the first step to disable the Tektelic LNS.

`cd /home/admin;`

`sudo ls;`

`# # Input your sudo password here if needed :`

`sudo ./movecerts.sh;`

`# Follow the instructions to paste the certificates in the command line.`

`# Press enter for a new line.`

`# If the new line input is empty, the program deem the input for this file is done`

`sudo tektelic_reset`

`# tektelic_reset will reboot the gateway.`

 

Note: In most terminal emulator, right click once is paste. If some steps failed, you can run the movecerts.sh again. This shell script should clean the interim files generated.

When some file is not needed, please press **ENTER once** to skip.

### Appendix.1 Commands to Download Tektelic Basic Station Software

#### **Kona Micro**

**BSP 4.0.X (4.0.2 and 4.0.5)**`sudo bash -c "echo 'src/gz bsp http://74.3.134.37:32370/micro/40X/bsp' > /etc/opkg/snmpManaged-feed.conf"; sudo opkg update; sudo opkg install tektelic-bstn; sudo rm /etc/opkg/snmpManaged-feed.conf;`

**BSP 5.0.X** `sudo bash -c "echo 'src/gz bsp http://74.3.134.37:32370/micro/50X/bsp' > /etc/opkg/snmpManaged-feed.conf"; sudo opkg update; sudo opkg install tektelic-bstn; sudo rm /etc/opkg/snmpManaged-feed.conf;`

#### **Kona Macro**

**BSP 5.1.X**`sudo bash -c "echo 'src/gz bsp http://74.3.134.37:32370/macro/51X/bsp' > /etc/opkg/snmpManaged-feed.conf"; sudo opkg update; sudo opkg install tektelic-bstn; sudo rm /etc/opkg/snmpManaged-feed.conf;`

**BSP 6.1.X**`sudo bash -c "echo 'src/gz bsp http://74.3.134.37:32370/macro/61X/bsp' > /etc/opkg/snmpManaged-feed.conf"; sudo opkg update; sudo opkg install tektelic-bstn; sudo rm /etc/opkg/snmpManaged-feed.conf;`

#### **Kona Mega**

**BSP 5.1.X**`sudo bash -c "echo 'src/gz bsp http://74.3.134.37:32370/mega/50X/bsp' > /etc/opkg/snmpManaged-feed.conf"; sudo opkg update; sudo opkg install tektelic-bstn; sudo rm /etc/opkg/snmpManaged-feed.conf;`

**BSP 6.1.X**`sudo bash -c "echo 'src/gz bsp http://74.3.134.37:32370/mega/61X/bsp' > /etc/opkg/snmpManaged-feed.conf"; sudo opkg update; sudo opkg install tektelic-bstn; sudo rm /etc/opkg/snmpManaged-feed.conf;`

#### **Kona Enterprise**

**BSP 2.1.X**`sudo bash -c "echo 'src/gz bsp http://74.3.134.37:32370/enterprise/21X/bsp' > /etc/opkg/snmpManaged-feed.conf"; sudo opkg update; sudo opkg install tektelic-bstn; sudo rm /etc/opkg/snmpManaged-feed.conf;`

**BSP3.1.X**`sudo bash -c "echo 'src/gz bsp http://74.3.134.37:32370/enterprise/31X/bsp' > /etc/opkg/snmpManaged-feed.conf"; sudo opkg update; sudo opkg install tektelic-bstn; sudo rm /etc/opkg/snmpManaged-feed.conf;```

#### **Universal BSP 7.1.X.X for all Kona Gateway Models**`sudo bash -c "echo 'src/gz bsp http://74.3.134.37:32370/universal/71161/bsp/' > /etc/opkg/snmpManaged-feed.conf"; sudo opkg update; sudo opkg install tektelic-bstn; sudo rm /etc/opkg/snmpManaged-feed.conf;`

- [Building Your First LoRaWAN Network](https://knowledgehub.tektelic.com/building-your-first-lorawan-network?hsLang=en#main-content)

    - [Tektelic LNS Quick Start Guide](https://knowledgehub.tektelic.com/building-your-first-lorawan-network?hsLang=en#tektelic-lns-quick-start-guide)
    - [Tektelic LoRaWAN Gateway Quick Start Guides](https://knowledgehub.tektelic.com/building-your-first-lorawan-network?hsLang=en#tektelic-lorawan-gateway-quick-start-guides)
    - [Tektelic LoRaWAN Sensor Quick Start Guides](https://knowledgehub.tektelic.com/building-your-first-lorawan-network?hsLang=en#tektelic-lorawan-sensor-quick-start-guides)
    - [Kona ATLAS](https://knowledgehub.tektelic.com/building-your-first-lorawan-network?hsLang=en#kona-atlas)
- [LoRaWAN Gateways](https://knowledgehub.tektelic.com/lorawan-gateways?hsLang=en#main-content)

    - [Kona Micro Gateways](https://knowledgehub.tektelic.com/lorawan-gateways?hsLang=en#kona-micro-gateways)
    - [Kona Macro Gateway](https://knowledgehub.tektelic.com/lorawan-gateways?hsLang=en#kona-macro-gateway)
    - [Kona Mega Gateway](https://knowledgehub.tektelic.com/lorawan-gateways?hsLang=en#kona-mega-gateway)
    - [Kona Enterprise Gateways](https://knowledgehub.tektelic.com/lorawan-gateways?hsLang=en#kona-enterprise-gateways)
    - [Kona Photon Gateways](https://knowledgehub.tektelic.com/lorawan-gateways?hsLang=en#kona-photon-gateways)
    - [Micro-Lite / Pico Gateway](https://knowledgehub.tektelic.com/lorawan-gateways?hsLang=en#micro-lite-pico-gateway)
    - [General Kona Gateway Information / Configuration](https://knowledgehub.tektelic.com/lorawan-gateways?hsLang=en#general-kona-gateway-information-configuration)
    - [Powering Guides](https://knowledgehub.tektelic.com/lorawan-gateways?hsLang=en#powering-guides)
    - [BSP Upgrades](https://knowledgehub.tektelic.com/lorawan-gateways?hsLang=en#bsp-upgrades)
    - [KONA LINK Webserver](https://knowledgehub.tektelic.com/lorawan-gateways?hsLang=en#kona-link-webserver)
    - [Antenna Guides](https://knowledgehub.tektelic.com/lorawan-gateways?hsLang=en#antenna-guides)
    - [Embedded LoRaWAN Network Server](https://knowledgehub.tektelic.com/lorawan-gateways?hsLang=en#embedded-lorawan-network-server)
    - [Geolocation](https://knowledgehub.tektelic.com/lorawan-gateways?hsLang=en#geolocation)
- [LoRaWAN Sensors](https://knowledgehub.tektelic.com/lorawan-sensors?hsLang=en#main-content)

    - [COMFORT / VIVID Sensor](https://knowledgehub.tektelic.com/lorawan-sensors?hsLang=en#comfort-vivid-sensor)
    - [CLOVER / KIWI Sensor](https://knowledgehub.tektelic.com/lorawan-sensors?hsLang=en#clover-kiwi-sensor)
    - [TUNDRA Sensor](https://knowledgehub.tektelic.com/lorawan-sensors?hsLang=en#tundra-sensor)
    - [STORK Sensor](https://knowledgehub.tektelic.com/lorawan-sensors?hsLang=en#stork-sensor)
    - [BREEZE Sensor](https://knowledgehub.tektelic.com/lorawan-sensors?hsLang=en#breeze-sensor)
    - [ORCA Sensor](https://knowledgehub.tektelic.com/lorawan-sensors?hsLang=en#orca-sensor)
    - [eDoctor Sensor](https://knowledgehub.tektelic.com/lorawan-sensors?hsLang=en#edoctor-sensor)
    - [Arm Band Sensor](https://knowledgehub.tektelic.com/lorawan-sensors?hsLang=en#arm-band-sensor)
    - [SEAL Sensor](https://knowledgehub.tektelic.com/lorawan-sensors?hsLang=en#seal-sensor)
    - [Mulch Sensor](https://knowledgehub.tektelic.com/lorawan-sensors?hsLang=en#mulch-sensor)
    - [TEMPO Tablet](https://knowledgehub.tektelic.com/lorawan-sensors?hsLang=en#tempo-tablet)
    - [MEMO Tablet](https://knowledgehub.tektelic.com/lorawan-sensors?hsLang=en#memo-tablet)
    - [AURA / FLUX Sensor](https://knowledgehub.tektelic.com/lorawan-sensors?hsLang=en#aura-flux-sensor)
    - [SPARROW / PELICAN / FINCH / ROBIN Sensor](https://knowledgehub.tektelic.com/lorawan-sensors?hsLang=en#sparrow-pelican-finch-robin-sensor)
    - [CHICKADEE Sensor](https://knowledgehub.tektelic.com/lorawan-sensors?hsLang=en#chickadee-sensor)
    - [Industrial Transceiver](https://knowledgehub.tektelic.com/lorawan-sensors?hsLang=en#industrial-transceiver)
- [KONA CORE LoRaWAN Network Server](https://knowledgehub.tektelic.com/kona-core-lorawan-network-server?hsLang=en#main-content)

    - [KONA CORE LoRaWAN Network Server Guides](https://knowledgehub.tektelic.com/kona-core-lorawan-network-server?hsLang=en#kona-core-lorawan-network-server-guides)
    - [Updates and Improvements](https://knowledgehub.tektelic.com/kona-core-lorawan-network-server?hsLang=en#updates-and-improvements)
- [Kona ELEMENT OA&M Server](https://knowledgehub.tektelic.com/kona-element-oam-server?hsLang=en)
- [Applications / Tools](https://knowledgehub.tektelic.com/applications-tools?hsLang=en#main-content)

    - [LeapX](https://knowledgehub.tektelic.com/applications-tools?hsLang=en#leapx)
    - [KonaFT](https://knowledgehub.tektelic.com/applications-tools?hsLang=en#konaft)
    - [Kona Radiant](https://knowledgehub.tektelic.com/applications-tools?hsLang=en#kona-radiant)
    - [LOCUS](https://knowledgehub.tektelic.com/applications-tools?hsLang=en#locus)
- [Announcements](https://knowledgehub.tektelic.com/announcements?hsLang=en)
- [Third-Party Network Servers](https://knowledgehub.tektelic.com/third-party-network-servers?hsLang=en#main-content)

    - [AWS IoT Core](https://knowledgehub.tektelic.com/third-party-network-servers?hsLang=en#aws-iot-core)
    - [The Things Network (TTN)](https://knowledgehub.tektelic.com/third-party-network-servers?hsLang=en#the-things-network-ttn)
    - [Loriot LNS](https://knowledgehub.tektelic.com/third-party-network-servers?hsLang=en#loriot-lns)
    - [Actility Thingpark LNS](https://knowledgehub.tektelic.com/third-party-network-servers?hsLang=en#actility-thingpark-lns)
    - [ChirpStack LNS](https://knowledgehub.tektelic.com/third-party-network-servers?hsLang=en#chirpstack-lns)
- [FTP Server](https://knowledgehub.tektelic.com/ftp-server?hsLang=en)
- [Product Warranty / RMA Process](https://knowledgehub.tektelic.com/product-warranty-rma-process?hsLang=en)
- [Integrations](https://knowledgehub.tektelic.com/integrations?hsLang=en)
- [Support Changes](https://knowledgehub.tektelic.com/support-changes?hsLang=en)
- [Vulnerability Reporting](https://knowledgehub.tektelic.com/vulnerability-reporting?hsLang=en)
- [Software Update and Patching](https://knowledgehub.tektelic.com/software-update-and-patching?hsLang=en)
- [Troubleshooting](https://knowledgehub.tektelic.com/troubleshooting?hsLang=en)
- [OpenVPN](https://knowledgehub.tektelic.com/openvpn?hsLang=en)

# TEKTELIC Communications

7657 10 St NE, Calgary, AB T2E 8X

<https://www.facebook.com/> <https://www.twitter.com/> <https://www.instagram.com/> <https://podcasts.apple.com/> [mailto:email@email.com](mailto:email@email.com)

Copyright © 2026, TEKTELIC Communications