# Setup Node

#### Step 1: Clone the Repository

Clone the DWiFi node repository from GitHub:

```bash
git clone https://github.com/NetSepio/erebrus-dwifi.git
```

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

Step 2: Navigate to the Repository Directory

Change into the repository directory:

```bash
cd erebrus-dwifi
```

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

#### Step 3: Build the Project

Build the project using the Go programming language:

```bash
GOOS=linux GOARCH=amd64 go build -o erebrus-dwifi-linux main.go
```

Ensure the build was successful by checking for the output file `erebrus-dwifi-linux`.

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

#### Step 4: Run the DWiFi Node Setup

Run the setup script:

```bash
sudo ./erebrus-dwifi-linux
```

This command requires superuser permissions.

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

#### Step 5: Verify the DWiFi Node is Running

Check the status of the DWiFi node service:

```bash
sudo systemctl status erebrus-dwifi
```

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

#### Step 6: Confirm DWiFi Node Registration

Verify that the DWiFi node has registered successfully by reviewing the output after running the setup script.

<figure><img src="/files/0CyEj33HyhcgeVgxfS1P" alt=""><figcaption></figcaption></figure>

#### Step 7: Verify Node Visibility on Erebrus Explorer

1. Open your web browser and navigate to [Erebrus Explorer](https://erebrus.io/explorer).
2. Select the "DWiFi" option under the "Explorer" section.
3.

```
<figure><img src="/files/aAxzPlPqLKyofG5jSxEn" alt=""><figcaption></figcaption></figure>
```

4. Search for your node using the registration output information.
5. Alternatively, check under the "My Node" section in your profile.
6.

```
<figure><img src="/files/mlTGuJH634G35fhODptM" alt=""><figcaption></figcaption></figure>
```

If your node is visible in both locations, it confirms that the setup is complete and the node is operational


---

# 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://docs.netsepio.com/latest/erebrus/dwifi/setup-node.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.
