Register | Login 

EDIMAX EW-7811UN (WiFi, USB, 150 Mbit/s, 802.11n)

Network 802.11n, Edimax, Network, USB, Wireless / WiFi, WLAN

EDIMAX EW-7811UN (WiFi, USB, 150 Mbit/s, 802.11n)
Linux compatibility:Only the Linux compatibility is rated on this page, not the general quality of the product. If you use this product with Linux, please rate it and share your experience in the comment area of this page (bottom) to support other Linux users.
4 votes, average: 3.50 out of 54 votes, average: 3.50 out of 54 votes, average: 3.50 out of 54 votes, average: 3.50 out of 54 votes, average: 3.50 out of 5
  ( 3.5 with 4 ratings)

Price: $ 4.99 (on stock)
(without shipping costs) Prices provided by Amazon do not include shipping costs that might be due depending on product and Amazon Marketplace supplier.

 Buy from Amazon.com


Price trend
EDIMAX EW-7811UN 
-
Minimum: $ 3.99 
Maximum: $ 11.99  
Updated: 25/10/2014 08:14

Review of Linux Compatibility

The Edimax EW-7811UN USB Wireless adapter has the USB ID 7392:7811 and is fully supported since Ubuntu 11.10. The stick can be used with WPA2 encryption and 802.11n. The device is also shipped with different branding, although the hardware is identical. The following devices are identical to the Edimax EW-7811UN:

  • Edimax EW-7811GLn, EW-7811Un, EW-7811UWn, GWU-H811GLn
  • Airlink101 AWLL5088
  • Sitecom WL-365
  • GETNET GN-521U

The device is identified by the following output of lsusb:

Bus 001 Device 003: ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n
                    Wireless Adapter [Realtek RTL8188CUS]

The USB stick uses the Realtek RTL8188CUS chipset, which is supported by the kernel module rtl8192cu. This module is included in the kernel since version >= 3.0 and will be loaded automatically:

rtl8192cu             103210  0
rtl8192c_common        75767  1 rtl8192cu
rtlwifi               110972  1 rtl8192cu
mac80211              310872  3 rtl8192cu,rtl8192c_common,rtlwifi
 *-network
       description: Wireless interface
       physical id: 1
       bus info: usb@1:2
       logical name: wlan0
       capabilities: ethernet physical wireless
       configuration: broadcast=yes driver=rtl8192cu
                      driverversion=3.0.0-12-generic firmware=N/A link=no
                      multicast=yes wireless=IEEE 802.11bgn

The following log message will be provided by the kernel, if the driver gets loaded:

rtl8192cu: MAC address: 00:11:22:33:44:55
rtl8192cu: Board Type 0
rtl8192cu: rx_max_size 15360, rx_urb_num 8, in_ep 1
rtl8192cu: MAC auto ON okay!
rtl8192cu: Tx queue select: 0x05
rtl8192c: Loading firmware file rtlwifi/rtl8192cufw.bin

Realtek Module 8192cu

If the EW-7811UN stick is used with older distributions it might be necessary to use the Edimax original drivers together with NdisWrapper.
Furthermore, one can use the original Realtek drivers. If the Realtek driver is used instead of the module which is part of the standard kernel, the automatic loading of the kernel module has to be inhibited. To achieve this, the rtl8192cu driver provided by the standard kernel has to be blacklisted in the file /etc/modprobe.d/blacklist.conf by adding the following line:

blacklist rtl8192cu

The module from the Realtek homepage is called 8192cu and has to be compiled by hand. Under Ubuntu compilation will need the build-essentials to be installed:

sudo apt-get install build-essential

Compilation will be achieved by the install script that is part of the downloaded file:

sudo sh install.sh

The compiled driver can be loaded by the command

sudo modprobe 8192cu

Due to a bug in the power management of the 8192cu driver the connection can drop if the device is set to power save mode. This can be seen in the log files:

rtl8192c_dm_RF_Saving(): RF_Normal
rtl8192c_set_FwPwrMode_cmd(): Mode = 1, SmartPS = 2
rtw_set_ps_mode(): Busy Traffic , Leave 802.11 power save..
rtl8192c_set_FwPwrMode_cmd(): Mode = 0, SmartPS = 0
rtl8192c_dm_RF_Saving(): RF_Save
rtw_set_ps_mode(): Enter 802.11 power save mode...

To prevent the power save mode one has to add the following module options in the file /etc/modprobe.d/8192cu.conf:

options 8192cu rtw_power_mgnt=0 rtw_enusbss=0

Similar Linux Hardware

 Comments

