Edimax EW-7811Un working - almost!

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Iirijkg

Edimax EW-7811Un working - almost!

Post by Iirijkg »

So I installed Linux Mint 14, cinnamon x64 and quickling noticed an issue: The wifi dongle was picking up my wireless router, but not able to successfully connect. I spent a few days logging back and forth between my dual boot, trying this and that and the other. Due to my newness with linux, I was unable to successfully install the driver I pulled directly from the Edimax website. A bit more digging, however, allowed me to navigate through to the Realtek website where I grabbed the newest driver.

I followed some more instructions, but shifted them up a bit. Eseentially, I saw that the drivers were runnning (but obviously not working) so I closed them, installed the new driver, and everything worked like a charm. Until I rebooted.

Now, in order to get the wireless to work, I have to jump into the terminal and do the following:

iiri@JKGIIRI ~ $ lsmod | grep 8192
rtl8192cu 67616 0
rtl8192c_common 48779 1 rtl8192cu
rtlwifi 74705 1 rtl8192cu
mac80211 539908 3 rtl8192cu,rtl8192c_common,rtlwifi
iiri@JKGIIRI ~ $ sudo modprobe 8192cu
[sudo] password for iiri:
WARNING: /etc/modprobe.d/rt2800usb.conf line 1: ignoring bad line starting with 'sudo'
FATAL: Error inserting 8192cu (/lib/modules/3.5.0-17-generic/kernel/drivers/net/wireless/8192cu.ko): Device or resource busy

