> For the complete documentation index, see [llms.txt](https://book.bsdcn.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://book.bsdcn.org/man/man4/ipw.4.md).

# ipw\.4

`ipw` — Intel PRO/Wireless 2100 IEEE 802.11a/b 驱动

## 名称

`ipw`

## 概要

要将此驱动编译进内核，请在内核配置文件中加入以下行：

> device ipw device ipwfw device pci device wlan device firmware

或者，要在引导时以模块形式加载该驱动，请在 loader.conf(5) 中加入以下行：

```sh
if_ipw_load="YES"
```

无论哪种情况，请在 loader.conf(5) 中加入以下行以确认接受固件许可（见下文）：

```sh
legal.intel_ipw.license_ack=1
```

## 描述

`ipw` 驱动为 Intel PRO/Wireless 2100 802.11a/b 无线网络设备提供支持，可在 `station`、`adhoc` 和 `monitor` 模式下运行。任何时候只能配置一个虚拟接口。

此驱动需要使用 `ipwfw` 模块构建的固件才能工作。要启用已加载固件的使用，必须通过在 loader.conf(5) 中加入以下行来同意 **/usr/share/doc/legal/intel\_ipw\.LICENSE** 中的许可：

```sh
legal.intel_ipw.license_ack=1
```

有关配置此设备的更多信息，请参见 [ifconfig(8)](/man/man8/ifconfig.8.md)。

## 硬件

`ipwfw` 驱动支持 Intel PRO/Wireless 2100a/b MiniPCI 网络适配器。

## 文件

**`/usr/share/doc/legal/intel_ipw.LICENSE`** `ipwfw` 固件许可

## 实例

加入现有 BSS 网络（即连接到接入点）：

```sh
ifconfig wlan create wlandev ipw0 inet 192.0.2.20/24
```

加入网络名称为 `my_net` 的特定 BSS 网络：

```sh
ifconfig wlan create wlandev ipw0 ssid my_net up
```

加入使用 64 位 WEP 加密的特定 BSS 网络：

```sh
ifconfig wlan create wlandev ipw0 ssid my_net e
    wepmode on wepkey 0x1234567890 weptxkey 1 up
```

加入使用 128 位 WEP 加密的特定 BSS 网络：

```sh
ifconfig wlan create wlandev ipw0 wlanmode adhoc ssid my_net e
    wepmode on wepkey 0x01020304050607080910111213 weptxkey 1
```

## 诊断

* ipw%d: device timeout 驱动将重置硬件。这不应发生。
* ipw%d: firmware error 板载微控制器因某种原因崩溃。驱动将重置硬件。这不应发生。
* ipw%d: timeout waiting for firmware initialization to complete 板载微控制器未能在时间内初始化。这不应发生。
* ipw%d: could not load firmware image '%s' 驱动无法使用 [firmware(9)](https://github.com/FreeBSD-Ask/freebsd-man-sc/blob/main/man9/firmware.9.md) 子系统加载固件映像。验证 [ipwfw(4)](/man/man4/ipwfw.4.md) 固件模块已安装且许可协议 [loader(8)](/man/man8/loader.8.md) 可调参数已设置。
* ipw%d: could not load microcode 尝试将微代码映像上传到板载微控制器失败。这不应发生。
* ipw%d: could not load firmware 尝试将固件映像上传到板载微控制器失败。这不应发生。

## 参见

[ipwfw(4)](/man/man4/ipwfw.4.md), [pci(4)](/man/man4/pci.4.md), [wlan(4)](/man/man4/wlan.4.md), [wlan\_ccmp(4)](/man/man4/wlan_ccmp.4.md), [wlan\_tkip(4)](/man/man4/wlan_tkip.4.md), [wlan\_wep(4)](/man/man4/wlan_wep.4.md), [networking(7)](/man/man7/networking.7.md), [ifconfig(8)](/man/man8/ifconfig.8.md), wpa\_supplicant(8)

## 作者

原始 `ipwfw` 驱动由 Damien Bergamini <damien.bergamini@free.fr> 编写。


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://book.bsdcn.org/man/man4/ipw.4.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
