---
title: Network Configuration
slug: ncam-reality/network-configuration
createdAt: 2021-08-01T22:18:19.000Z
---

As part of the installation process of the Ncam Reality software, Ncam applies a default network configuration to the Ncam server.  This is primarily done to provide a consistent user experience as well as to streamline the connectivity of the server to other devices.

***

## What is the default configuration?

The following configuration is how all Ncam Mk2 Servers are set by default:

**ETH0** - This is configured as a DHCP **Server**, this means that any device that plugs into this network port will be assigned an IP address by the Ncam server, it will be in the 192.168.10.XXX range. If a connection box is being used it is **always&#x20;**&#x63;onnected to this interface

**ETH1** - This is configured as a DHCP **Client**, therefore it is expecting to receive an IP address (from a router for instance).  This interface is normally used to connect the server to 3rd party renderers

**Additional Network interfaces** - If your server has more than 2 network interfaces available, they will be configured as DHCP **clients&#x20;**&#x69;n a similar fashion to ETH1

**Wifi Hotspot** - The Mk2 server has the ability to generate it's own Wireless hotspot, this will be switched on and the password set to "**ncamncam**"

:::hint{type="warning"}
To connect to the Mk2 wifi hotspot from your device, you need to use the WPA2-Personal protocol.&#x20;

This is not the default on all devices, so you may need to manually add a network and specify this protocol.
:::

***

## How to make changes

### ETH0

It is strongly recommended to not change the behavior of this network interface, it is configured in a way that will not expose it to the Ubuntu desktop network manager

### ETH1

This network interface can be configured via the Ubuntu network manager found via the settings menu as indicated below

![](https://api.archbee.com/api/optimize/Qn0sdcVrDcDbwMFmH0oYn/8CPjFK-epleOoMxgGKPIT_networksettings11.gif "Network settings")

### Wifi

Wireless connectivity can be managed inside the same settings menu under the "**Wireless**" Submenu.

If you wish to disable the Wi-Fi hotspot permanently then this may be done like such:

- Open a terminal and enter the following

```linux
sudo nm-connection-editor
```

- Delete the Wi-Fi Profile from the connection window

## Reverting Changes

If you wish to revert any changes that may have been made to the network settings, simply run the network configuration script again

## Setting the default configuration

The network environment is configured via a script that is provided as part of the Ncam Reality installation.

To run the script open a terminal (Ctrl + Alt + T) and run the following command:

```linux
cd /opt/Ncam-Tech/scripts/FirstBoot && sudo ./configure_machine.sh
```

This will prompt for two inputs from the user:

1. **The Sudo Password** - This is "**ncam**"
2. **A hostname** - This will be the name the system identifies as over the network, during initial setup up this is set off the serial number of the server, we recommend maintaining this for simplicity

Following running the script, please reboot the server

:::hint{type="danger"}
The script will revert all network connections that may have been created on the server.  If static IP addresses had been configured then these will need recreating
:::

