# Wireless Networking

## Configuring WiFi, System Hostname, Username or Password <a href="#configuring-wifi-system-hostname-username-or-password" id="configuring-wifi-system-hostname-username-or-password"></a>

### Configuring WiFi on NavQPlus <a href="#configuring-wifi-on-navqplus" id="configuring-wifi-on-navqplus"></a>

To connect NavQPlus to a WiFi network, use the `nmcli` command. The interface is relatively straightforward, to connect with `nmcli`, run the following command:

```bash
sudo nmcli device wifi connect <network_name> password "<password>"
```

If struggling to connect to a network, see if it is visible by running:

```
sudo nmcli device wifi list
```

Once connected to the WiFi network the NavQPlus will continue to connect to that network even after a reboot.\ <br>

## About nmcli

The netowork connections will be saved and NavQPlus will automotically connect to these networks when they are present. Note that the priority of connections can be set as well as removing connections. For more information see the nmcli linux command.\
<https://manpages.ubuntu.com/manpages/noble/en/man1/nmcli.1.html>

### What wifi network is the NavQPlus currently connected to?

To see what Wifi network the NavQPlus is currently connected to run without `sudo`:

`nmcli device wifi list`

Or if running with `sudo` it will be the network preceeded with a star.

### Connecting to NavQPlus over WiFi <a href="#connecting-to-navqplus-over-wifi" id="connecting-to-navqplus-over-wifi"></a>

Once setup to connect over a local WiFi network, SSH into the NavQPlus over WiFi by running:

```bash
ssh <username>@<hostname>.local
```

Or depending on network setup:

```bash
ssh <username>@<hostname>
```


---

# 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://nxp.gitbook.io/navqplus/navqplus-user-guide/quickstart/wireless-networking.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.
