# Link Pre-configuration in the lab⁣⁣⁣⁣⁣⁣⁣⁣⁣

Usually, before going into the field, it is recommended to pre-configure in the lab the Astrawireless units to verify the link establishment. Take the units out of the package and place them on the table.

{% hint style="warning" %}
NOTE

A minimum set of requirements must be met during devices pre-configuration in the lab:

* Make sure that devices are positioned in such a way so that they are not directed right at each other to prevent device damage.
* In case of connectorized model configuration, it is recommended to connect the two devices in the link directly, with RF cables and RF attenuators with attenuation of at least 40 dB for each polarization (installation\deinstallation of the RF attenuators and RF cables should only be performed when the devices are switched off).
* In case an external antenna or the other unit in the link is connected to only one N-type connector do not switch on the unit.
  {% endhint %}

**Step 1: Scheme connection assembling**

The equipment list required for the lab configuration:

1. Outdoor units - 2 pcs.
2. Power supply - 2 pcs.
3. Power cord - 2 pcs.
4. Ethernet cables - 4 pcs.
5. Laptop with Ethernet port available.

We will perform the settings mentioned below for each unit and check if the wireless link was established correctly.

Use the following instruction to assemble a test scheme:

1. Connect Gigabit Ethernet port at the ODU to the power supply port labeled as "OUT".
2. Connect Ethernet port at the laptop to the power supply port labeled as "IN".
3. Connect the power cord to power supply and plug it to AC mains.

<figure><img src="/files/bsteRBxENd5x7WJ8lYrK" alt=""><figcaption></figcaption></figure>

**Step 2: Access to the device**

Let's access each unit to the default IP address 10.10.10.1 with mask 255.255.255.0 via a web browser. Before, make sure the Ethernet port of the Laptop has an IP address assigned from the same subnetwork as the one for the unit (e.g., set 10.10.10.10 with mask 255.255.255.0).

{% hint style="warning" %}
NOTE

We assume that each unit used in this setup has not been configured before and runs with the factory settings.
{% endhint %}

Use any letters or numbers for the initial authentication on each unit, for example:

* Login: login.
* Password: password.

{% hint style="warning" %}
NOTE

We strongly recommend to change your login and password after the first login.
{% endhint %}

After the first login, let's configure a distinctive name for each unit and set a custom login and password. Go to the Basic Settings section, then to System Settings and configure::

* Device Name (e.g., Master/Slave).
* User Name (e.g., admin).
* Password (e.g., admin).

<figure><img src="/files/HbimkKFFYTVOnL39r6Be" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
NOTE

At the next login set up login and password to access the unit in the privileged mode.
{% endhint %}

**Step 3: Management IP change**

Let's change the management IP of each unit. Go to the "Basic Settings" section, then to Network Settings and change the default IP address of the ‘svi’ interface which is a logical interface used for remote management access in MINT switching mode (MINT switching mode is enabled by default).

Network settings for Master:

<figure><img src="/files/TVnEQJKXcSWvQaI75RzA" alt=""><figcaption></figcaption></figure>

Network settings for Slave:

<figure><img src="/files/1vyxTTFvL1eKgGKveJE2" alt=""><figcaption></figcaption></figure>

**Step 4: Firmware upgrade**

Let's upgrade each unit to the latest stable firmware version. Go to the Maintenance section and click on the "Check Latest Release" button. In case a new software version is available, click on the "Upgrade Firmware" to initiate the firmware upgrade process. Before, make sure the laptop which is connected to the unit has an Internet connection, too. Otherwise, the manual firmware upgrade process should be performed from <https://ftp.astrawireless.net/pub/Firmware>.

<figure><img src="/files/FRNfx8GR2oHU8K9eUCKG" alt=""><figcaption></figcaption></figure>

**Step 5: Radio parameters configuration**

Let's configure the minimum needed radio parameters to establish the link.

At the unit named Master at step #3 above, go to the "Basic Settings" section, then to "Link Settings" and set this unit with:

* Type: Master.
* Tx Power: e.g., -5 dBm (set the minimum value in the range, as currently, we are in the lab, and we don't need high output power anymore).
* Node Name: e.g., Master (it is the same as the value set at Device Name if this was saved before).
* Channel Width: e.g., 80 MHz.
* Frequency: e.g., 6020 MHz.
* Frame size: e.g., 5 ms.

The rest of parameters remain with the default values.

<figure><img src="/files/I4uE2W89t9b77paeH3rf" alt=""><figcaption></figcaption></figure>

At the unit named Slave at step #3 above, go to the Basic Settings section, then to Link Settings and set this unit with:

* Type: Slave.
* Tx Power: e.g., 0 dBm (set the minimum value in the range, as currently, we are in the lab, and we don't need high output power anymore).
* Node Name: e.g., Slave (it is the same as the value set at Device Name if this was saved before).
* Channel Width: e.g., 80 MHz.
* Frequency: e.g., 6020 MHz.

The rest of parameters remain with the default values.

<figure><img src="/files/vdHpOsOI2Ki3H0LjGZ9T" alt=""><figcaption></figcaption></figure>

**Step 6: Check the wireless link status**

Let's apply all settings described above for each unit and after login let's go to the Device Status section, and check the link establishment at Link Statistics.

Link Statistics:

<figure><img src="/files/NsYQVQVVkjPAdtnuDId9" alt=""><figcaption></figcaption></figure>

**Step 7 (optional): Wi-Fi access point configuration**

Configure the Wi-Fi access point. To do this, go to the "Link Settings" - "rf8.0" section and configure the following settings:

In the "Access Point Settings" tab:

* Enable the access point by checking the "Enable AP" box;
* Set a unique SSID;
* Select the desired encryption level;
* Set the network access key;

In the "Main Settings" tab:

* Set the channel width: 20 or 40 MHz;
* Select the frequency channel you plan to use or "Auto" to select the best channel;
* Leave the maximum output power at its default value.

<figure><img src="/files/OjA1uq3l1w47vdFn6Yrt" alt=""><figcaption></figcaption></figure>

Allow device management via a Wi-Fi access point. To do this, go to the "MAC Switch" section and include the "wlan0" interface in the switching group intended for management.

<figure><img src="/files/C6eUUS6X8hZZMtR81ABJ" alt=""><figcaption></figcaption></figure>

On a Wi-Fi-enabled mobile device, find the network with the SSID set in the previous step. For this network, assign a static IP address from the same network as the Astrawireless device's "svi" interface. Set the router address and other settings as shown in the image below.

<figure><img src="/files/xzk127WK15lToZOtzNw1" alt="" width="375"><figcaption></figcaption></figure>

Check access to the device via Wi-Fi network. In the mobile device's web browser, enter the IP address of the Astrawireless device's "svi" interface.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.astrawireless.net/astra-wireless-documentation/technical-documentation/astrawireless-evolution-technical-user-manual/link-pre-configuration-in-the-lab.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
