02:00.0 Network controller: Intel Corporation Wireless WiFi Link 5100
Add the Debian Backports repository to /etc/apt/sources.list
deb http://www.backports.org/debian lenny-backports main contrib non-free
Update the list of available packages and install the debian-backports-keyring package.
# apt-get update
# apt-get -t lenny-backports install debian-backports-keyring
As your system does not yet have the GnuPG archive key of the backports.org repository installed, you will be asked to confirm installation of a package from an untrusted repository. Enter Yes when prompted.
Install a 2.6.30 kernel image appropriate for your system, along with the firmware-iwlwifi and wireless-tools packages.
# apt-get update# apt-get -t lenny-backports install linux-image-2.6.30-bpo.1-$(uname -r | sed 's,.*-,,g') firmware-iwlwifi wireless-tools
Restart your system and boot with the newly installed kernel, and the necessary kernel module should be automatically loaded.
As the new kernel was booting I noticed it made mention to that the microcode was out of date. To fix this problem simply download the new microcode from Intel Wireless WiFi Link Drivers for Linux.
wget -c http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-5000-ucode-22.214.171.124.tgz
Uncompress the microcode
tar xvf iwlwifi-5000-ucode-126.96.36.199.tgz
Now all we need to do is to change into the directory of where the microcode is and then copy it to /lib/firmware
# cd iwlwifi-5000-ucode-188.8.131.52/
# cp iwlwifi-5000-2.ucode /lib/firmware/
Restart your system and the newly added microcode will be loaded and used.