Ncam Reality
Appendices

How to find the Hostname

7min

Introduction

Hostnames are used by Ncam as a convenient way of connecting our devices across a network. Prior to an Ncam system being packaged and shipped, individual hostnames are configured for each piece of equipment that will require them

Where to find them

Mk2 Server

The Mk2 servers hostname will be in the format "NCAMXXXX" where the last 4 digits will be the serial number of the server which can be found on a sticker on the casing

For example, if the serial number on the server is "MS0001" then the hostname for that server will be "NCAM0001"

Connection Box

The connection box will have a sticker on the casing displaying the serial number. This serial number is also the hostname. It will be in the format:

NCBXXXX

When entering the hostname into a browser window or into the Ncam UI, it is important to append the hostname with ".local". For example if the hostname is "NCAM0001" Then "NCAM0001.local" would be used.

Changing the Hostname

The hostname is defined as part of running the network installation script. When running the script it is advised to maintain the same hostname to avoid confusion. For more information about the network configuration script see the Network Configuration section

The sticker came off...

Should the label ever come off the following methods can be used to determine the hostname:

Mk2 Server

The wifi hotspot the server generates will use the hostname of the server. Simply scan for available networks from another device and identify the device in the list.

A more direct method if you have access to the server directly is simply to enter the command "hostname" into a terminal. This will return the server's hostname

Connection Box

Similar to the server, the wifi hotspot the connection box generates can be used to determine the hostname.

If wifi is not available for whatever reason, the hostname can be found using the terminal on the Ncam server in the following way:

  • Disconnect the network cable that connects the Ncam server to the connection box
  • Power up the connection box
  • On the Ncam Server, open a terminal and enter the command "journalctl -f"
  • Connect the ethernet cable to the connection box
  • The terminal will display logging information regarding the network connection, the hostname of the connection box will be identified here. In the example below it is "NCB0011"
Document image