Skip to main content

Quick Start

Using the Controller

A configuration file is required to start the controller. Use the provided example configuration (controller-config.example.yaml).

sudo npctrl -c controller-config.example.yaml up

Open your browser and go to:

http://localhost:8769

And to stop the controller, run:

sudo npctrl down

Using the Client

Run the following command to start NanoPing:

sudo np up

Open your browser and go to:

http://localhost:8081

And to stop NanoPing, run:

sudo np down

Connecting a Client to the Controller

Ensure both the controller and the client are running, then authenticate the client with:

sudo np authenticate-by-request http://localhost:8769

Replace http://localhost:8769 with the actual controller address.

To approve the authentication request, run:

sudo npctrl -c controller-config.example.yaml authentication-requests

A list of pending authentication requests will be displayed. Select the client and press ENTER to approve the request.