> For the complete documentation index, see [llms.txt](https://hacking-notes.jord4n.pro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hacking-notes.jord4n.pro/hacking-wifi/basic-concepts.md).

# Basic Concepts

Basic WiFi and networking concepts for wireless security notes.

These concepts cover interfaces, adapters, and network addresses. Use them before analyzing an in-scope WiFi network.

### Network interfaces

Use `ifconfig` to list the available network interfaces.

```bash
ifconfig
```

`ens33` is a local network interface. It can have a private IP address.

`wlx00c0cabd0890` is the wireless adapter used during testing. This output shows monitor mode:

```bash
wlx00c0cabd0890  IEEE 802.11  Mode:Monitor  Frequency:2.484 GHz  Tx-Power=6 dBm
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
```

<figure><img src="https://131707722-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2FJFKrfUitq8W9Yz7gtglJ%2F%7B2801BCE5-0F22-4E7B-B24D-29AF801133FA%7D.png?alt=media&amp;token=5896176c-985d-451c-9f3a-b739bc81f740" alt=""><figcaption></figcaption></figure>

### Network adapters

The wireless adapter must support monitor mode. Without it, WiFi testing will not work.

### Public and private IP addresses

A private IP identifies devices inside a local network. A public IP identifies the Internet connection.

Check the local IP addresses assigned to the device:

```bash
hostname -I
```

<figure><img src="https://131707722-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2FY5IDNzsjBkKatqAE4nsr%2F%7BC5ECE368-0E3A-47B0-928C-7227ED26AF45%7D.png?alt=media&amp;token=1e9af9de-3616-407e-b67c-fb8119c53a65" alt=""><figcaption></figcaption></figure>

Check the public IP address with:

```bash
curl ifconfig.me
```

### MAC addresses

A MAC address identifies a network interface. It acts as a hardware identifier.

A MAC address can be changed through spoofing. Keep spoofing activity tied to approved devices and documented tests.

Check an interface's MAC address with `macchanger`:

```bash
macchanger -s wlx00c0cabd0890
```

<figure><img src="https://131707722-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2FsysE9MiC62A1FzTxHq1Q%2F%7B3664A5D1-636A-4BB3-B9BA-C99FE5DEDB65%7D.png?alt=media&amp;token=c4826d73-387a-4e15-951a-7f9d91cc0d5c" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://hacking-notes.jord4n.pro/hacking-wifi/basic-concepts.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
