Difference between revisions of "Intel WiFi Link 5100/5300 WLAN controller"

From ThinkWiki
Jump to: navigation, search
(Wifi 5100 with Debian)
Line 44: Line 44:
 
See http://ubuntu-virginia.ubuntuforums.org/showpost.php?p=5710211&postcount=4
 
See http://ubuntu-virginia.ubuntuforums.org/showpost.php?p=5710211&postcount=4
  
= debian with kernel 2.6.28 =
+
= Debian with kernel 2.6.28 =
 +
 
 +
== Get the Microcode ==
 +
 
 +
Download the iwlifi-5000 tarball with microcode (firmware) from:
 +
* [http://www.intellinuxwireless.org/?n=downloads IntelLinuxWireless ]
 +
 
 +
Extract the contents of the tarball:
 +
 
 +
<pre>tar xzf iwlwifi-5000-ucode-5.4.A.11.tar.gz</pre>
 +
(this filename could be different)
 +
 
 +
And copy the microcode file to /lib/firmware:
 +
 
 +
<pre>sudo cp ./iwlwifi-5000-ucode-5.4.A.11/iwlwifi-5000-1.ucode /lib/firmware</pre>
 +
(the directory name extracted from tarball could be different as well)
 +
 
 +
== Add repository ==
 +
 
 
Add the following line to your /etc/apt/sources.list :
 
Add the following line to your /etc/apt/sources.list :
  
''deb http://kernel-archive.buildserver.net/debian-kernel trunk main''
+
<pre>deb http://kernel-archive.buildserver.net/debian-kernel trunk main</pre>
 +
 
 +
== Install linux-image-2.6.28-1-686 ==
 +
 
 +
Execute:
  
Then execute:
+
<pre>sudo apt-get update</pre>
  
''sudo apt-get update''
+
<pre>sudo apt-get install linux-image-2.6.28-1-686</pre>
  
''sudo apt-get install linux-image-2.6.28-1-686''
+
== If you need the headers ==
  
Finally, if you need linux-headers-2.6.28-1-686, for instance to install propietary ATI drivers, then you'll have to satisfy the dependency of linux-kbuild-2.6.28. This package is not in the repositories, but you can build it by yourself following the instructions at:
+
Finally, if you need linux-headers-2.6.28-1-686, for instance to install propietary ATI drivers, then you'll have to satisfy the dependency of linux-kbuild-2.6.28. This package is not in the repositories, but you can build it yourself following the instructions at:
  
 
* [http://wiki.debian.org/HowToRebuildAnOfficialDebianKernelPackage Debian Wiki]
 
* [http://wiki.debian.org/HowToRebuildAnOfficialDebianKernelPackage Debian Wiki]

Revision as of 20:18, 3 February 2009

Models and Distros

Models: T500, T400; Distros: sidux

Kernel 2.6.27-rc5 (as a patched kernel 2.6.26)

download linux kernel 2.6.26

download linux kernel prepatch 2.6.27-rc5

(http://kernel.org/pub/linux/kernel/v2.6/testing/patch-2.6.27-rc5.bz2)

make menuconfig

Device Drivers => Network device surppot => wireless LAN

CONFIG_WLAN_80211=y

CONFIG_IWLWIFI=y

CONFIG_IWLCORE=y

CONFIG_IWLWIFI_LEDS=y

CONFIG_IWLWIFI_RFKILL=y

CONFIG_IWLWIFI_DEBUG=y

CONFIG_IWLAGN=y

CONFIG_IWLAGN_SPECTRUM_MEASUREMENT=y

CONFIG_IWLAGN_LEDS=y

CONFIG_IWL5000=y

make && make modules_install

cp arch/i386/boot/bzImage /boot/kernel-2.6.27-rc5

install wpa_supplicant

now enjoy your new wireless card :)

alternative if you want to use your stock < 2.6.27 Kernel

See http://ubuntu-virginia.ubuntuforums.org/showpost.php?p=5710211&postcount=4

Debian with kernel 2.6.28

Get the Microcode

Download the iwlifi-5000 tarball with microcode (firmware) from:

Extract the contents of the tarball:

tar xzf iwlwifi-5000-ucode-5.4.A.11.tar.gz

(this filename could be different)

And copy the microcode file to /lib/firmware:

sudo cp ./iwlwifi-5000-ucode-5.4.A.11/iwlwifi-5000-1.ucode /lib/firmware

(the directory name extracted from tarball could be different as well)

Add repository

Add the following line to your /etc/apt/sources.list :

deb http://kernel-archive.buildserver.net/debian-kernel trunk main

Install linux-image-2.6.28-1-686

Execute:

sudo apt-get update
sudo apt-get install linux-image-2.6.28-1-686

If you need the headers

Finally, if you need linux-headers-2.6.28-1-686, for instance to install propietary ATI drivers, then you'll have to satisfy the dependency of linux-kbuild-2.6.28. This package is not in the repositories, but you can build it yourself following the instructions at:

See section "How to build linux-kbuild-2.6 yourself"


sidux 2008-03

See How to install Intel Device 4236 under sidux 2008-03 (Ουρέα) for more info.

Further resources and information