How to install Intel Device 4236 under sidux 2008-03 (Ουρέα)

From ThinkWiki
Jump to: navigation, search


Setup on: 2008-11-22. Sidux Kernel 2.6.27 comes with the needed configuration only the firmware microcode is missing. Until this code is not integrated into the nonfree package firmware-iwlwifi there is need to copy it by hand (see below).

Hint:
If the iwlwifi-5000 microcode is migrated into the firmware-iwlwifi package (currently on the wishlist), then you can try as root to apt-get update && apt-get install firmware-iwlwifi
Hint:
New versions of the microcode might be available on the Wireless WiFi Link drivers for Linux page by Intel in the download section.

This installation has been done on a T500 Modell 2082-52G. The listing of PCI-Devices in sidux told that the device is named Intel Device 4236. On the lenovo website the Device is called Intel 802.11agn wireless. On the ThinkWiki website the Device is called Intel WiFi Link 5100/5300 WLAN controller. The modprobe name is iwlagn.

NOTE!
ThinkPad R60 radio switch in the ON position
Some ThinkPads have a hardware switch that must be in the on position for the radio to work, regardless of driver state.

Hardware Installation

  1. Update to 2.6.27 Kernel
    # apt-get update && apt-get install linux-image-2.6-sidux-686 linux-headers-2.6-sidux-686
  2. Get the Firmware microcode from the Intel Website
    $ wget http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-5000-ucode-5.4.A.11.tar.gz and unpack it
    $ tar -zxvf iwlwifi-5000-ucode-5.4.A.11.tar.gz
  3. Copy the Microcode into the firmware dirctory
    /lib/firmware/
    for example by
    # cp iwlwifi-5000-1.ucode /lib/firmware/
  4. Reload the Kernel Module
    # modprobe -r iwlagn && modprobe iwlagn
  5. Done.

Test of Hardware Installation

  1. Interface should be in the list now:
    $ nicinfo
  2. Scan for Networks, this should work now:
    # iwlist scanning

Usage Example: Establish a WLAN link with ceni

  1. Update ceni with wpagui # apt-get update && apt-get install ceni wpagui
  2. Start ceni # ceni
  3. Configure Wlan Interface within ceni
  4. Select scan or roam.
    1. With scan you should see wireless networks and be able to connect to them.
    2. With roamif you want to use wpa_gui or wpa_cli later on for scanning and establishing a link.
  5. If you can not select scan or roam in ceni, then remove the configuration of the wlan interface first and try again.

Additional Notes

  1. $ dmesg
  2. missing iwlwifi-4965-2.ucode report and discussion on launchpad