> 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/ja/hacking-wifi/basic-concepts.md).

# 基本概念

無線セキュリティノートのための基本的な WiFi とネットワーク概念。

これらの概念は、インターフェース、アダプター、ネットワークアドレスを扱います。対象範囲内のWiFiネットワークを分析する前に、これらを使用してください。

### ネットワークインターフェース

使用する `ifconfig` 利用可能なネットワークインターフェースを一覧表示するために使用します。

```bash
ifconfig
```

`ens33` はローカルネットワークインターフェースです。プライベートIPアドレスを持つことができます。

`wlx00c0cabd0890` は、テスト時に使用されるワイヤレスアダプターです。この出力はモニターモードを示しています:

```bash
wlx00c0cabd0890  IEEE 802.11  モード:Monitor  周波数:2.484 GHz  送信電力=6 dBm
          再試行の短い上限:7   RTSしきい値:off   フラグメントしきい値:off
          電源管理:off
```

<figure><img src="https://2001299964-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>

### ネットワークアダプター

ワイヤレスアダプターはモニターモードをサポートしている必要があります。これがないと、WiFiテストは動作しません。

### パブリックIPアドレスとプライベートIPアドレス

プライベートIPは、ローカルネットワーク内のデバイスを識別します。パブリックIPは、インターネット接続を識別します。

デバイスに割り当てられているローカルIPアドレスを確認します:

```bash
hostname -I
```

<figure><img src="https://2001299964-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>

以下でパブリックIPアドレスを確認します:

```bash
curl ifconfig.me
```

### MACアドレス

MACアドレスはネットワークインターフェースを識別します。ハードウェア識別子として機能します。

MACアドレスはスプーフィングによって変更できます。スプーフィング活動は、承認済みのデバイスと文書化されたテストに結び付けてください。

次のコマンドでインターフェースのMACアドレスを確認します `macchanger`:

```bash
macchanger -s wlx00c0cabd0890
```

<figure><img src="https://2001299964-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/ja/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.
