Setting up Intel Pro 3945 ABG Wireless in CentOS 5
Mine is a Wipro Little Genius laptop, Model WLG7110, with the wireless card being Intel 3945 ABG.
The process involves installing Intel wireless driver iwl3945, Intel iwl3945-firmware, and enabling NetworkManager daemon to use it.
CentOS 5.3 or newer (ie, kernel 2.6.18-128 or newer) includes Intel iwl3945 driver by default. If you have an older version do a system update.
Some modern laptops require firmware to make the wireless network connection work on CentOS. The main reason for this is that wireless device manufacturers do not allow the free redistribution of the firmware that is required to make the device work.
Intel-firmware is available in RPMforge repository and not in default CentOS repositories. If you have not added RPMforge, do it now by installing yum-priorities and RPMforge as detailed in the below two steps.
Install yum-priorities, enable it and setup priorities by following the steps here. Yum priorities is required to prevent package conflicts between CentOS and third party repositories like RPMforge.
Install RPMforge by following these step. Make sure you have done everything correctly.
Then, install the intel wireless firmware by
yum install iwl3945-firmware
Reload the iwl3945 module:
rmmod iwl3945; modprobe iwl3945
Start the NetworkManager.
service NetworkManager start
Now the NetworkManager icon should be shown in the system notification area. Clicking on this icon, should list your wireless network (It may not be shown if you have SSID broadcast disabled in your router).
If it is not listed, there are options to ‘Create a new network’ or ‘Connect to a hidden network‘ in case you have SSID broadcast disabled. You can specify your security settings like WPA/WPA2/WEP etc and other settings like DHCP/StaticIP here. Remember to add DNS info here.
[Please note that you do not need to try using iwconfig, ifup, wpa_supplicant etc etc. NetworkManager will handle all that.]
If things go fine, configure your CentOS system to automatically start the NetworkManager on startup.
chkconfig NetworkManager on
I was able to use WPA2 AES with SSID broadcast disabled.
The wireless LED remain off always. This led me into some troubles initially as i thought things were not working.
That’s all in it!
==================================
Some of the error’s I got,
“SIOCSIFFLAGS: No such file or directory Linux…”
I got this error message whenever i tried ‘ifup wlan0′ ‘iwconfig’ etc. In my case it was because the firmware was not installed. Once the firmware was installed it disappeared. In CentOS you can test whether the firmware is installed successfully by
ls /lib/firmware
This should list a file with name something like iwlwifi-3945-1.ucode
NetworkManager keeps on asking for keyring unlock password. This can be solved by exactly following the steps outlined here.
If i do a iwconfig i get the following error,
“Warning: Driver for device wlan0 recommend version 21 of Wireless Extension,
but has been compiled with version 20, therefore some driver features
may not be available…”
Still have not found out why this happens and how to solve this..
==================================
Sources:
CentOS wiki on laptop wireless – http://wiki.centos.org/HowTos/Laptops/Wireless
