Configuring the iwlwifi driver for Intel 3945ABG and 4965ABG wireless controllers in CentOS and RHEL 5
Created by: Bill Giannikos,Last modification on Fri 08 of Feb, 2008 [14:37 UTC]
If the guide here does not cover what you were looking for you can view the guides section for coverage of other distributions.
Author
Bill Giannikos (bill2 at giannikos.com.au)www.billgiannikos.com
Introduction
This guide will help you configure the latest iwlwifi driver for the Intel 3945ABG and 4965ABG wireless controllers under CentOS and Red Hat Enterprise Linux 5. For those that don't know, CentOS 5 and Red Hat Enterprise Linux 5 are basically the same thing just with a different name so this guide applies to both.Notes
We will be using 'nano' as our text editor of choice but you can use whatever you wish.Prerequisites
You should run a full update for your installation to ensure you have all the latest packages installed.Installing the latest iwlwifi driver
We will be using the ATrpms repository.1. Load up a terminal window if you are in the graphic interface.
2. Switch to the root user by entering the command "su -" (without the quotes) and typing in your root password
3. Edit the file /etc/yum.conf. Using nano we type the command "nano -w /etc/yum.conf"
4. If you have already configured yum to use the ATrpms repository then append "*iwlwifi* *mac80211*" to the end of the "includepkgs" line and skip the next setup. Otherwise continue on.
5. Add the following to the bottom of this file:
[atrpms]
name=EL $releasever - $basearch - ATrpms
baseurl=http://dl.atrpms.net/el$releasever-$basearch/atrpms/stable
gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms
gpgcheck=1
enabled=1
exclude=*kmdl*i586*
includepkgs=*iwlwifi* *mac80211*
name=EL $releasever - $basearch - ATrpms
baseurl=http://dl.atrpms.net/el$releasever-$basearch/atrpms/stable
gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms
gpgcheck=1
enabled=1
exclude=*kmdl*i586*
includepkgs=*iwlwifi* *mac80211*
6. Save the file. In nano you press Ctrl-X, answer yes to the "Save modified buffer" question and then press enter on the file name to write.
7. If you have not previously setup ATrpms execute the following command:
rpm --import http://ATrpms.net/RPM-GPG-KEY.atrpms
8. Now execute the following command:
yum install iwlwifi iwlwifi-kmdl-`uname -r`
9. Reboot your system and you will be using the updated iwlwifi driver.

Comments
Problem
mac80211: no version for "struct_module" found: kernel tainted.
mac80211: Unknown symbol ieee80211_led_rx
mac80211: Unknown symbol ieee80211_led_exit
mac80211: Unknown symbol ieee80211_led_init
mac80211: Unknown symbol ieee80211_radiotap_iterator_init
mac80211: Unknown symbol ieee80211_radiotap_iterator_next
mac80211: Unknown symbol ieee80211_led_tx
iwl3945: Unknown symbol sta_info_put
I wonder if I have to compile my own kernel :(