Linux Debian Etch 上安装英特尔公司 PRO/无线 2200BG 网络连接
要在 debian 4.0 etch 上安装 Intel Corporation PRO/Wireless 2200BG 网络连接网络接口,请执行以下步骤:
1)运行命令:
apt-get install module-assistant
2)运行module-assistant,编译并安装ipw2200模块
此时您已经完成了一半,因为您将看到以下错误消息:
ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.1.2kmq
ipw2200: Copyright(c) 2003-2006 Intel Corporation
ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection
ipw2200: ipw2200-bss.fw request_firmware failed: Reason -2
ipw2200: Unable to load firmware: -2
ipw2200: failed to register network device
ipw2200: probe of 0000:02:0b.0 failed with error -5
所以您还需要安装固件。
3) 下载http://ipw2200.sourceforge.net/firmware.php?fid=7 适合您的驱动版本
4)解压文件并将内容复制到/lib/firmware
正确安装的模块和固件将在启动屏幕上或通过 dmesg 生成以下行
ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.2.0mq
ipw2200: Copyright(c) 2003-2006 Intel Corporation
cs: IO port probe 0x100-0x3af: clean.
cs: IO port probe 0x3e0-0x4ff: excluding 0x4d0-0x4d7
cs: IO port probe 0x820-0x8ff: clean.
cs: IO port probe 0xc00-0xcf7: clean.
cs: IO port probe 0xa00-0xaff: clean.
ACPI: PCI Interrupt 0000:06:04.0[A] -> GSI 22 (level, low) -> IRQ 225
ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection
ipw2200: Detected geography ZZD (13 802.11bg channels, 0 802.11a channels)
5)运行命令:
apt-get install wireless-tools
6) 运行 iwconfig,你应该看到类似这样的内容:
eth2 unassociated ESSID:off/any
Mode:Managed Channel=0 Access Point: Not-Associated
Bit Rate:0 kb/s Tx-Power=20 dBm Sensitivity=8/0
Retry limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
7) 现在一切准备就绪,修改 /etc/network/interfaces 文件并添加以下行以使用静态 IP 地址:
auto eth2
iface eth2 inet static
address 10.1.1.7
netmask 255.0.0.0
network 10.0.0.0
broadcast 10.255.255.255
gateway 10.1.1.1
wireless-essid *your essid*
wireless-mode Managed
wireless-key *your key*