(I figured out that I couldn't start the new driver while the two others that I had shut down innitially were running, so I shut them down)

iiri@JKGIIRI ~ $ sudo rmmod -f rtl8192cu
iiri@JKGIIRI ~ $ sudo rmmod -f rtl8192c_common
iiri@JKGIIRI ~ $ lsmod | grep 8192
iiri@JKGIIRI ~ $ sudo modprobe 8192cu

WARNING: /etc/modprobe.d/rt2800usb.conf line 1: ignoring bad line starting with 'sudo'


And again, all is right in the world, and I have internet.

What can I do to either automate this process on startup, or fix the issue?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
agm8036

Re: Edimax EW-7811Un working - almost!

Post by agm8036 »

I know that you have an outstanding question in your post. Unfortunately, I cannot help you. Instead I am seeking assistance from you.

After reading your post, if you consider yourself a newbie, I'm still in the womb! I am new to Linux. Up to this point, I've been able to stumble through and resolve most of my issues (which have all been created by me).

Anyway – I have an Edimax EW-7811Un. I've downloaded the Realtek Linux driver, filename... RTL8192xC_USB_linux_v3.4.4_4749.20121105.zip
(Linux Kernel 2.6.18~2.6.38 and Kernel 3.0.8 – v3.4.4_4749 – dated 2012/11/12)

I was hoping it was going to be simple install using GDebi Package Installer; however, no such luck.

The more I google searched and read about installing this device driver, the more confused I got.

I was relieved to see your post listing what I think are post-installation terminal commands.

Can you point me to a resource that will help me do the initial driver installation?? I'm hoping that it would be simple instruction – a Realtek Linux Driver Installation For Dummies, if you will.

And if I ever get to the point of installing the Realtek driver and using the USB dongle, do you think that my internal NIC card will still be seen by the system or will it disappear, never to be seen again?

I am running Mint Maya 32-bit. I'm hoping the instruction for your configuration will work on mine.

Thanks in advance for your time and help.
User avatar
Catchpole
Level 4
Level 4
Posts: 349
Joined: Sat Dec 24, 2011 4:15 am
Location: Leeds UK

Re: Edimax EW-7811Un working - almost!

Post by Catchpole »

Hi Iirijkg,

I am thinking of using the Edimax usb wifi and have been having a look around.
It appears that there is a driver within the dongle for windows and the operating system sees this first before the wifi.
This post about the Pi seemed to point to the fix by using usb_modeswitch.
bigcowpi.blogspot.co.uk/2013/03/raspberry-pi-as-3g-huawei-e303-wireless.html

I've not tried it yet but perhaps you can figure it out from there.
If you find a fix, please re-post for the benefit of all.
Desktop Computer:
Motherboard = Gigabyte GA-H61M-USB3V
CPU = Intel i3-3240 3.4GHz
Monitor = BENQ BL2411PT rev 00-012-AL
Mint 21.3 Virginia "Mate desktop" (64bit)
Memory = 12GB
Sam234

Re: Edimax EW-7811Un working - almost!

Post by Sam234 »

Iirijkg wrote:So I installed Linux Mint 14, cinnamon x64 and quickling noticed an issue: The wifi dongle was picking up my wireless router, but not able to successfully connect....
Have you tried blacklisting the bad drivers by editing blacklist.conf ?

I.e sudo gedit /etc/modprobe.d/blacklist.conf

(replace gedit with your preferred text editor)
At the end of the file add the line:

blacklist rtl8192cu

If the correct driver will still not auto-start, edit etc/modules adding 8192cu on a new line
elavnave

Re: Edimax EW-7811Un working - almost!

Post by elavnave »

If anyone is still searching for this answer (this particular post shows up first when you search "7811un linux mint"), here it is.

Download the driver in the form of a zip file from the Edimax website. Their download section is current, robust, and contains linux drivers for this device. It unzips as a folder, and you will see a file called 'install.sh' in the root of the recently-unzipped folder. Right-click the install.sh file and choose 'properties'. Go to the permissions tab and check the box for 'allow executing file as program'. Once that box is ticked, close the properties window. Now just double-click install.sh and choose 'Run in Terminal'.

It will make you put in your root password anywhere from 2-5 times depending which version of Mint you are running. It removes the bad driver that OP was talking about and installs a working one over top of it. It just plain works. I like this company. I have gotten this to work very easily on Mint 13 and 17, though it does not work "out of the box."

(Edited to enhance clarity and noob-friendliness.)
HankB

Re: Edimax EW-7811Un working - almost!

Post by HankB »

I was happy to read out how easy the drivers would be to install. Unfortunately it turns out to be not so easy any more.

I just downloaded EW-7811UTC_Linux_driver_1.0.1.6.zip and unzipped it. I found no install.sh. There is a tarball and a directory with some files including a Makefile. No README or anything that hinted at how to use it so I just typed make. The result was:

Code: Select all

make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/3.13.0-24-generic/build M=/home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517  modules
make[1]: Entering directory `/usr/src/linux-headers-3.13.0-24-generic'
  CC [M]  /home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/core/rtw_cmd.o
  CC [M]  /home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/core/rtw_security.o
  CC [M]  /home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/core/rtw_debug.o
  CC [M]  /home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/core/rtw_io.o
  CC [M]  /home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/core/rtw_ioctl_query.o
  CC [M]  /home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/core/rtw_ioctl_set.o
  CC [M]  /home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/core/rtw_ieee80211.o
  CC [M]  /home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/core/rtw_mlme.o
  CC [M]  /home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/core/rtw_mlme_ext.o
  CC [M]  /home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/core/rtw_wlan_util.o
  CC [M]  /home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/core/rtw_vht.o
  CC [M]  /home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/core/rtw_pwrctrl.o
  CC [M]  /home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/core/rtw_rf.o
  CC [M]  /home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/core/rtw_recv.o
  CC [M]  /home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/core/rtw_sta_mgt.o
  CC [M]  /home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/core/rtw_ap.o
  CC [M]  /home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/core/rtw_xmit.o
  CC [M]  /home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/core/rtw_p2p.o
  CC [M]  /home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/core/rtw_tdls.o
  CC [M]  /home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/core/rtw_br_ext.o
  CC [M]  /home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/core/rtw_iol.o
  CC [M]  /home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/core/rtw_sreset.o
  CC [M]  /home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/core/efuse/rtw_efuse.o
  CC [M]  /home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/osdep_service.o
  CC [M]  /home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.o
/home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c: In function ‘rtw_proc_init_one’:
/home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:352:3: error: implicit declaration of function ‘create_proc_entry’ [-Werror=implicit-function-declaration]
   rtw_proc=create_proc_entry(rtw_proc_name, S_IFDIR, init_net.proc_net);
   ^
/home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:352:11: warning: assignment makes pointer from integer without a cast [enabled by default]
   rtw_proc=create_proc_entry(rtw_proc_name, S_IFDIR, init_net.proc_net);
           ^
/home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:359:3: error: implicit declaration of function ‘create_proc_read_entry’ [-Werror=implicit-function-declaration]
   entry = create_proc_read_entry("ver_info", S_IFREG | S_IRUGO, rtw_proc, proc_get_drv_version, dev);
   ^
/home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:359:9: warning: assignment makes pointer from integer without a cast [enabled by default]
   entry = create_proc_read_entry("ver_info", S_IFREG | S_IRUGO, rtw_proc, proc_get_drv_version, dev);
         ^
/home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:370:21: warning: assignment makes pointer from integer without a cast [enabled by default]
   padapter->dir_dev = create_proc_entry(dev->name,
                     ^
/home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:401:8: warning: assignment makes pointer from integer without a cast [enabled by default]
  entry = create_proc_read_entry("write_reg", S_IFREG | S_IRUGO,
        ^
/home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:407:7: error: dereferencing pointer to incomplete type
  entry->write_proc = proc_set_write_reg;
       ^
/home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:409:8: warning: assignment makes pointer from integer without a cast [enabled by default]
  entry = create_proc_read_entry("read_reg", S_IFREG | S_IRUGO,
        ^
/home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:415:7: error: dereferencing pointer to incomplete type
  entry->write_proc = proc_set_read_reg;
       ^
/home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:418:8: warning: assignment makes pointer from integer without a cast [enabled by default]
  entry = create_proc_read_entry("fwstate", S_IFREG | S_IRUGO,
        ^
/home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:426:8: warning: assignment makes pointer from integer without a cast [enabled by default]
  entry = create_proc_read_entry("sec_info", S_IFREG | S_IRUGO,
        ^
/home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:434:8: warning: assignment makes pointer from integer without a cast [enabled by default]
  entry = create_proc_read_entry("mlmext_state", S_IFREG | S_IRUGO,
        ^
/home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:442:8: warning: assignment makes pointer from integer without a cast [enabled by default]
  entry = create_proc_read_entry("qos_option", S_IFREG | S_IRUGO,
        ^
/home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:449:8: warning: assignment makes pointer from integer without a cast [enabled by default]
  entry = create_proc_read_entry("ht_option", S_IFREG | S_IRUGO,
        ^
/home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:456:8: warning: assignment makes pointer from integer without a cast [enabled by default]
  entry = create_proc_read_entry("rf_info", S_IFREG | S_IRUGO,
        ^
/home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:463:8: warning: assignment makes pointer from integer without a cast [enabled by default]
  entry = create_proc_read_entry("ap_info", S_IFREG | S_IRUGO,
        ^
/home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:470:8: warning: assignment makes pointer from integer without a cast [enabled by default]
  entry = create_proc_read_entry("adapter_state", S_IFREG | S_IRUGO,
        ^
/home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:477:8: warning: assignment makes pointer from integer without a cast [enabled by default]
  entry = create_proc_read_entry("trx_info", S_IFREG | S_IRUGO,
        ^
/home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:484:8: warning: assignment makes pointer from integer without a cast [enabled by default]
  entry = create_proc_read_entry("mac_reg_dump1", S_IFREG | S_IRUGO,
        ^
/home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:491:8: warning: assignment makes pointer from integer without a cast [enabled by default]
  entry = create_proc_read_entry("mac_reg_dump2", S_IFREG | S_IRUGO,
        ^
/home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:498:8: warning: assignment makes pointer from integer without a cast [enabled by default]
  entry = create_proc_read_entry("mac_reg_dump3", S_IFREG | S_IRUGO,
        ^
/home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:505:8: warning: assignment makes pointer from integer without a cast [enabled by default]
  entry = create_proc_read_entry("bb_reg_dump1", S_IFREG | S_IRUGO,
        ^
/home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:512:8: warning: assignment makes pointer from integer without a cast [enabled by default]
  entry = create_proc_read_entry("bb_reg_dump2", S_IFREG | S_IRUGO,
        ^
/home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:519:8: warning: assignment makes pointer from integer without a cast [enabled by default]
  entry = create_proc_read_entry("bb_reg_dump3", S_IFREG | S_IRUGO,
        ^
/home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:526:8: warning: assignment makes pointer from integer without a cast [enabled by default]
  entry = create_proc_read_entry("rf_reg_dump1", S_IFREG | S_IRUGO,
        ^
/home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:533:8: warning: assignment makes pointer from integer without a cast [enabled by default]
  entry = create_proc_read_entry("rf_reg_dump2", S_IFREG | S_IRUGO,
        ^
/home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:542:9: warning: assignment makes pointer from integer without a cast [enabled by default]
   entry = create_proc_read_entry("rf_reg_dump3", S_IFREG | S_IRUGO,
         ^
/home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:549:9: warning: assignment makes pointer from integer without a cast [enabled by default]
   entry = create_proc_read_entry("rf_reg_dump4", S_IFREG | S_IRUGO,
         ^
/home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:559:8: warning: assignment makes pointer from integer without a cast [enabled by default]
  entry = create_proc_read_entry("all_sta_info", S_IFREG | S_IRUGO,
        ^
/home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:577:8: warning: assignment makes pointer from integer without a cast [enabled by default]
  entry = create_proc_read_entry("best_channel", S_IFREG | S_IRUGO,
        ^
/home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:585:8: warning: assignment makes pointer from integer without a cast [enabled by default]
  entry = create_proc_read_entry("rx_signal", S_IFREG | S_IRUGO,
        ^
/home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:591:7: error: dereferencing pointer to incomplete type
  entry->write_proc = proc_set_rx_signal;
       ^
/home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:593:8: warning: assignment makes pointer from integer without a cast [enabled by default]
  entry = create_proc_read_entry("ht_enable", S_IFREG | S_IRUGO,
        ^
/home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:599:7: error: dereferencing pointer to incomplete type
  entry->write_proc = proc_set_ht_enable;
       ^
/home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:601:8: warning: assignment makes pointer from integer without a cast [enabled by default]
  entry = create_proc_read_entry("bw_mode", S_IFREG | S_IRUGO,
        ^
/home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:607:7: error: dereferencing pointer to incomplete type
  entry->write_proc = proc_set_bw_mode;
       ^
/home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:609:8: warning: assignment makes pointer from integer without a cast [enabled by default]
  entry = create_proc_read_entry("ampdu_enable", S_IFREG | S_IRUGO,
        ^
/home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:615:7: error: dereferencing pointer to incomplete type
  entry->write_proc = proc_set_ampdu_enable;
       ^
/home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:617:8: warning: assignment makes pointer from integer without a cast [enabled by default]
  entry = create_proc_read_entry("rx_stbc", S_IFREG | S_IRUGO,
        ^
/home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:623:7: error: dereferencing pointer to incomplete type
  entry->write_proc = proc_set_rx_stbc;
       ^
/home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:626:8: warning: assignment makes pointer from integer without a cast [enabled by default]
  entry = create_proc_read_entry("path_rssi", S_IFREG | S_IRUGO,
        ^
/home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:629:8: warning: assignment makes pointer from integer without a cast [enabled by default]
  entry = create_proc_read_entry("rssi_disp", S_IFREG | S_IRUGO,
        ^
/home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:635:7: error: dereferencing pointer to incomplete type
  entry->write_proc = proc_set_rssi_disp;
       ^
/home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:647:8: warning: assignment makes pointer from integer without a cast [enabled by default]
  entry = create_proc_read_entry("sreset", S_IFREG | S_IRUGO,
        ^
/home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:653:7: error: dereferencing pointer to incomplete type
  entry->write_proc = proc_set_sreset;
       ^
/home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c: At top level:
/home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:1031:2: warning: initialization from incompatible pointer type [enabled by default]
  .ndo_select_queue = rtw_select_queue,
  ^
/home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.c:1031:2: warning: (near initialization for ‘rtw_netdev_ops.ndo_select_queue’) [enabled by default]
cc1: some warnings being treated as errors
make[2]: *** [/home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517/os_dep/linux/os_intfs.o] Error 1
make[1]: *** [_module_/home/hbarta/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.13.0-24-generic'
make: *** [modules] Error 2
hbarta@cypress:~/Downloads/EW-7811UTC_Linux_driver_1.0.1.6/rtl8812AU_8821AU_linux_v4.2.2_7502.20130517$ 
:(

Edit: Tried the instructions here and the device is working. http://blog.danielscrivano.com/installi ... -adapters/
elavnave

Re: Edimax EW-7811Un working - almost!

Post by elavnave »

HankB wrote:I was happy to read out how easy the drivers would be to install. Unfortunately it turns out to be not so easy any more.

I just downloaded EW-7811UTC_Linux_driver_1.0.1.6.zip and unzipped it. I found no install.sh. There is a tarball and a directory with some files including a Makefile. No README or anything that hinted at how to use it so I just typed make. The result was:

Edit: Tried the instructions here and the device is working. http://blog.danielscrivano.com/installi ... -adapters/
HankB, this post was about the EW-7811Un, not the EW-7811UTC. The drivers for the 7811Un on the Edimax website do indeed have a install.sh which is able to be executed. The driver for the 7811Un is on version 1.0.0.5 and has been since late 2012. I'm glad you found a solution.
Locked

Return to “Hardware Support”