Translation(s): none


Realtek RTL8188CE, RTL8188SU, RTL8191SU, RTL8192CE, RTL8192E, RTL8192SU, RTL8192U devices

This page describes how to enable support for WiFi devices based on Realtek 802.11n chipsets on Debian systems.

Drivers

r8712u, rtl8192ce, rtl8192e, rtl8192su and rtl8192u are drivers for Realtek 802.11n wireless LAN chipsets, included in the mainline Linux kernel.

The produced kernel modules are:

Non-free firmware is required, which can be provided by installing the firmware-realtek package. Firmware must be installed prior to device operation. RTL8192U and RTL8188CE/RTL8192CE firmware is currently not packaged (588142, 613536).

<!> r8712u, rtl8192e, rtl8192su and rtl8192u are staging drivers and only available for the x86 and x86-64 architectures (Debian i386 and AMD64 ports respectively) at this time.

{i} Realtek 802.11b/g devices are supported by different drivers.

Installation

Squeeze

  1. Add a "non-free" component to /etc/apt/sources.list, for example:

    # Debian Squeeze/6.0
    deb http://ftp.us.debian.org/debian squeeze main contrib non-free
  2. Update the list of available packages and install the firmware-realtek and wireless-tools packages:

    # aptitude update
    # aptitude install firmware-realtek wireless-tools

    Firmware is required to be supplied for RTL8192U-based devices:

    # aptitude install unzip && exit
    $ wget ftp://ftp.dlink.com/Wireless/dwa130_revC/Drivers/dwa130_revC_drivers_linux_006.zip
    $ unzip dwa130_revC_drivers_linux_006.zip
    $ su
    # mkdir -p /usr/local/lib/firmware/RTL8192U
    # cp rtl8192u_linux_2.6.0006.1031.2008/firmware/RTL8192U/* /usr/local/lib/firmware/RTL8192U
  3. If not already performed, connect the device to your system.
  4. The necessary kernel module should be automatically loaded. If necessary, it can be manually loaded via either:

    # modprobe r8192_pci

    or

    # modprobe r8192s_usb

    or

    # modprobe r8192u_usb
  5. Verify your device has an available interface:

    # iwconfig
  6. Configure your wireless interface as appropriate.

Lenny

  1. Add the Debian Backports repository to /etc/apt/sources.list, also including the "non-free" component. For example:

    # Backported packages for Debian Lenny/5.0
    deb http://backports.debian.org/debian-backports lenny-backports main contrib non-free
  2. Update the list of available packages:

    # aptitude update
  3. Install a Linux 2.6.32 kernel image appropriate for your system, along with the lenny-backports/firmware-realtek and wireless-tools packages. For example:

    # aptitude -t lenny-backports install linux-image-$(uname -r|sed 's,[^-]*-[^-]*-,,') firmware-realtek wireless-tools

    Firmware is required to be supplied for RTL8192U-based devices:

    # aptitude install unzip && exit
    $ wget ftp://ftp.dlink.com/Wireless/dwa130_revC/Drivers/dwa130_revC_drivers_linux_006.zip
    $ unzip dwa130_revC_drivers_linux_006.zip
    $ su
    # mkdir -p /usr/local/lib/firmware/RTL8192U
    # cp rtl8192u_linux_2.6.0006.1031.2008/firmware/RTL8192U/* /usr/local/lib/firmware/RTL8192U
  4. Restart your system and boot with the newly installed kernel. If not already performed, connect the device to your system.
  5. The necessary kernel module should be automatically loaded. If necessary, it can be manually loaded via either:

    # modprobe r8192_pci

    or

    # modprobe r8192s_usb

    or

    # modprobe r8192u_usb
  6. Verify your device has an available interface:

    # iwconfig
  7. Configure your wireless interface as appropriate.

Wheezy

  1. Add a "non-free" component to /etc/apt/sources.list, for example:

    # Debian Wheezy (testing)
    deb http://ftp.us.debian.org/debian wheezy main contrib non-free
  2. Update the list of available packages and install the firmware-realtek and wireless-tools packages:

    # aptitude update
    # aptitude install firmware-realtek wireless-tools

    Firmware is required to be supplied for RTL8192U-based devices:

    # aptitude install unzip && exit
    $ wget ftp://ftp.dlink.com/Wireless/dwa130_revC/Drivers/dwa130_revC_drivers_linux_006.zip
    $ unzip dwa130_revC_drivers_linux_006.zip
    $ su
    # mkdir -p /usr/local/lib/firmware/RTL8192U
    # cp rtl8192u_linux_2.6.0006.1031.2008/firmware/RTL8192U/* /usr/local/lib/firmware/RTL8192U

    Firmware is required to be supplied for RTL8188CE/RTL8192CE-based devices:

    $ aptitude install git && exit
    $ git clone git://git.kernel.org/pub/scm/linux/kernel/git/dwmw2/linux-firmware.git
    $ su
    # mkdir -p /usr/local/lib/firmware/rtlwifi
    # cp linux-firmware/rtlwifi/rtl8192cfw.bin /usr/local/lib/firmware/rtlwifi
  3. If not already performed, connect the device to your system.
  4. The necessary kernel module should be automatically loaded. If necessary, it can be manually loaded via either:

    # modprobe r8712u

    or

    # modprobe r8192e_pci

    or

    # modprobe r8192u_usb

    or

    # modprobe rtl8192ce
  5. Verify your device has an available interface:

    # iwconfig
  6. Configure your wireless interface as appropriate.

Supported Devices

r8192_pci / r8192e_pci

The page HowToIdentifyADevice/PCI explains how to identify a PCI device.

The following list is based on the alias fields of modinfo r8192_pci in Debian 2.6.32 (2.6.32-30) kernel images.

r8192s_usb

The page HowToIdentifyADevice/USB explains how to identify a USB device.

The following list is based on the alias fields of modinfo r8192s_usb in Debian 2.6.32 (2.6.32-30) kernel images.

r8192u_usb

The page HowToIdentifyADevice/USB explains how to identify a USB device.

The following list is based on the alias fields of modinfo r8192u_usb in Debian 2.6.32 (2.6.32-30) kernel images.

r8712u

The page HowToIdentifyADevice/USB explains how to identify a USB device.

The following list is based on the alias fields of modinfo r8712u in Debian 2.6.38 (2.6.38-3) kernel images.

rtl8192ce

The page HowToIdentifyADevice/PCI explains how to identify a PCI device.

The following list is based on the alias fields of modinfo rtl8192ce in Debian 2.6.38 (2.6.38-3) kernel images.

See Also


CategoryHardware | CategoryWireless