3 Responses to “EDIMAX EW-7811UN (WiFi, USB, 150 Mbit/s, 802.11n)”

  • Colin says:

    I’ve been having problems with this particular adapter in Pinguy 12.04 (Ubuntu derivative), disconnecting and reconnecting to my BT router at random, sometimes staying stable for hours at a time, sometimes disconnecting in minutes or seconds. Signal strength was reported as 67%. Browsing the internet whilst downloading a (legal) torrent made it deauthenticate 8 times out of 10. Searching for the error codes made me suspect it is not limited to this chipset.

    I tried applying the fix given in the article, creating the line in a new 8192cu.conf when I didn’t find it. No change.

    dmesg output:
    [73883.592489] wlan0: authenticate with 00:21:04:ca:a2:02 (try 1)
    [73883.594801] wlan0: authenticated
    [73883.594940] wlan0: associate with 00:21:04:ca:a2:02 (try 1)
    [73883.598296] wlan0: RX ReassocResp from 00:21:04:ca:a2:02 (capab=0x431 status=0 aid=1)
    [73883.598300] wlan0: associated
    [73910.315588] wlan0: deauthenticated from 00:21:04:ca:a2:02 (Reason: 6)
    [73910.357086] cfg80211: All devices are disconnected, going to restore regulatory settings
    [73910.357094] cfg80211: Restoring regulatory settings
    [73910.357100] cfg80211: Calling CRDA to update world regulatory domain
    [73910.361893] cfg80211: Ignoring regulatory request Set by core since the driver uses its own custom regulatory domain
    [73910.361898] cfg80211: World regulatory domain updated:
    [73910.361901] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
    [73910.361905] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    [73910.361909] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
    [73910.361913] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
    [73910.361917] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    [73910.361921] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    [73911.184531] wlan0: authenticate with 00:21:04:ca:a2:02 (try 1)
    [73911.384022] wlan0: authenticate with 00:21:04:ca:a2:02 (try 2)
    [73911.584021] wlan0: authenticate with 00:21:04:ca:a2:02 (try 3)
    [73911.784024] wlan0: authentication with 00:21:04:ca:a2:02 timed out
    [73917.032451] wlan0: authenticate with 00:21:04:ca:a2:02 (try 1)
    [73917.035578] wlan0: authenticated
    [73917.035719] wlan0: associate with 00:21:04:ca:a2:02 (try 1)
    [73917.039075] wlan0: RX AssocResp from 00:21:04:ca:a2:02 (capab=0x431 status=0 aid=1)
    [73917.039080] wlan0: associated
    [74711.010087] wlan0: deauthenticated from 00:21:04:ca:a2:02 (Reason: 6)

    This page lists the different deauthentication codes: http://www.aboutcher.co.uk/2012/07/linux-wifi-deauthenticated-reason-codes/

    I have been receiving reason=6 (Client attempted to transfer data before it was authenticated) and reason=3 (The access point went offline, deauthenticating the client), the former more than the latter.

    It seems to be a problem with Wicd and authentication, as outlined here: https://bbs.archlinux.org/viewtopic.php?id=70094

    And worked around here 3 years later: https://bbs.archlinux.org/viewtopic.php?id=146052

    Archlinux’s wiki strongly recommends disabling all other network manager daemons before using wicd, and the fixes above (removing wicd, reverting to a previous initscript, upgrading to systemd) suggest the root cause is a daemon conflict.

    Fixes: Disabling security on the access point altogether appears to work, as does using netcfg on the command line to configure the connection and/or removing wicd. Ensuring there is only one network daemon would be something to try as well.

    Will attempt to connect with commandline and report back.

    Curious. There is no wicd, or netcfg, only network-manager and… network? Output of service –status-all:
    [ ? ] acpi-support
    [ ? ] acpid
    [ ? ] alsa-restore
    [ ? ] alsa-store
    [ ? ] anacron
    [ - ] apparmor
    [ ? ] apport
    [ ? ] atd
    [ ? ] avahi-daemon
    [ ? ] binfmt-support
    [ ? ] bluetooth
    [ - ] bootlogd
    [ - ] brltty
    [ - ] casper
    [ ? ] console-setup
    [ ? ] cron
    [ ? ] cryptdisks
    [ ? ] cryptdisks-early
    [ ? ] cryptdisks-enable
    [ ? ] cryptdisks-udev
    [ ? ] cups
    [ ? ] dbus
    [ ? ] dmesg
    [ ? ] dns-clean
    [ ? ] friendly-recovery
    [ ? ] gdm
    [ ? ] gnomeshell-hacks
    [ ? ] granola
    [ - ] grub-common
    [ ? ] hostname
    [ ? ] hwclock
    [ ? ] hwclock-save
    [ ? ] irqbalance
    [ - ] kerneloops
    [ ? ] killprocs
    [ - ] lm-sensors
    [ ? ] modemmanager
    [ ? ] module-init-tools
    [ ? ] network-interface
    [ ? ] network-interface-container
    [ ? ] network-interface-security
    [ ? ] network-manager
    [ ? ] networking
    [ ? ] nmbd
    [ ? ] ondemand
    [ ? ] passwd
    [ ? ] plymouth
    [ ? ] plymouth-log
    [ ? ] plymouth-ready
    [ ? ] plymouth-splash
    [ ? ] plymouth-stop
    [ ? ] plymouth-upstart-bridge
    [ ? ] pppd-dns
    [ ? ] preload
    [ ? ] procps
    [ ? ] ps3mediaserver
    [ - ] pulseaudio
    [ ? ] rc.local
    [ ? ] rc~
    [ ? ] resolvconf
    [ ? ] rfkill-restore
    [ ? ] rfkill-store
    [ - ] rsync
    [ ? ] rsyslog
    [ + ] saned
    [ ? ] sendsigs
    [ ? ] setvtrgb
    [ ? ] smbd
    [ ? ] speech-dispatcher
    [ - ] stop-bootlogd
    [ - ] stop-bootlogd-single
    [ ? ] sudo
    [ ? ] ubiquity
    [ ? ] udev
    [ ? ] udev-fallback-graphics
    [ ? ] udev-finish
    [ ? ] udevmonitor
    [ ? ] udevtrigger
    [ ? ] ufw

    Output of sudo initctl list:
    avahi-daemon start/running, process 1211
    mountall-net stop/waiting
    nmbd start/running, process 2633
    passwd stop/waiting
    rc stop/waiting
    rsyslog start/running, process 1193
    tty4 start/running, process 1302
    udev start/running, process 441
    upstart-udev-bridge start/running, process 436
    ureadahead-other stop/waiting
    apport start/running
    console-setup stop/waiting
    hwclock-save stop/waiting
    irqbalance start/running, process 1352
    plymouth-log stop/waiting
    smbd start/running, process 1132
    tty5 start/running, process 1309
    failsafe stop/waiting
    hybrid-gfx stop/waiting
    modemmanager start/running, process 1181
    rfkill-store stop/waiting
    atd start/running, process 1354
    dbus start/running, process 1158
    ecryptfs-utils-restore stop/waiting
    mounted-var stop/waiting
    plymouth stop/waiting
    resolvconf start/running
    udev-fallback-graphics stop/waiting
    control-alt-delete stop/waiting
    hwclock stop/waiting
    mounted-proc stop/waiting
    network-manager start/running, process 1197
    alsa-store stop/waiting
    module-init-tools stop/waiting
    setvtrgb stop/waiting
    shutdown stop/waiting
    alsa-restore stop/waiting
    cron start/running, process 1353
    gdm start/running, process 1356
    mountall stop/waiting
    mounted-debugfs stop/waiting
    binfmt-support stop/waiting
    console stop/waiting
    mounted-run stop/waiting
    acpid start/running, process 1351
    bluetooth start/running, process 1183
    plymouth-stop stop/waiting
    rcS stop/waiting
    ufw start/running
    wait-for-state stop/waiting
    flush-early-job-log stop/waiting
    friendly-recovery stop/waiting
    gnomeshell-hacks stop/waiting
    rc-sysinit stop/waiting
    ubiquity stop/waiting
    cups start/running, process 1220
    upstart-socket-bridge start/running, process 957
    anacron stop/waiting
    tty2 start/running, process 1316
    udevtrigger stop/waiting
    container-detect stop/waiting
    mounted-dev stop/waiting
    tty3 start/running, process 1317
    udev-finish stop/waiting
    cryptdisks-udev stop/waiting
    hostname stop/waiting
    mountall-reboot stop/waiting
    mountall-shell stop/waiting
    mounted-tmp stop/waiting
    network-interface (lo) start/running
    network-interface (eth0) start/running
    network-interface (wlan0) start/running
    plymouth-ready stop/waiting
    plymouth-splash stop/waiting
    plymouth-upstart-bridge stop/waiting
    ps3mediaserver stop/waiting
    tty1 start/running, process 1627
    udevmonitor stop/waiting
    cryptdisks-enable stop/waiting
    dmesg stop/waiting
    network-interface-security (network-manager) start/running
    network-interface-security (network-interface/eth0) start/running
    network-interface-security (network-interface/wlan0) start/running
    network-interface-security (network-interface/lo) start/running
    network-interface-security (networking) start/running
    networking stop/waiting
    procps stop/waiting
    rfkill-restore stop/waiting
    tty6 start/running, process 1319
    ecryptfs-utils-save stop/waiting
    network-interface-container stop/waiting
    ureadahead stop/waiting
    zramswap stop/waiting

  • Xyzzy says:

    It’d be helpful to let users know which versions of the most common ‘parent’ distros — Debian, Fedora, OpenSUSE — it became supported in. That way, the Ubuntu crowd *and* most of the Linux users that rely on another distro. (I’m fairly sure that if you add up the users of all non-Ubuntu distros, you get a larger number than *just* Ubuntu & its descendants…)

    • LHG-Team says:

      We normally try to give information for all common distributions including Debian, Fedora, and OpenSUSE. However, since Ubuntu is the most popular one, details for non-Ubuntu distros are often harder to find. Therefore, the data base often looks very Ubuntu centric although this is not our intention. If possible, we try to define compatibility based on kernel versions and not distributions because this information is more universal.

Please use the comment section to submit corrections to the article as well as relevant excerpts of lspci, lsusb, lshw, dmesg e.t.c. Furthermore, use the section for the exchange of experiences with this hardware component or search for configuration help from other owners of this hardware.
 

Email address will not be published.

Rate Linux compatibility


Use the following HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>


Allowed file types: txt, jpg, png, gif, maximum file size: 2MB.


Designed by elogi