> 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/wpa-wpa2-psk-network-attacks/fundamentals/configuring-the-wireless-card-in-monitor-mode.md).

# 無線カードをモニターモードで設定する

モニターモードで無線アダプタを準備、有効化、検証、復元する。

承認済みのワイヤレスアダプターでこのワークフローを使用してください。モニターモードはアダプターの通常のネットワーク接続を妨げる可能性があります。

{% hint style="warning" %}
`airmon-ng check kill` 接続性に影響する可能性のあるサービスを停止します。先に作業中の内容を保存してください。
{% endhint %}

### 1. ワイヤレスインターフェースを特定する

利用可能なネットワークインターフェースを一覧表示します:

```bash
ip a
```

ワイヤレスアダプター名を特定します。この例では `wlx00c0cabd0890`.

<figure><img src="https://2001299964-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2FaisiDxOMMALGyrGhFLRo%2F%7BF180DED4-9062-458B-9DFB-5D5196146768%7D.png?alt=media&amp;token=372d4fc7-8909-497b-9c85-22493fa4b9db" alt=""><figcaption></figcaption></figure>

### 2. 競合するプロセスを停止する

モニターモードに干渉する可能性のあるサービスを停止します:

```bash
airmon-ng check kill
```

これにより NetworkManager が停止し、システムが WiFi から切断されることがあります。

### 3. モニターモードを有効にする

選択したアダプターでモニターモードを開始します:

```bash
airmon-ng start wlx00c0cabd0890
```

このツールはモニター用インターフェースを作成または名称変更する場合があります。固定の名前だと決めつけないでください。

<figure><img src="https://2001299964-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2FhAIEEcZMiyaQtT97tHAe%2F%7B55CCC10D-F432-46AB-BF0D-893F699207CC%7D.png?alt=media&amp;token=9d48c036-e91c-4fd0-b5d7-69ae8939daca" alt=""><figcaption></figcaption></figure>

### 4. インターフェースを確認する

アダプターが次の内容を報告していることを確認します `Mode:Monitor`:

```bash
iwconfig

ifconfig wlan0mon up
```

<figure><img src="https://2001299964-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2F4FBnwvB4EcPCS0EXsKc4%2F%7B27671677-BF7E-4C46-AF64-BE6EC0F964B4%7D.png?alt=media&amp;token=59a6033a-5e35-4d7b-837d-4f9924d7f3b1" alt=""><figcaption></figcaption></figure>

後続のラボ課題では、出力に表示されたモニター用インターフェース名を使用してください。

### 5. 通常の動作に戻す

評価が終わったらモニターモードを停止します。 `wlan0mon` を次のインターフェース名に置き換えてください:

```bash
airmon-ng stop wlan0mon
```

通常のネットワーク管理を復元するために NetworkManager を再起動します:

```bash
sudo systemctl restart NetworkManager
```

接続が戻らない場合は、再起動後に NetworkManager 経由で再接続してください。


---

# 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/wpa-wpa2-psk-network-attacks/fundamentals/configuring-the-wireless-card-in-monitor-mode.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.
