Ipw2200

From ThinkWiki
Revision as of 00:39, 17 December 2005 by 84.132.230.187 (Talk) (Installation from sourcecode)
Jump to: navigation, search

Intel PRO/Wireless 2200/2915 Driver for WiFi

Linux driver for the 802.11bg and 802.11abg NICs - miniPCI cards - found in Centrino laptops. This driver only works on 2.6.x kernels (2.6.4 or newer).

The following adapters sold by IBM use these chips:

Project Homepage / Availability

http://ipw2200.sourceforge.net/

Packages

Status

in development, usable, WEP 128bit encryption works, WPA does also work with drivers >= 1.0.2 (beta at the moment, use wpa_supplicant for WPA-functionality), Monitor/RFMon is supported as of 1.0.6 and firmware 2.3!

Current Version: 1.0.8

Firmware Version: 2.4

Generally works well, but some users experience problems (especially with firmware restarts and with WPA functionality with wpa_supplicant); see the discussion page for examples.

For kernels 2.6.13 and newer, the ipw2200 release candidates require an updated IEEE 802.11 subsystem, which can be downloaded from the ieee80211 project page.

Installation from sourcecode

Download the latest ieee80211 module and install it:

# tar xzvf ieee80211-1.1.6.tgz
# cd ieee80211-1.1.6
# make
# make install

Download the latest ipw2200 module and install it:

# tar xzvf ipw2200-1.0.8.tgz
# cd ipw2200-1.0.8
# make
# make install

Download the matching firmware and install it:

# tar xzvf ipw2200-fw-2.4.tgz -C /lib/firmware

Installation on Debian

Install ieee80211-source

# apt-get install ieee80211-source
# module-assistant -t build ieee80211-source

Install ipw2200-source

# apt-get install ipw2200-source
# module-assistant -t build ipw2200-source

There is a bug in the debian package (last checked: Dec 17th 2005) that prevents from linking to ieee80211 modules using module-assistant. In case it is not fixed in your version, fall back to the regular source installation procedure described above.

The firmware is not distributed with debian due to licensing reasons, download the matching firmware and install it:

# tar xzvf ipw2200-fw-2.4.tgz -C /lib/hotplug/firmware

see /etc/hotplug/firmware.agent for details on configured firmware locations

Test

# modprobe ipw2200
# iwconfig

dmesg output might look similar to this:

# ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.0.8
# ipw2200: Copyright(c) 2003-2005 Intel Corporation
# ipw2200: Detected Intel PRO/Wireless 2915ABG Network Connection

Power Management

To enable power management, issue:
# iwpriv wlan0 set_power 7
where wlan0 is the name if your interface. This will reduce idle power consumption by several Watts compared to no power management.

To disable the radio (and further reduce power consumption) when the card is not in used, issue:
# echo 1 > /sys/bus/pci/drivers/ipw2200/*/rf_kill
To enable the radio, issue:
# echo 0 > /sys/bus/pci/drivers/ipw2200/*/rf_kill
To make the radio off by default after boot, add

options ipw2200 disable=1

to your /etc/modprobe.conf or equivalent.

See README.ipw2200 in the ipw2200 package for details and other options.

Additional Comments

Your kernel may include an old version of the ipw2200 driver. It is recommended to use the latest version.

Make sure you also install the firmware version needed by the driver version you use. You can find the firmware here. To install it, decompress the .tgz file into /lib/firmware.

The driver doesn't appear to support MII interface, so any tools like automatic network configuration managers ( whereami ) that rely on mii-tool do not work.