Stage 3: Building Your Gateway

Connect to the Gateway

This section explains how to connect to your gateway using SSH or PuTTY.

  1. Make sure the Raspberry Pi is turned on.

  2. If you are using Windows:

    1. Open PowerShell.

      Note

      To open PowerShell: enter the text PowerShell into the Windows Search bar and select Windows PowerShell.

    2. Enter the following at the command prompt:

      ssh
      

      If you do not see an error message, SSH is installed. Proceed to the next step.

      If an error displays, download PuTTY, install it, and then proceed to the next step.

  3. The next step depends on whether you are using SSH or PuTTY.

    If you are using SSH:

    1. If you are using Linux or macOS, open Terminal; if you are using Windows, open PowerShell.

    2. Enter the following command, where RASPBERRY_PI_IP_ADDRESS is replaced with the RASPBERRY_PI_IP_ADDRESS IP address you found earlier.

      ssh admin@RASPBERRY_PI_IP_ADDRESS
      

      For example, if your IP address is 192.168.0.24, enter:

      ssh admin@192.168.0.24
      
    3. If you are asked whether you are sure you wish to connect, enter yes

    4. Enter the default password: admin

    If you are using PuTTY:

    1. Open PuTTY.

    2. Enter the RASPBERRY_PI_IP_ADDRESS in the Host Name (or IP address) field and click Open.

      PuTTY Prompt

      Figure 10: Host Name (or IP address) Field in the PuTTY Configuration Window

      Warning

      A warning that the host key is not cached may display. This is normal. You can safely click Yes to continue.

    3. At the login prompt enter: admin

    4. At the password prompt, enter: admin

  4. The welcome screen displays.

    ChirpStack Welcome Screen

    Figure 11: ChirpStack Welcome Screen