Configuring the iwlwifi module for Intel 3945ABG and 4965ABG wireless controllers in CentOS and RHEL 5

Author(s)

Bill Giannikos

Introduction

This guide will help you configure the latest iwlwifi module 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 module

With the latest kernel release all that we need to install is the firmware. 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* *80211*” 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* *80211*

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-4965-ucode iwlwifi-3945-ucode

9. Now configure the ieee80211 module to start at boot:

cp -a /lib/firmware/iwlwifi-4965.ucode /lib/firmware/iwlwifi-4965-1.ucode
cp -a /lib/firmware/iwlwifi-3945.ucode /lib/firmware/iwlwifi-3945-1.ucode

10. Reboot your system and you will be using the updated iwlwifi module.


Discussion

helikaon, 2008/12/08 01:00

Same problem like Duncan wrote … CentOS 5.2, all updated.
[root@orionis network-scripts]# uname -a
Linux orionis 2.6.18-92.1.18.el5 #1 SMP Wed Nov 12 09:19:49 EST 2008 x86_64 x86_64 x86_64 GNU/Linux

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_led_tx

Bill Giannikos, 2008/12/10 00:51

The guide has been updates. You can try it now. The issue was that Red Hat now include the iwlwifi driver in their latest kernel.

You will need to uninstall the old packages for this to work:

yum remove iwlwifi* mac80211*
Don, 2008/11/14 09:07

Missing Dependency Problem

I tried the above steps and I am having a Missing Dependencies problem. I have been looking around and have tried the skip-broken plugin but I am still having the problem. Can anyone help?

Here is what I see
$ sudo yum –skip-broken install iwlwifi iwlwifi-kmdl-`uname -r`
Loading “fastestmirror” plugin
Loading “priorities” plugin
Loading “skip-broken” plugin
Loading mirror speeds from cached hostfile

  • atrpms: dl.atrpms.net
  • rpmforge: apt.sw.be
  • updates: centos-distro.cavecreek.net
  • addons: centos.cs.wisc.edu


Excluding Packages from EL 5 - i386 - ATrpms
Finished
Reducing EL 5 - i386 - ATrpms to included packages only
Finished
323 packages excluded due to repository priority protections
Setting up Install Process
Parsing package install arguments
No package iwlwifi-kmdl-2.6.18-92.1.18.el5 available.
Resolving Dependencies

# Checking packages for dependency problems
# Checking for dep problems : iwlwifi - 1.2.0-19.el5.i386

–> Running transaction check
–> Processing Dependency: iwlwifi-kmdl-1.2.0-19.el5 for package: iwlwifi
–> Running transaction check
–> Processing Dependency: iwlwifi-4965-ucode >= 4.44.1.18 for package: iwlwifi-kmdl-2.6.18-8.1.15.el5
–> Processing Dependency: /boot/vmlinuz-2.6.18-8.1.15.el5 for package: iwlwifi-kmdl-2.6.18-8.1.15.el5
–> Processing Dependency: iwlwifi-3945-ucode >= 2.14.1.5 for package: iwlwifi-kmdl-2.6.18-8.1.15.el5
–> Processing Dependency: mac80211-kmdl-2.6.18-8.1.15.el5 >= 10.0.0 for package: iwlwifi-kmdl-2.6.18-8.1.15.el5
–> Running transaction check
–> Processing Dependency: /boot/vmlinuz-2.6.18-8.1.15.el5 for package: mac80211-kmdl-2.6.18-8.1.15.el5
–> Processing Dependency: /boot/vmlinuz-2.6.18-8.1.15.el5 for package: iwlwifi-kmdl-2.6.18-8.1.15.el5
–> Finished Dependency Resolution

# Failed
# Missing Dependency: /boot/vmlinuz-2.6.18-8.1.15.el5 is needed by package iwlwifi-kmdl-2.6.18-8.1.15.el5
# Missing Dependency: /boot/vmlinuz-2.6.18-8.1.15.el5 is needed by package mac80211-kmdl-2.6.18-8.1.15.el5
# Packages with dependency resolving errors
# iwlwifi - 1.2.0-19.el5.i386
# 2
# 2
# End Checking packages for dependency problems

GT, 2008/06/05 21:12

Problem

The same problem even after I installed ieee80211

Tony, 2008/04/21 21:24

Same problem.

Duncan, 2008/03/11 07:36

This didn't work for me unfortunately. CentOS 5.1, all updates from today.

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 :(

Enter your comment. Wiki syntax is allowed:
If you can't read the letters on the image, download this .wav file to get them read to you.
 
configuring_the_iwlwifi_module_for_intel_3945abg_and_4965abg_wireless_controllers_in_centos_and_rhel_5.txt · Last modified: 2009/02/12 03:49 by billg
Contact Us Sister Sites Privacy Policy Terms of Use
Copyright © 2006-2013 Linlap.com and other authors